LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix force sender ("From:" field) (https://www.linuxquestions.org/questions/linux-server-73/postfix-force-sender-from-field-697481/)

+Yan 01-15-2009 07:23 AM

Postfix force sender ("From:" field)
 
Hello,
We have Linux post server with Postfix running on it and 5 domains.
Everything is working fine, except one thing. I was wondering how can I force user X to be able to send email ONLY as X@domain1.com, but NOT as X@domain2.com for example. I.e. how can I create map user --> email, and force every user to be verified against this table.

--
Thank you in advance.

Berhanie 01-15-2009 10:02 AM

Check out smtpd_sender_login_maps and reject_sender_login_mismatch. Those enforce envelope sender.

+Yan 01-16-2009 04:56 PM

Quote:

Originally Posted by Berhanie (Post 3409856)
Check out smtpd_sender_login_maps and reject_sender_login_mismatch. Those enforce envelope sender.

This is exactly what we need. Thank you very mach !


All times are GMT -5. The time now is 12:51 PM.