cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1655
Views
0
Helpful
2
Replies

Outgoing email with ldap sender match

slicciardola
Level 1
Level 1

Hi all,

i'm testing ESA for outgoing email sending, just configured LDAP and it works.

The problem is if i set as sender addres "myboss@company.com" it will send the email even if i am not in right to do this!

Since i am only authorized to send email from "myemail@company.com".

How can i prevent this to happen?

Thanks

2 Replies 2

Libin Varghese
Cisco Employee
Cisco Employee

Emails sent outgoing are usually trusted and not validated for sender/recipient address.

Most spoofing protection relies on detecting domain spoofing but seeing as how you are referring to the user section of the email address this would need custom filter configuration.

The original sender could have a custom header or sender IP added to the email headers or something unique to identify themselves that ESA can use to validate it using filters.

 

Regards,

Libin

Lemat
Level 1
Level 1

ESA is not good at such problems

SMTP is even worse... 

 

I would recommend using additional mail server i.e. postfix with reject_sender_login_mismatch option carefully planted in smtpd_sender_restrictions (before permit_sasl_authenticated). smtpd_sasl_authenticated_header = yes. User authenticating as boss@example.com will be able to send emails as boss@example.com (envelope sender address) only.