Hi everybody,

Is it possible to somehow limit smtpd_sender_restrictions only to
outgoing mail?
I want to use check_sender_access on my outgoing mail so that in MAIL
FROM only addresses from my list of emails are allowed. I guess that
one (ugly) way to solve this is to have 2 Postfix servers so that one
is used only for outgoing mail and the other is only used for
incoming. That way you can safely apply check_sender_access on
outgoing server, and don't allow sending mail from incoming server.
But, if I use only one Postfix server, then those restriction are
applied on both incoming and outgoing mail and I can only receive mail
that have MAIL FROM addresses from my list. Mybe there is a simple way
to do this, but I just don't see it, and I googled a lot :)

Is there a better way to achieve this?

Best regards,

Aleksandar

Reply via email to