[exim] Blocking non-authenticated senders

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Peter Velan
Datum:  
To: Exim Users Mailing List
Betreff: [exim] Blocking non-authenticated senders
Hello,

all users which are allowed to send via our MTA must authenticate first.

Could I block any non-authenticated senders (forging envelope from like
"*@ourdomain-#.tld") with the following construction?

...
acl_smtp_rcpt = acl_check_rcpt
...
begin acl
acl_check_rcpt:
...
accept authenticated = *

deny    !authenticated = *
        senders = *@*.ourdomain-1.tld:*@*.ourdomain-2.tld
...


Should I be aware of any side effects?

Greetings,
Peter