Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

help with sender login mismatch

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


prueba at jovenclub

Apr 26, 2012, 11:56 AM

Post #1 of 3 (558 views)
Permalink
help with sender login mismatch

Hello guys i am having this issue with exim i am trying to set a rule
like this one in postfix
reject_sender_login_mismatch that allows to reject the mismatch between
the user used in the login and the header part "FROM:" can some cast any
light over this. thank

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


duihi77 at gmail

Apr 27, 2012, 5:03 AM

Post #2 of 3 (546 views)
Permalink
Re: help with sender login mismatch [In reply to]

On Thursday, April 26, 2012 at 18:56:18 UTC, prueba [at] jovenclub confabulated:

> Hello guys i am having this issue with exim i am trying to set a rule
> like this one in postfix
> reject_sender_login_mismatch that allows to reject the mismatch between
> the user used in the login and the header part "FROM:" can some cast any
> light over this. thank

This works for me:

...
acl_smtp_mail = acl_check_mail
...
acl_check_mail:
...
# smtp mail [4-3]: Deny the authenticated sender if the authenticated id
# does not match the sender address.
#
deny authenticated = *
condition = ${if eq{$authenticated_id}{$sender_address}{no}{yes}}
message = Your authenticating ID must match your sending address.
log_message = 4-3: Authenticated ID ($authenticated_id) does not \
match the sending address ($sender_address).
...

--
If at first you don't succeed...
...so much for skydiving.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


duihi77 at gmail

Apr 27, 2012, 2:10 PM

Post #3 of 3 (553 views)
Permalink
Re: help with sender login mismatch [In reply to]

On Friday, April 27, 2012 at 13:30:48 UTC, odhiambo [at] gmail confabulated:

> On Fri, Apr 27, 2012 at 15:03, Duane Hill <duihi77 [at] gmail> wrote:

>> On Thursday, April 26, 2012 at 18:56:18 UTC, prueba [at] jovenclub:
>>
>> > Hello guys i am having this issue with exim i am trying to set a rule
>> > like this one in postfix
>> > reject_sender_login_mismatch that allows to reject the mismatch between
>> > the user used in the login and the header part "FROM:" can some cast any
>> > light over this. thank
>>
>> This works for me:
>>
>> ...
>> acl_smtp_mail = acl_check_mail
>> ...
>> acl_check_mail:
>> ...
>> # smtp mail [4-3]: Deny the authenticated sender if the authenticated id
>> # does not match the sender address.
>> #
>> deny authenticated = *
>> condition = ${if
>> eq{$authenticated_id}{$sender_address}{no}{yes}}
>> message = Your authenticating ID must match your sending
>> address.
>> log_message = 4-3: Authenticated ID ($authenticated_id) does
>> not \
>> match the sending address ($sender_address).
>> ...
>>
>>
> Hello Duane,

> Is this the only rule you use, and it works in isolation? I mean, no other
> related config option is required?

If I authenticate using duane [at] example and use duane [at] example as
the sending address, the rejection will occur. If the authenticated
ID and sending address are the same, it passes that ACL rule. What are
you referring to working in isolation? There are no other connections
to the server authenticating other than the local email accounts.

--
If at first you don't succeed...
...so much for skydiving.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.