allow MAIL FROM local email accounts only

2009-06-04 Thread Ignacio Garcia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there. We have a couple of servers handling thousands of messages a day. We noticed that some of our users will use their autheticated account to send messages from other valid accounts not sitting in our servers. By using

Re: allow MAIL FROM local email accounts only

2009-06-04 Thread Brian Evans - Postfix List
Ignacio Garcia wrote: Hi there. We have a couple of servers handling thousands of messages a day. We noticed that some of our users will use their autheticated account to send messages from other valid accounts not sitting in our servers. By using smtpd_reject_unlisted_sender = yes we solve

Re: allow MAIL FROM local email accounts only

2009-06-04 Thread Brian Evans - Postfix List
Brian Evans - Postfix List wrote: Ignacio Garcia wrote: Hi there. We have a couple of servers handling thousands of messages a day. We noticed that some of our users will use their autheticated account to send messages from other valid accounts not sitting in our servers. By using

Re: allow MAIL FROM local email accounts only

2009-06-04 Thread Victor Duchovni
On Thu, Jun 04, 2009 at 12:20:37PM -0400, Brian Evans - Postfix List wrote: /^...@bizcustomer1\.example\.com$/ DUNNO /^...@bizcustomer2\.example\.com$/ DUNNO /^/ reject_authenticated_sender_login_mismatch Or just: /@bizcustomer1\.example\.com$/ DUNNO /@bizcustomer2\.example\.com$/

Re: allow MAIL FROM local email accounts only

2009-06-04 Thread Ignacio Garcia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for all your replies. I see your point. Let's say that I want to create a whitelist, and I want to whitelist all email addresses from mycustomer1.com. In that case, the file should contain: /@customer1\.com$/ DUNNO /^/