On 2/10/2014 7:13 AM, L. D. James wrote: > Can someone advise me how to customize the rejection message for > message rejected by /etc/postfix/sender_access?
http://www.postfix.org/access.5.html f...@example.com REJECT Custom message where Custom message contains the reject text sent to the client. > > For example: > > ----------------------------------------------------------------------- > # /etc/postfix/sender_access > # > # Black/Whitelist for senders matching the 'MAIL FROM' field. > Examples... > # > myfri...@example.com OK Be careful using an OK in an access file. http://www.postfix.org/SMTPD_ACCESS_README.html#danger > j...@spam.com REJECT - Your domain is rejected too much spam Probably shouldn't start your custom message with "-", but this is the right format. -- Noel Jones > marketing@ REJECT - Your domain is rejected > theboss@ OK > deals.marketing.com REJECT - Your domain is rejected contact > out website http://bouncedmail.apollo3.com for resolution > somedomain.com OK > -------------------------------------------------------------------------- > > > Thanks in advance for any suggestions or comments. > > -- L. James >