Hi What I do wrong ? smtpd_data_restrictions = check_policy_service { inet:127.0.0.1:10040 timeout=2s, default_action=DUNNO }
postfwd.cf: id=SIZE01 ; state==END_OF_DATA ; recipient==piot...@mail2.domain.ltd ; action==REJECT; size==1000000; On 15.04.2021 18:14, Wietse Venema wrote: > natan: >> Hi >> Server is only for incommin. I have a "message_size_limit = 146800640" >> >> Is any sollutions to change this value for special recipient ? >> like al...@domain.ldt - "message_size_limit = 1468006" > You can call postfwd from smtpd_end_of_data_restrictions to reject > message sizes selectively. If you call postfwd earlier then Postfix > does not know the real message size; Postfix knows only what the > client says in the MAIL FROM command. > > Wietse > >> probably not impossible in postfix but meybe "work around" like postfwd >> or something ? >> >> -- >> >> --