Stähelin wrote:
Dear List Users

Is it possible (and how) to block emails sent via an outside smtp server (not mynetworks) with our domain?
like this:

main.cf:

smtpd_restriction_classes = OnlyFromMyUsers
OnlyFromMyUsers = permit_mynetworks,
                                   permit_sasl_authenticated,
                                   reject
smtpd_sender_restrictions =
check_sender_access hash:$config_directoty/sender_access

sender_access:

ourdomain.ch <[email protected]>    OnlyFromMyUsers


Background:
We had phishing attacks from outside (not our ip-range) with the from-address [email protected]
which was sent to our users.
Thanks a lot in advance
Simon

--
Universität Bern
Abt. Informatikdienste
Gruppe Netzwerk / Postmaster

Simon Staehelin
Gesellschaftsstrasse 6
CH-3012 Bern
Raum 106
Tel.  +41 (0)31 631 31 80
Fax   +41 (0)31 631 38 65

email:
[email protected]
[email protected]
http://www.id.unibe.ch/
--
Eugene

Reply via email to