2 msgDuplicate messages with always_bcc
14 msg[OT] Saving outgoing email Gmail style
3 msg451 error
10 msgPostfix 2.5 release candidate (and 2.6 snapshot...
2 msgpostfix errors when sending smtp auth via yahoo
4 msgDocumentation enhancement: Adjusting DB file pe...
11 msgI don't want Postfix to confirm users via telnet
3 msgQuestion on Earthlink and dnsbl.sorbs.net
36 msgRe: Enforced Outbound TLS (part deux)

smtpd_proxy_filter to unix: problem
\ Reinaldo Carvalho (15 Jan 2008)
. \ (Wietse Venema) (15 Jan 2008)
. . \ (Wietse Venema) (15 Jan 2008)
. . . \ Reinaldo Carvalho (15 Jan 2008)
. . . . \ Victor Duchovni (15 Jan 2008)
. . . . \ (Wietse Venema) (15 Jan 2008)

4 msgAgain troubles with postfix and cyrus-sasl
3 msgExclude local host from smtpd_proxy_filter
4 msgtransport nexthop nexthop
3 msgTLS has been selected, but TLS support is not c...
2 msgWhich documentation to read for this..
4 msgExchange 2003 to Postfix maildir migration
7 msgvirtual_mailbox_base & LDAP
12 msgEnforced Outbound TLS
2 msgpostfix+maildrop error
10 msgOutgoing IP address
Subject:smtpd_proxy_filter to unix: problem
Group:Postfix-users
From:Reinaldo Carvalho
Date:15 Jan 2008


 
Hi,

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