Re: Many to one address rewriting, exceptions exist.

2011-09-27 Thread Wietse Venema
Randy Ramsdell: > Sep 27 12:25:42 mail1-test postfix/error[16593]: 6252A17A809: > to=, orig_to=, relay=none, > delay=25, delays=25/0/0/0.03, dsn=5.0.0, status=bounced (User unknown in > virtual alias table) You need to override the virtual_alias_domains default setting. /etc/postfix/main.cf:

Re: Many to one address rewriting, exceptions exist.

2011-09-27 Thread Randy Ramsdell
On 09/27/11 09:33, Noel Jones wrote: On 9/27/2011 8:03 AM, Randy Ramsdell wrote: /etc/postfix/virtual: #f...@example.com stays itself. f...@example.comf...@example.com #b...@example.com goes elsewhere. b...@example.comother@elsewhere /etc/postfix/virtu

Re: Many to one address rewriting, exceptions exist.

2011-09-27 Thread Noel Jones
On 9/27/2011 8:03 AM, Randy Ramsdell wrote: >>> /etc/postfix/virtual: >>>#f...@example.com stays itself. >>>f...@example.comf...@example.com >>> >>>#b...@example.com goes elsewhere. >>>b...@example.comother@elsewhere >>> >>> /etc/postfix/virtual.pcre: >>>

Re: Many to one address rewriting, exceptions exist.

2011-09-27 Thread Randy Ramsdell
On 09/26/11 16:12, Wietse Venema wrote: Randy Ramsdell: [ Charset ISO-8859-1 unsupported, converting... ] On 09/26/11 14:36, Noel Jones wrote: On 9/26/2011 1:31 PM, Randy Ramsdell wrote: On 09/26/11 14:18, Noel Jones wrote: On 9/26/2011 1:00 PM, Randy Ramsdell wrote: On 09/22/11 13:45, Randy

Re: Many to one address rewriting, exceptions exist.

2011-09-27 Thread Wietse Venema
Noel Jones: > On 9/26/2011 3:12 PM, Wietse Venema wrote: > > Randy Ramsdell: > >> /etc/postfix/virtual: > >> #f...@example.com stays itself. > >> f...@example.com f...@example.com > >> > >> #b...@example.com goes elsewhere. > >> b...@example.com other@elsewhere > >

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Noel Jones
On 9/26/2011 3:12 PM, Wietse Venema wrote: > Randy Ramsdell: >> /etc/postfix/virtual: >> #f...@example.com stays itself. >> f...@example.com f...@example.com >> >> #b...@example.com goes elsewhere. >> b...@example.com other@elsewhere >> >> /etc/postfix/virtual.

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Wietse Venema
Randy Ramsdell: [ Charset ISO-8859-1 unsupported, converting... ] > On 09/26/11 14:36, Noel Jones wrote: > > On 9/26/2011 1:31 PM, Randy Ramsdell wrote: > >> On 09/26/11 14:18, Noel Jones wrote: > >>> On 9/26/2011 1:00 PM, Randy Ramsdell wrote: > On 09/22/11 13:45, Randy Ramsdell wrote: >

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Noel Jones
On 9/26/2011 2:34 PM, Randy Ramsdell wrote: > > /etc/postfix/virtual: > #f...@example.com stays itself. > f...@example.comf...@example.com OK. > > #b...@example.com goes elsewhere. > b...@example.comother@elsewhere you need an identity mapping for other@elsewhere

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Randy Ramsdell
On 09/26/11 14:36, Noel Jones wrote: On 9/26/2011 1:31 PM, Randy Ramsdell wrote: On 09/26/11 14:18, Noel Jones wrote: On 9/26/2011 1:00 PM, Randy Ramsdell wrote: On 09/22/11 13:45, Randy Ramsdell wrote: I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Noel Jones
On 9/26/2011 1:31 PM, Randy Ramsdell wrote: > On 09/26/11 14:18, Noel Jones wrote: >> On 9/26/2011 1:00 PM, Randy Ramsdell wrote: >>> On 09/22/11 13:45, Randy Ramsdell wrote: I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to send all mail coming ou

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Randy Ramsdell
On 09/26/11 14:18, Noel Jones wrote: On 9/26/2011 1:00 PM, Randy Ramsdell wrote: On 09/22/11 13:45, Randy Ramsdell wrote: I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to send all mail coming out of our QA environment and send that to a single, probably

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Noel Jones
On 9/26/2011 1:18 PM, Noel Jones wrote: > On 9/26/2011 1:00 PM, Randy Ramsdell wrote: >> On 09/22/11 13:45, Randy Ramsdell wrote: >>> I cannot find the the way to grab all "to's" rewritten to go to a >>> single "to:". We need to send all mail coming out of our QA >>> environment and send that to a

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Noel Jones
On 9/26/2011 1:00 PM, Randy Ramsdell wrote: > On 09/22/11 13:45, Randy Ramsdell wrote: >> I cannot find the the way to grab all "to's" rewritten to go to a >> single "to:". We need to send all mail coming out of our QA >> environment and send that to a single, probably, local address. >> The list o

Re: Many to one address rewriting, exceptions exist.

2011-09-26 Thread Randy Ramsdell
On 09/22/11 13:45, Randy Ramsdell wrote: I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to send all mail coming out of our QA environment and send that to a single, probably, local address. The list of senders will be in the thousands and so using a catc

Re: Many to one address rewriting, exceptions exist.

2011-09-23 Thread Wietse Venema
Randy Ramsdell: > > If you really must rewrite any domain, use regular expressions instead. > > > > /etc/postfix/main.cf: > > virtual_alias_maps = > > hash:/etc/postfix/virtual pcre:/etc/postfix/virtual.pcre > > > > /etc/postfix/virtual: > > # f...@example.com stays itself. > > f

Re: Many to one address rewriting, exceptions exist.

2011-09-23 Thread Randy Ramsdell
On 09/23/11 13:35, Randy Ramsdell wrote: Please disregard. Typo but I doubt you've seen the last issue regarding this configuration. :)

Re: Many to one address rewriting, exceptions exist.

2011-09-23 Thread Randy Ramsdell
On 09/22/11 16:33, Wietse Venema wrote: Randy Ramsdell: /etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual /etc/postfix/virtual: # All example.com users become mails...@example.net. @example.com mails...@example.net # Except for f...@example.com,

Re: Many to one address rewriting, exceptions exist.

2011-09-22 Thread Amedeo Rinaldo
Il 22/09/2011 22:33, Wietse Venema ha scritto: .. [cut] .. /etc/postfix/virtual.pcre: # Everything else goes to the mailsink. /./mails...@example.net Wietse Similar need, to intercept specific local-part for all domains. If i'm not wrong, something l

Re: Many to one address rewriting, exceptions exist.

2011-09-22 Thread Wietse Venema
Randy Ramsdell: > > /etc/postfix/main.cf: > > virtual_alias_maps = hash:/etc/postfix/virtual > > > > /etc/postfix/virtual: > > # All example.com users become mails...@example.net. > > @example.com mails...@example.net > > > > # Except for f...@example.com, which stays itself.

Re: Many to one address rewriting, exceptions exist.

2011-09-22 Thread Randy Ramsdell
On 09/22/11 15:51, Wietse Venema wrote: Randy Ramsdell: I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to send all mail coming out of our QA environment and send that to a single, probably, local address. The list of senders will be in the thousands and s

Re: Many to one address rewriting, exceptions exist.

2011-09-22 Thread Wietse Venema
Randy Ramsdell: > I cannot find the the way to grab all "to's" rewritten to go to a single > "to:". We need to send all mail coming out of our QA environment and > send that to a single, probably, local address. The list of senders will > be in the thousands and so using a catchall for these has

Many to one address rewriting, exceptions exist.

2011-09-22 Thread Randy Ramsdell
I cannot find the the way to grab all "to's" rewritten to go to a single "to:". We need to send all mail coming out of our QA environment and send that to a single, probably, local address. The list of senders will be in the thousands and so using a catchall for these has to be configured. We