• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Obsidian FORWARD email problem.

Alberto Pizzarelli

Basic Pleskian
good morning,
I installed 2 VPS with Centos 7 and Obisidian, and on both I had the same problem with postfix


The problem is created when an email is forwarded to another external address, I disabled selinux, and I can't find a solution, even using the "plesk Repair mail"

This is maillog:
Oct 17 07:06:48 hetz08 postfix/pipe[8183]: 0AF3F601B1: to=<[email protected]>, relay=plesk_virtual, delay=206, delays=205/0.04/0/0.26, dsn=4.3.0, status=deferred (temporary failure. Command output: fork_execv: execv("/usr/sbin/sendmail") failed: Permission denied 4.2.1 Message can not be delivered at this time )

Do any of you have an idea? I think it's a bug.

Thankyou advance.
 
Try to set correct file permissions for postfix-sendmail-wrapper:

# chmod 4555 /usr/lib64/plesk-9.0/postfix-sendmail-wrapper

and then resend differed emails:

# postqueue -f
 
What is the output of commands:

# ls -l /etc/alternatives/mta

# stat /usr/lib64/plesk-9.0/postfix-sendmail-wrapper

?
 
[root@hetz08 postfix]# ls -l /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 16 ott 14.28 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix

root@hetz08 postfix]# ls -al /usr/sbin/sendmail.postfix
lrwxrwxrwx. 1 root root 46 16 ott 14.30 /usr/sbin/sendmail.postfix ->

[root@hetz08 postfix]# ls -al /usr/lib64/plesk-9.0/sendmail/sendmail.postfix
-rwsr-xr-x. 1 root root 296720 4 set 09.19 /usr/lib64/plesk-9.0/sendmail/sendmail.postfix


root@hetz08 postfix]# stat /usr/lib64/plesk-9.0/sendmail/sendmail.postfix
File: "/usr/lib64/plesk-9.0/sendmail/sendmail.postfix"
Dim.: 296720 Blocchi: 584 Blocco di IO: 4096 file regolare
Device: 801h/2049d Inode: 18596 Coll.: 1
Accesso: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Accesso : 2019-10-17 08:38:57.894790283 +0200
Modifica : 2019-09-04 09:19:58.000000000 +0200
Cambio : 2019-10-17 08:38:47.169487985 +0200
Creazione: -

[root@hetz08 postfix]# stat /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
File: "/usr/lib64/plesk-9.0/postfix-sendmail-wrapper"
Dim.: 110480 Blocchi: 216 Blocco di IO: 4096 file regolare
Device: 801h/2049d Inode: 131755 Coll.: 1
Accesso: (4555/-r-sr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Accesso : 2019-10-02 07:54:12.000000000 +0200
Modifica : 2019-10-02 07:54:12.000000000 +0200
Cambio : 2019-10-17 07:41:47.330260608 +0200
Creazione: -
 
[root@hetz08 postfix]# ls -l /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 16 ott 14.28 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix

On my test Plesk Obsidian server on CentOS7 I see:

[root@ppu18-0 ~]# ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 45 Oct 17 13:20 /etc/alternatives/mta -> /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
 
incredible confirms that it is a BUG of the installation, deleting the link and recreating it with the correct wrapper, it works.

then:

1 - rm -f /etc/alternatives/mta
2 - ln -s /usr/lib64/plesk-9.0/postfix-sendmail-wrapper /etc/alternatives/mta

thankyou very much for support, but if you can send this to support installation.
 
incredible confirms that it is a BUG of the installation, deleting the link and recreating it with the correct wrapper, it works.
I can confirm this bug

Product version: Plesk Obsidian 18.0.20.1
OS version: CentOS 7.7.1908 x86_64
Build date: 2019/10/29 11:00
Revision: cede5c2f772cca93eed88629f2a221a3f6c92896

# ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 26 Nov 2 21:22 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
# ls -l /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
-rwsr-xr-x 1 root root 110480 Oct 29 05:43 /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
# rm -f /etc/alternatives/mta
# ln -s /usr/lib64/plesk-9.0/postfix-sendmail-wrapper /etc/alternatives/mta
 
Same problem after update to:
Plesk Obsidian Version 18.0.20 Update #2

I created a daily cron with
rm -f /etc/alternatives/mta && ln -s /usr/lib64/plesk-9.0/postfix-sendmail-wrapper /etc/alternatives/mta && /usr/sbin/postsuper -r ALL

Where can I report this bug?
 
Back
Top