Re: Custom oversize rejection notice

2018-09-08 Thread Wietse Venema
Tom Sommer: > "Lookup tables, indexed by the complete Postfix SMTP server 4xx or 5xx > response, with reject footer templates. See smtpd_reject_footer_maps for > details." > > Should be > > "Lookup tables, indexed by the complete Postfix SMTP server 4xx or 5xx > response, with reject footer te

Re: Custom oversize rejection notice

2018-09-08 Thread Tom Sommer
On 2018-09-08 01:21, Wietse Venema wrote: Either way, the smtpd_reject_footer feature may be of some help. http://www.postfix.org/postconf.5.html#smtpd_reject_footer The text is wrong in the docs: "Lookup tables, indexed by the complete Postfix SMTP server 4xx or 5xx response, with reject fo

Re: custom reject message for reject_sender_login_mismatch

2018-09-08 Thread Kacper
Looks like you would have to recompile postfix with changes to smtpd_check.c, https://github.com/vdukhovni/postfix/blob/c8e31ae510e006127934ce54413a829933ccae9d/postfix/src/smtpd/smtpd_check.c#L3818 On Sat, Sep 8, 2018 at 3:18 PM Stefan Bauer wrote: > > Hi, > > using > > smtpd_sender_restrictions

custom reject message for reject_sender_login_mismatch

2018-09-08 Thread Stefan Bauer
Hi, using smtpd_sender_restrictions = reject_authenticated_sender_login_mismatch smtpd_sender_login_maps = hash:/etc/postfix/login_maps rejects user with invalid mail from domain with : Sender address rejected: not owned by user abc; from= to= proto=ESMTP helo=<[192.168.0.173]> How can i custo