You have your permit_sasl_authenticated inside smtpd_sender_restrictions right? Replace that with "check_sender_access hash:/path/to/file"
Inside the file /path/to/file, you add the following: mydomain.com permit_sasl_authenticated, reject Essentially, you move your "permit_sasl_authenticated" to the /path/to/file file. Or do you already have a check_sender_access containing permit_sasl_authenticated? -----Ursprungligt meddelande----- Från: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] För Phil Stracchino Skickat: den 17 november 2016 15:10 Till: postfix-users@postfix.org Ämne: Re: block emails which pretend to originate from my domain On 11/17/16 04:47, Sebastian Nielsen wrote: > Put check_sender_access hash:/path/to/file INSTEAD of > permit_sasl_authenticated in global config. > > in "/path/to/file", put mydomain.com permit_sasl_authenticated, reject In check_sender_access, in smtpd_sender_restrictions, or does it not matter which of the two? -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: 603.293.8485
smime.p7s
Description: S/MIME Cryptographic Signature