Re: [exim] conditional smtp_auth to control relaying

Góra strony
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
Dla: f_x
CC: exim-users
Temat: 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}'}}