Hi My configurations is not standard beacuse: master.cf: smtp inet n - y - 100 smtpd -o receive_override_options=no_address_mappings
In main.cf I put all connections to local haproxy who called to 3 x amavis. And amavis return to xxx.xxx.xxx.184:10027 inet n - n - - smtpd -o smtpd_proxy_timeout=900s -o content_filter= -o mynetworks_style=host -o mynetworks=10.0.100.0/24 -o local_recipient_maps= -o relay_recipient_maps= -o strict_rfc821_envelopes=yes -o smtp_tls_security_level=none -o smtpd_tls_security_level=none -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_end_of_data_restrictions= -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks .... In this place do you suggest adding a filter? I thinking about postfwd (third party software) and check in like: smtpd_data_restrictions = check_policy_service { inet:127.0.0.1:10040 timeout=2s, default_action=DUNNO } reject_unauth_pipelining, reject_multi_recipient_bounce, permit But it seems a little complicated W dniu 08.11.2021 o 15:47, Matus UHLAR - fantomas pisze: >> natan: >>> Hi >>> I have aliasgroup (I mean a...@domain.ltd) >>> >>> schema: >>> ----To:--a...@domain.ltd----->postfix----->----amavis+SA--->-back-to-postfix------robalck-from-aliasgroup-lmtp---->dovecot >>> >>> >>> works fine but I have one question is avilable in postfix (to limit >>> rolback) e-mail in alias group ? > > On 08.11.21 09:43, Wietse Venema wrote: >> Solutions: >> >> 1) Use smtpd_proxy_filter instead of content_filter. This will >> expand the aliases once, after the filter. >> >> 1) Use receive_override options to expand aliases once before OR >> after a content_filter filter, not before AND after. >> http://www.postfix.org/FILTER_README.html > > version for postfix+amavis users: > > https://www.ijs.si/software/amavisd/README.postfix.html#basics_smtpd-daemon > > --