On Saturday, March 07, 2009 at 13:40 CET,
"Francisco M. Marzoa Alonso" <[email protected]> wrote:
> I've a postfix server wich uses SASL + Mysql for authentication, my
> own domains are mostly listed in a mysql table on that database. Its
> working fine enough, but I want to made it a bit more restrictrive. At
> current time its behaviour about sending mail is as folows:
>
> FROM external domains TO my own domains -> accept
> FROM my own domains TO my own domains -> accept
> FROM my own domains TO external domains -> requires authentication
> FROM external domains TO external domains -> reject
>
> What I want to do is that it also requires authentication when sending
> from my own domains TO my own domains. What is the best way to do that?
main.cf:
smtpd_sender_restrictions = check_sender_access hash:/path/to/file
/path/to/file:
example.com permit_sasl_authenticated, reject
--
Magnus Bäck
[email protected]