Hi Matus,

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

postsrsd v2.0.8

/etc/postsrsd/postsrsd.conf
domains = {}
srs-domain = fwd.example.com
socketmap = inet:0.0.0.0:10003
keep-alive = 30
original-envelope = embedded
secrets-file = "/etc/postsrsd/postsrsd.secret"
separator = "="
hash-length = 4
hash-minimum = 4
always-rewrite = off
unprivileged-user = postsrsd
chroot-dir = /var/lib/postsrsdr
syslog = off
debug = off

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

Regards,
Dmytro Alieksieiev
DevOps Engineer

On 18/04/2025 15:51, Matus UHLAR - fantomas via Postfix-users wrote:

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to