Re: LMTP bounces with invalid chars in MAIL FROM adress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mon, 2011-02-14 at 16:09 +0100, Simon Matter wrote:
>
>> Hi,
>>
>> I've seen a growing number of bounced mails from Cyrus LMTP where
>> Postfix
>> logs "501 5.5.4 Syntax error in parameters (in reply to MAIL FROM
>> command))"
>>
>> The problem is that those messages really have invalid from adresses,
>> like
>> "RosaSánchez@xxxxxxxxxxxxx", but Postfix still accepts them. Later,
>> Cyrus
>> runs parseaddr() on it ans correctly refuses to accept the mail.
>>
>> Now, I'm interested to hear how others handle this case, if possible how
>> they handle it with postfix. I know that enabling
>> strict_rfc821_envelopes
>> would possibly help but that seem to be a bad idea.
>
> good day my lord,
>
> i have also seen this lately -- coming from LMTP as well -- running your
> 2.3.16 rpm ...
>
> is this related?

Your mail contains another error but the problem is the same in the end,
your MTA accepts a mail which is later refused by Cyrus-IMAPd.

Both cases are bad because it creates backscatter.

Would be nice to know what exactly is wrong with the mail in your case.

Simon

>
> thanks
>
> m
>
>
> Feb  3 15:03:25 DOMAIN postfix/qmgr[7263]: 906EE110F38:
> from=<Webware_License@xxxxxxx>, size=13232, nrcpt=1 (queue active)
> Feb  3 15:03:26 DOMAIN postfix/smtpd[26815]: disconnect from
> ocsdcfw1-pat.ocs.com[66.151.185.166]
> Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: connect from
> DOMAIN.com[82.103.143.139]
> Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: 348A9110F39:
> client=DOMAIN.com[xxx.xxx.xxx.xxx]
> Feb  3 15:03:31 DOMAIN postfix/cleanup[2945]: 348A9110F39: message-id=
> Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 348A9110F39:
> from=<Webware_License@xxxxxxx>, size=13898, nrcpt=1 (queue active)
> Feb  3 15:03:31 DOMAIN postfix/smtpd[2949]: disconnect from
> DOMAIN.com[xxx.xxx.xxx.xxx]
> Feb  3 15:03:31 DOMAIN lmtp[6430]: accepted connection
> Feb  3 15:03:31 DOMAIN lmtp[6430]: connection from DOMAIN.com
> [xxx.xxx.xxx.xxx] preauth'd as postman
> Feb  3 15:03:31 DOMAIN amavis[30491]: (30491-06) Passed CLEAN,
> [66.151.185.166] [66.151.185.166] <Webware_License@xxxxxxx> ->
> <user@xxxxxxxxxx>, mail_id: xu-j3SOEehs8, Hits: -1.186, size: 13221,
> queued_as: 348A9110F39, 5337 ms
> Feb  3 15:03:31 DOMAIN amavis[30491]: (30491-06) Passed CLEAN,
> <Webware_License@xxxxxxx> -> <user@xxxxxxxxxx>, Hits: -1.186, tag=-99,
> tag2=4, kill=6, queued_as: 348A9110F39, L/Y/0/0
> Feb  3 15:03:31 DOMAIN postfix/smtp[2946]: 906EE110F38:
> to=<user@xxxxxxxxxx>, orig_to=<ccuse@xxxxxxxxx>,
> relay=amavis.DOMAIN.com[xxx.xxx.xxx.xxx]:10025, delay=5.9,
> delays=0.53/0/0/5.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=30491-06,
> from MTA([xxx.xxx.xxx.xxx]:10045): 250 2.0.0 Ok: queued as 348A9110F39)
> Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 906EE110F38: removed
> Feb  3 15:03:31 DOMAIN postfix/lmtp[3017]: 348A9110F39:
> to=<user@xxxxxxxxxx>, relay=imap.DOMAIN.com[xxx.xxx.xxx.xxx]:24,
> delay=0.06, delays=0.01/0.01/0/0.04, dsn=5.6.0, status=bounced (host
> imap.DOMAIN.com[xxx.xxx.xxx.xxx] said: 554 5.6.0 Message contains
> invalid header (in reply to end of DATA command))
> Feb  3 15:03:31 DOMAIN postfix/cleanup[2945]: 47D3E110F3A:
> message-id=<20110203140331.47D3E110F3A@xxxxxxxxxx>
> Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 47D3E110F3A: from=<>,
> size=15842, nrcpt=1 (queue active)
> Feb  3 15:03:31 DOMAIN postfix/bounce[3018]: 348A9110F39: sender
> non-delivery notification: 47D3E110F3A
> Feb  3 15:03:31 DOMAIN postfix/qmgr[7263]: 348A9110F39: removed
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux