Hi,
http://kb.odin.com/en/114845 this kb for plesk 12 not run.
To function did this
# ls -las sendmail*
0 lrwxrwxrwx 1 root root 24 sep 17 14:31 sendmail -> sendmail.postfix-wrapper
268 -rwxrwxrwx 1 root postdrop 267232 abr 25 08:41 sendmail.postfix
*sendmail is symlink to sendmail.postfix-wrapper
the wrapper:
#!/bin/sh
(echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/usr/lib64/plesk-9.0/postfix-sendmail-wrapper "$@"
The wrapper write in /var/tmp/mail.send and redirect to /usr/lib64/plesk-9.0/postfix-sendmail-wrapper and return to /usr/sbin/sendmail.postfix .
* why /usr/lib64/plesk-9.0/postfix-sendmail-wrapper?
I follow links to /etc/alternatives/mta-sendmail and use "strings" to continue links to /usr/sbin/sendmail.postfix.
# strings /usr/lib64/plesk-9.0/postfix-sendmail-wrapper | grep postfix
/usr/sbin/sendmail.postfix
sendmail -> /usr/lib64/plesk-9.0/postfix-sendmail-wrapper + write /var/tmp/mail.send -> /usr/sbin/sendmail.postfix
Saludos,
http://kb.odin.com/en/114845 this kb for plesk 12 not run.
To function did this
# ls -las sendmail*
0 lrwxrwxrwx 1 root root 24 sep 17 14:31 sendmail -> sendmail.postfix-wrapper
268 -rwxrwxrwx 1 root postdrop 267232 abr 25 08:41 sendmail.postfix
*sendmail is symlink to sendmail.postfix-wrapper
the wrapper:
#!/bin/sh
(echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/usr/lib64/plesk-9.0/postfix-sendmail-wrapper "$@"
The wrapper write in /var/tmp/mail.send and redirect to /usr/lib64/plesk-9.0/postfix-sendmail-wrapper and return to /usr/sbin/sendmail.postfix .
* why /usr/lib64/plesk-9.0/postfix-sendmail-wrapper?
I follow links to /etc/alternatives/mta-sendmail and use "strings" to continue links to /usr/sbin/sendmail.postfix.
# strings /usr/lib64/plesk-9.0/postfix-sendmail-wrapper | grep postfix
/usr/sbin/sendmail.postfix
sendmail -> /usr/lib64/plesk-9.0/postfix-sendmail-wrapper + write /var/tmp/mail.send -> /usr/sbin/sendmail.postfix
Saludos,