Hi Wietse,

Thanks for your response,

> This is how Postfix content filters work:
> 
>     postfix1 -> filter -> postfix2
> 
> The filter takes precedence in postfix1; 

Just to clarify we are talking about the same thing, "filter" is not a
"content filter" taking the mail from postfix and re-injecting it into
postfix, but valvula reporting "FILTER transp2:", as described at [1],
using delegation protocol ([2]),

> transport_maps takes effect in postfix2.

I'm confused about this statement because it is not what's happening
right now and I have shown an example that demonstrates it :-?

If I update valvula's configuration to report DUNNO, and hence,
disabling the activation of "FILTER transp2:", then configurations
declared at transport_maps are honoured, 

        Sep 10 18:53:06 host postfix/smtpd[17286]: connect from 
tarsonis.asplhost.com[X.X.X.X]
        Sep 10 18:53:07 host postfix/smtpd[17286]: 156A3FB18: 
client=tarsonis.asplhost.com[X.X.X.X], sasl_method=PLAIN, 
sasl_username=mailing-sasluser
        Sep 10 18:53:08 host valvulad[16853]: info: DUNNO: fran...@aspl.es -> 
w...@asplhost.com (sasl_user=mailing-sasluser), port 3579, rcpt count=1, 
queue-id 156A3FB18, from X.X.X.X, no-tls
        Sep 10 18:53:08 host postfix/discard[17530]: 156A3FB18: 
to=<w...@asplhost.com>, relay=none, delay=1, delays=1/0/0/0, dsn=2.0.0, 
status=sent (asplhost.com)
        Sep 10 18:53:09 host postfix/smtpd[17286]: disconnect from 
tarsonis.asplhost.com[X.X.X.X]

But if I make valvula to report "FILTER transp2:", then postfix2, in the
diagram "postfix1 -> filter -> postfix2" completely ignores
transport_maps:

        Sep 10 18:56:59 host postfix/smtpd[25423]: connect from 
tarsonis.asplhosting.com[X.X.X.X]
        Sep 10 18:56:59 host postfix/smtpd[25423]: A1A0AEB03: 
client=tarsonis.asplhost.com[X.X.X.X], sasl_method=PLAIN, 
sasl_username=mailing-sasluser
        Sep 10 18:56:59 host valvulad[16853]: info: FILTER: fran...@aspl.es -> 
w...@asplhost.com (sasl_user=mailing-sasluser), port 3579, rcpt count=1, 
queue-id A1A0AEB03, from X.X.X.X, no-tls: transp2:
        Sep 10 18:56:59 host postfix/smtpd[25423]: A1A0AEB03: filter: DATA from 
tarsonis.asplhost.com[X.X.X.X]: <DATA>: Data command triggers FILTER transp2:; 
from=<fran...@aspl.es> to=<w...@asplhost.com> proto=ESMTP helo=<[192.168.0.132]>
        Sep 10 18:57:00 host postfix/smtpd[25423]: disconnect from 
tarsonis.asplhost.com[X.X.X.X]
        Sep 10 18:57:00 host postfix2/smtp[23095]: A1A0AEB03: 
to=<w...@asplhost.com>, relay=mx1.aspl.es[89.140.237.70]:25, delay=1.3, 
delays=0.07/0/0.17/1, dsn=5.1.1, status=bounced (host 
mx1.aspl.es[89.140.237.70] said: 550 5.1.1 <w...@asplhost.com>: Recipient 
address rejected: User unknown in virtual mailbox table (in reply to RCPT TO 
command))

What I'm missing? Thanks for your patience and time,
Best Regards,

>         Wietse 

[1] http://www.postfix.org/access.5.html
[2] http://www.postfix.org/SMTPD_POLICY_README.html


Reply via email to