[exim] Blocking non-authenticated senders

Top Page
Delete this message
Reply to this message
Author: Peter Velan
Date:  
To: Exim Users Mailing List
Subject: [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