strange, according to http://www.postfix.org/postconf.5.html#socketmap_max_reply_size the maximum reply size is 100k by default. I use postsrd without problems.
On 18.04.25 18:47, Dmytro Alieksieiev via Postfix-users wrote:
want to highlight this is not permanent issue and this is first time I see such error over very long time I had SRS, error has a reason that I described in my first email:
I get a bit annoying spam lately to rcpts like <1239123129381239...@example.com> where *localpart is bunch of numbers *and *just localpart alone length is more then 300 chars*.
SRS configured as usual, nothing fancy: postfix v3.9.1 /etc/postfix/main.cf sender_canonical_maps = socketmap:inet:postsrsd:10003:forward sender_canonical_classes = envelope_sender recipient_canonical_maps = socketmap:inet:postsrsd:10003:reverse recipient_canonical_classes = envelope_recipient
I remember now when I implemented SRS, I configured separate postfix instance for outgoing mail. This is the postfix issue described in postsrs docs: canonical maps are processed when mail is being received.
This outgoing instance rewrites mail sender, the default postfix instance only rewrites recipient.
This way, only outgoing/forwarded mail is subject to sender rewriting. The downside is that you need separate postfix instance.
looks like you are avoiding the problem by creating artifical limits.
Well, can't agree on this part, all I have in postsrsd is "warn: socketmap query is too big". And there should be 0 reason to accept rcpts with such *big length like 567 chars just in localpart*...
I don't recommend enforcing length shorter than mentioned RFC minimum of 64. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "Two words: Windows survives." - Craig Mundie, Microsoft senior strategist "So does syphillis. Good thing we have penicillin." - Matthew Alton _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org