Matteo Cazzador wrote:
> Hello, i've a question about postfix and hylafax email to fax,
> excuse for my english,
> I need to configure postfix to accept mail from internet (non only intranet)
> to convert mail to fax, but i'don't want that  every mail like spam
> to be converted in fax, so is it possibile to refuse mail sent to
> @faxmydomain.it
> that are not autenticated? i can create user account to send mail to my
> domain.
> There is a directive to refuse received mail non sasl authenticated like
> smtp sasl autentication?
> Every how to say: don't configure domain faxmydomain.it in dns but if i
> want to convert mail from internet
If you want to do this for all domains you receive in Postfix:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject

If you just want just a list of domains to follow this:
Add "check_recipient_access hash:/path/to/faxdomain_auth" after
reject_unauth_destination in smtpd_recipient_restrictions (if you do not
have one, run "postconf smtpd_recipient_restrictions")

/path/to/faxdomain_auth:

fax.example.com  permit_sasl_authenticated, reject

Reply via email to