| |||||||||||||||||||||||||||||||
|
I can't do smtpd_proxy_filter work with pipe (only a test): -- master.cf -- smtp inet n - - - - smtpd -vvv -o smtpd_proxy_filter=unix:private/filter filter unix - n n - - pipe flags=Rq user=nobody argv=/usr/lib/postfix/filter.sh -f {$sender} {$recipient} -- filter.sh -- #!/bin/bash echo x > /tmp/email.eml -- log -- Jan 15 09:14:01 rpawsau05 postfix/smtpd[9755]: warning: timeout talking to proxy unix:private/filter Jan 15 09:14:01 rpawsau05 postfix/smtpd[9755]: > localhost[127.0.0.1]: 451 4.3.0 Error: queue file write error Jan 15 09:14:01 rpawsau05 postfix/smtpd[9755]: watchdog_pat: 0x808be90 Jan 15 09:14:01 rpawsau05 postfix/smtpd[9755]: vstream_fflush_some: fd 13 flush 41 -- version - Debian Etch -- postconf mail_version mail_version = 2.3.8 -- /tmp/email.eml permission ls -l /tmp/email.eml -rw-r--r-- 1 nobody root 25 2008-01-15 09:07 /tmp/email.eml Smtpd get timeout and /tmp/email.eml is not created or updated with "x". I think that filter.sh is not called by pipe. Why? Ps: original filter.sh implent basic smtp protocol, the current problem is not being called. -- Reinaldo Carvalho
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com