On Thu, Dec 10, 2009 at 07:14:26PM +0100, Simon Klempert wrote:

> after updating Postfix from 2.4.7.5 to 2.6.5.2 I see some changed

You also changed main.cf, or the package update did it for you.

> behaviour in the smtp process delivering to our content_filter. The
> content filter does not recive the part after the recipient_delimiter as
> RCPT TO anymore. Caused by this we loose this information for any mail
> going through amavis.
> 
> We are using the following settings:
> content_filter = smtp-amavis:[127.0.0.1]:10024
> recipient_delimiter = +

Post complete output of "postconf -n" per:

    http://www.postfix.org/DEBUG_README.html#mail

> master.cf
> smtp-amavis unix -      -       n       -       10  smtp
>         -o smtp_data_done_timeout=1200
>         -o smtp_send_xforward_command=yes

Fine.

>         -o disable_dns_lookups=yes
>         -o max_use=20

The first is long-ago not needed, and the second is typically a bad idea,
ditch both.

> Before the update amavis was getting the full recpipient (including the
> part after the recipient_delimiter), see
> 
> OLD LOGFILE:
> Nov 27 04:14:03 zimbra postfix/smtp[1981]: A39ECE3CA7:
> to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024,
> conn_use=6, delay=5615, delays=0.81/5605/0/9.4, dsn=2.0.0, status=sent
> (250 2.0.0 Ok: queued as 2FBBDE32C1)

This was not subjected to rewriting. You must have originally disabled
rewriting in the pre-filter smtpd/cleanup. Or perhaps, originally, this
address was not subject to rewriting, and your tables have changed.

> NEW LOGFILE:
> Dec 10 18:37:07 zimbra postfix/smtp[542]: 81058E3232:
> to=<[email protected]>, orig_to=<[email protected]>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=14, delays=8.8/0/0.01/4.8,
> dsn=2.0.0, status=sent (250 2.0.0 Ok, id=00532-01, from
> MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B4921E3233)

This did get rewritten. Your configuration discards the address extension
after virtual (or perhaps canonical or both) rewriting.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to