Re: LMTP bounces with invalid chars in MAIL FROM adress

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

 



On Mon, 14 Feb 2011, Simon Matter wrote:
> 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.

Yeah, postfix really should reject that crap.  Do you know which MUA is
producing this braindamage?

> 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.

The problem with strict_rfc821_envelopes is that it also requires one to
actually speak rfc2821, so "MAIL FROM: whomever@xxxxxxxxxxx" would cause a
rejection.

There is the heavy-handed "smtpd_command_filter", though. It is certainly
capable of doing what you need.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
----
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