• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Wrapper postfix plesk 12

Carmelo1

New Pleskian
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,
 
Back
Top