Re: [exim] conditional smtp_auth to control relaying

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: f_x
CC: exim-users
Subject: Re: [exim] conditional smtp_auth to control relaying
f_x wrote:


> The problem is that user2 can send a mail in the name of user1, because
> their are no checks if the $sender_address equals $authenticated_sender.


acl_check_mail:

deny
message = sender does not match auth data
! senders = ${lookup mysql {select address from smtp_auth where
username='${quote_mysql:$authenticated_id}'}}