Odd behavior?

2012-05-16 Thread James Lay
Hey all! So….I'm not even sure how to phrase this in a google search, so here's what I have in main.cf: smtpd_recipient_restrictions = permit_mynetworks, check_recipient_access regexp:/etc/postfix/reject-users, … from reject-users, /us...@domain.com/

Re: Odd behavior?

2012-05-16 Thread Ben Rosengart
On Wed, May 16, 2012 at 05:15:39AM -0600, James Lay wrote: smtpd_recipient_restrictions = permit_mynetworks, check_recipient_access regexp:/etc/postfix/reject-users, from reject-users, /us...@domain.com/ OK /us...@domain.com/ OK

Re: Odd behavior?

2012-05-16 Thread Brian Evans - Postfix List
On 5/16/2012 7:15 AM, James Lay wrote: Postfix appears to discard the entire email. Is there a way to change this behavior so postfix would still send to the two good addresses, but discard the one that matches? In my real world setup, my reject-users is alphabetical…I've seen emails that

Re: Odd behavior?

2012-05-16 Thread James Lay
On Wed, 16 May 2012 08:08:27 -0400, Ben Rosengart wrote: On Wed, May 16, 2012 at 05:15:39AM -0600, James Lay wrote: smtpd_recipient_restrictions = permit_mynetworks, check_recipient_access regexp:/etc/postfix/reject-users, from reject-users, /us...@domain.com/

Re: Odd behavior?

2012-05-16 Thread Ansgar Wiechers
On 2012-05-16 James Lay wrote: Thanks Ben and Brian. I haven't found too much information on implementing this... Postfix is well-documented. I suggest you start here: http://www.postfix.org/documentation.html I'm guessing it's just adding: transport_maps =

Re: Odd behavior?

2012-05-16 Thread James Lay
On May 16, 2012, at 9:42 AM, Ansgar Wiechers wrote: On 2012-05-16 James Lay wrote: Thanks Ben and Brian. I haven't found too much information on implementing this... Postfix is well-documented. I suggest you start here: http://www.postfix.org/documentation.html I'm guessing it's just

Re: Odd behavior?

2012-05-16 Thread Brian Evans - Postfix List
On 5/16/2012 2:07 PM, James Lay wrote: On May 16, 2012, at 9:42 AM, Ansgar Wiechers wrote: The answer to that question can be found in man 5 transport. However, you don't want to mess around with a reject-users table in the first place (particularly not as a transport map). Instead just

Re: Odd behavior?

2012-05-16 Thread Charles Marcus
On 2012-05-16 2:07 PM, James Lay j...@slave-tothe-box.net wrote: I was under the impression that DISCARD was better then REJECT due to backscatter? We get hundreds of crazy emails to things likeya64s...@mydomain.com, so I opted for DISCARD instead. I'll do some more reading and see how I can

Re: Odd behavior?

2012-05-16 Thread James Lay
On May 16, 2012, at 12:21 PM, Brian Evans - Postfix List wrote: On 5/16/2012 2:07 PM, James Lay wrote: On May 16, 2012, at 9:42 AM, Ansgar Wiechers wrote: The answer to that question can be found in man 5 transport. However, you don't want to mess around with a reject-users table in the first