Re: [exim] conditional smtp_auth to control relaying

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: f_x
CC: exim-users
Sujet: 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}'}}