Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Different handling of trailing dot in smtpd and cleanup in postfix,

0 views
Skip to first unread message

Christopher Chan

unread,
Jul 15, 2004, 4:21:08 AM7/15/04
to
Hi Wietse,

With and without strict_rfc821_envelopes = yes, smtpd will accept mail
for recipient addresses with a trailing dot.

The problem is, smtpd will first feed the recipient addy through
trivial-rewrite, which will strip the trailing dot, and then go to
mail_addr_find whereas cleanup will go straight to mail_addr_find and it
will obviously not find the addy.

That means the mail is accepted by smtpd for the smtp session but
bounced later on as user unknown by cleanup.

Jul 15 15:24:00 143 postfix/smtpd[23524]: resolve_clnt_query:
`te...@lycos.com.' -> t=`esmtp' h=`[127.0.0.1]' r=`te...@lycos.com'
Jul 15 15:24:00 143 postfix/smtpd[23524]: ctable_locate: install entry
key te...@lycos.com.
Jul 15 15:24:00 143 postfix/smtpd[23524]: generic_checks:
name=reject_unauth_destination status=0
Jul 15 15:24:00 143 postfix/smtpd[23524]: generic_checks: END
Jul 15 15:24:00 143 postfix/smtpd[23524]: ctable_locate: leave existing
entry key te...@lycos.com.
Jul 15 15:24:00 143 postfix/smtpd[23524]: maps_find:
recipient_canonical_maps: te...@lycos.com: not found
Jul 15 15:24:01 143 postfix/smtpd[23524]: mail_addr_find: te...@lycos.com
-> test:lyco...@lycos.com.int
...
Jul 15 15:24:06 143 postfix/cleanup[23526]: mail_addr_find:
te...@lycos.com. -> (not found)
Jul 15 15:24:06 143 postfix/cleanup[23526]: mail_addr_map:
te...@lycos.com. -> (not found)

0 new messages