• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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