Hi
I am looking for a way to send an mail through a perl script with the
directive virtual_transport (content_filter same problem), but I got only
the header and not the body.
Is there a solution or a particular configuration ?
Perl script:
use Sys::Syslog qw(:DEFAULT setlogsock);
setlogsock('unix');
openlog($SELF, 'ndelay,pid', 'user');
while ( <STDIN> ) {
syslog('mail|err', "mail: $_");
}
main.cf:
virtual_transport = vacancy:dummy
master.cf:
vacancy unix - n n - - pipe flags=X
user=exploit argv=/etc/postfix/ldap/autoreply.pl
Fabrice Durand