Re: [exim] conditional smtp_auth to control relaying

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jakob Hirsch
Dátum:  
Címzett: f_x
CC: exim-users
Tárgy: 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}'}}