Hi there, I am trying to setup a postprox based filter only for one recipient but it fails me altogether, no matter what I do. The last setup I have is routing messages by way of a transport map directive such as
acco...@test.au postprox:[127.0.0.1]:10027 where in master.cf I have postprox unix - - n - - smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o smtp_tls_note_starttls_offer=no -o max_use=20 localhost:10027 inet n n n - - spawn user=vscan argv=/usr/local/sbin/postprox -v -c /var/spool/postprox/test.sh 127.0.0.1:10025 On localhost:10025 I have the standard internal trusted smtpd as for amavisd. The /var/spool/postprox/test.sh is very simple: echo -n -e " === Received mail at $(date) === \n\n" >> /var/spool/postprox/received.mail cat $EMAIL >> /var/spool/postprox/received.mail cat $EMAIL >> $OUTFILE exit 0 Until now I've only got bounces, the last bounce saying Nov 24 07:01:13 aminoacid postfix/smtp[21274]: 80F96303AE7: to=<acco...@test.au>, relay=127.0.0.1[127.0.0.1]:10027, delay=303, delays=1.9/0.02/301/0, dsn=5.5.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 354 End data with <CR><LF>.<CR><LF> (in reply to MAIL FROM command)) /var/spool/postprox/received.mail remains empty, that is the script has not been activated yet. Any ideas would be much appreciated. Ian