Re: Bounce message with original subject

2016-05-24 Thread Wietse Venema
Ram: > I have a postfix gateway that relays mails for various senders and for > some mails it generates NDR's when the mail is not deliverable > > Can I configure postfix to bounce the message and retain the original > subject with the current message > Something like > > Undelivered

Re: check_client_access cidr - Performance concerns ?

2016-05-24 Thread Wietse Venema
list...@tutanota.com: > 23. May 2016 18:48 by njo...@megan.vbhcs.org: > > > Yes, exactly right idea, but your expressions could use some improvement > > Thanks it helped! > > >IF /^(To|From|Cc|Reply-To): / Why not: /^(To|From|Cc|Reply-To): *(addr1|addr2|addr3)/ > Is the space between ":

Bounce message with original subject

2016-05-24 Thread Ram
I have a postfix gateway that relays mails for various senders and for some mails it generates NDR's when the mail is not deliverable Can I configure postfix to bounce the message and retain the original subject with the current message Something like Undelivered Mail:

Re: check_client_access cidr - Performance concerns ?

2016-05-24 Thread lists42
23. May 2016 18:48 by njo...@megan.vbhcs.org: > Yes, exactly right idea, but your expressions could use some improvement Thanks it helped! >IF /^(To|From|Cc|Reply-To): / Is the space between ": /" always needed? I think yes.  

RE: postfix ignoring access file?

2016-05-24 Thread Gomes, Rich
That worked! Thank you! -Original Message- From: Wietse Venema [mailto:wie...@porcupine.org] Sent: Tuesday, May 24, 2016 8:42 AM To: Gomes, Rich Cc: Postfix users Subject: Re: postfix ignoring access file? Gomes, Rich: > mynetworks =

Re: postfix ignoring access file?

2016-05-24 Thread Wietse Venema
Gomes, Rich: > mynetworks = 0.0.0.0/24 That matches IP addresses with a 24-bit prefix of 0.0.0. For a correct wildcard see this quote from "man 5 cidr_table" network_address/network_mask result When a search string matches the specified network block, use the corresponding

RE: postfix ignoring access file?

2016-05-24 Thread Gomes, Rich
That didn't work. I chose 0.0.0.0 on purpose just so it would be open to everything (it internal so no risk on internet access) but that didn't work either. -bash-4.1$ sudo postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_min_user = yes command_directory =