[pfx] Re: Hardcoded "451 4.6.0" error code for Alias expansion error

2025-07-04 Thread Dmytro Alieksieiev via Postfix-users
ransport map for a next hop of all emails. Thank you Regards, Dmytro Alieksieiev DevOps Engineer On 04/07/2025 21:07, Wietse Venema via Postfix-users wrote: Dmytro Alieksieiev via Postfix-users: Hi Postfix community, Does anybody know the original reason of why there is no way to adjust resp

[pfx] Hardcoded "451 4.6.0" error code for Alias expansion error

2025-07-04 Thread Dmytro Alieksieiev via Postfix-users
Hi Postfix community, Does anybody know the original reason of why there is no way to adjust response code for Alias expansion error (internal loop detected) in Postfix settings? Log: unreasonable virtual_alias_maps map nesting for j@example.com -- message not accepted, try again later

[pfx] Re: SMTPUTF8 best practices

2025-06-29 Thread Dmytro Alieksieiev via Postfix-users
Hi Jorge, To have SMTPUTF8 enabled in system it should be supported by all components of mail system. If you have LMTP as f.e. Dovecot which not yet production ready for SMTPUTF8 (at least from my view, as it only got support of it couple of months ago and I would not rush deploying it on Pr

[pfx] Re: Localpart length validation

2025-05-01 Thread Dmytro Alieksieiev via Postfix-users
Hello Wietse, It would be really a solution, thank you :) Regards, Dmytro Alieksieiev DevOps Engineer On 01/05/2025 19:17, Wietse Venema via Postfix-users wrote: I have given this some thought and conclude that most of Postfix isn't architected to report a hard error for an 'impossible' databa

[pfx] Re: Localpart length validation

2025-05-01 Thread Dmytro Alieksieiev via Postfix-users
Funny thing - as I come to memcache in scope of email length validation I decided to check how its working too, and on practice it's also results in endless errors and 4xx failures when doing verify or any other operation. On verify it's critical as I was right that it creates double-bounces to

[pfx] Re: Localpart length validation

2025-04-29 Thread Dmytro Alieksieiev via Postfix-users
On 19/04/2025 13:09, Viktor Dukhovni via Postfix-users wrote: On 19/04/2025 13:09, Viktor Dukhovni via Postfix-users wrote: To rewrite envelope recipients, use "virtual_aliases", not "recipient_canonical_maps". Hi Viktor, sorry, but for me this not solution. The whole point of SRS is to utili

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
On 18/04/2025 20:06, Matus UHLAR - fantomas via Postfix-users wrote: 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. Yep, I have 2 s

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
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, erro

[pfx] Re: per-domain header checks?

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
Actually nope, I don't know how you manage your SA, it's another issue, but for well designed system it's totally okay to have different actions for different conditions. I not SA guru, but for Rspamd I know for sure that you easily can do stuff like force actions based on multimaps prefilters,

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
More over issue not in SRS, issue actually about postfix in general. I don't know why there no defaults to do any validations check of sender|rcpts. Regards, Dmytro Alieksieiev DevOps Engineer On 18/04/2025 13:20, Benny Pedersen via Postfix-users wrote: Dmytro Alieksieiev via Postfix-

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
if you like we can speak about ARC and Rspamd in Rspamd community: https://t.me/rspamd I'm active there - @drago_angel - but it's just for a fun, it will not help with case I trying to solve. Regards, Dmytro Alieksieiev DevOps Engineer On 18/04/2025 14:00, Dmytro Alieksieiev wrote: see headers

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
1. ARC not provide a way to send bounce to sender when rcpt behind srs can't accept email due to x reasons. SRS needed when you doing forwarding service. 2. ARC not used on practice to trust email without DKIM and failed SPF, if you not rewrite envelope on forwarding mentioned rspamd will pot

[pfx] Re: Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
Hi Benn, you want propose any better alternatives for a forwarding to not break SPF and have ability properly send emails without DKIM? Regards, Dmytro Alieksieiev DevOps Engineer On 18/04/2025 13:20, Benny Pedersen via Postfix-users wrote: Dmytro Alieksieiev via Postfix-users skrev den 2025

[pfx] Localpart length validation

2025-04-18 Thread Dmytro Alieksieiev via Postfix-users
Hi community, 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. https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1.1 says "The maximum total length of a user

[pfx] Duplicated emails due to split by rcpt and OOM

2025-04-05 Thread Dmytro Alieksieiev via Postfix-users
Hi Postfix community, I faced issue with splitting emails via local filter and destination_recipient_limit = 1 under low memory condition which result in duplicated emails in queue. From what I can see in logs: - warning: process /usr/libexec/postfix/smtp pid 1039 killed by signal 9 - warnin

[pfx] Re: Duplicated emails due to split by rcpt and OOM

2025-04-04 Thread Dmytro Alieksieiev via Postfix-users
way to improve code to avoid duplicated emails at OOM. Regards, Dmytro Alieksieiev On 04/04/2025 03:32, Viktor Dukhovni via Postfix-users wrote: On Thu, Apr 03, 2025 at 10:17:22PM +0200, Dmytro Alieksieiev via Postfix-users wrote: I faced issue with splitting emails via local filter and destinati