Re: virtual_alias_maps and recipient_delimiter

2011-03-31 Thread Jeroen Geilman
On 03/31/2011 08:41 AM, Corey Quinn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2011, at 2:08 PM, Noel Jones wrote: On 3/30/2011 3:53 PM, Ansgar Wiechers wrote: On 2011-03-30 Corey Quinn wrote: On Mar 30, 2011, at 12:46 PM, Noel Jones wrote:

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Corey Quinn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2011, at 2:08 PM, Noel Jones wrote: > On 3/30/2011 3:53 PM, Ansgar Wiechers wrote: >> On 2011-03-30 Corey Quinn wrote: >>> On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: # main.cf smtp_generic_maps = regexp:/etc/postfix/ge

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Noel Jones
On 3/30/2011 3:53 PM, Ansgar Wiechers wrote: On 2011-03-30 Corey Quinn wrote: On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: # main.cf smtp_generic_maps = regexp:/etc/postfix/generic.regexp # generic.regexp IF /+.*@example\.com$/ /^(.*)+/ $1...@example.com ENDIF Threw this verbatim into

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Ansgar Wiechers
On 2011-03-30 Corey Quinn wrote: > On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: >> # main.cf >> smtp_generic_maps = >> regexp:/etc/postfix/generic.regexp >> >> # generic.regexp >> IF /+.*@example\.com$/ >> /^(.*)+/ $1...@example.com >> ENDIF > > Threw this verbatim into my generic.regexp: >

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Corey Quinn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2011, at 1:29 PM, Wietse Venema wrote: > Corey Quinn: >> On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: >>> >>> # main.cf >>> smtp_generic_maps = >>> regexp:/etc/postfix/generic.regexp >>> >>> # generic.regexp >>> IF /+.*@example\.com$/

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Victor Duchovni
On Wed, Mar 30, 2011 at 02:46:39PM -0500, Noel Jones wrote: > That's a very different problem, ie. strip recipient delimiters from mail > relayed externally. > > Sounds as if smtp_generic_maps will fill the need. > http://www.postfix.org/ADDRESS_REWRITING_README.html#generic > > > # main.cf > smt

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Wietse Venema
Corey Quinn: > On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: > > > > # main.cf > > smtp_generic_maps = > > regexp:/etc/postfix/generic.regexp > > > > # generic.regexp > > IF /+.*@example\.com$/ Remove the initial "+" character. Wietse

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Corey Quinn
On Mar 30, 2011, at 12:46 PM, Noel Jones wrote: > > # main.cf > smtp_generic_maps = > regexp:/etc/postfix/generic.regexp > > # generic.regexp > IF /+.*@example\.com$/ > /^(.*)+/ $1...@example.com > ENDIF Threw this verbatim into my generic.regexp: [root@mx1 postfix]# postmap -q "user+t...@ex

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Noel Jones
On 3/30/2011 2:13 PM, Corey Quinn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2011, at 9:35 AM, Clayton Keller wrote: I would like to allow the use of the recipient_delimiter, but rewrite the address to ensure that it is delivered to the original address. i.e. clay+t...@

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Corey Quinn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2011, at 9:35 AM, Clayton Keller wrote: > I would like to allow the use of the recipient_delimiter, but rewrite the > address to ensure that it is delivered to the original address. > > i.e. clay+t...@domain.tld -> c...@domain.tld I'm a

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Victor Duchovni
On Wed, Mar 30, 2011 at 11:54:32AM -0500, Clayton Keller wrote: >> # Identity virtual alias mappings for all users that >> # don't already have other alias entries. >> # >> c...@example.comc...@example.com >> ... >> > > I thought about that as well. However

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Clayton Keller
On 03/30/2011 11:43 AM, Victor Duchovni wrote: On Wed, Mar 30, 2011 at 11:35:03AM -0500, Clayton Keller wrote: I would like to allow the use of the recipient_delimiter, but rewrite the address to ensure that it is delivered to the original address. i.e. clay+t...@domain.tld -> c...@domain.tld

Re: virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Victor Duchovni
On Wed, Mar 30, 2011 at 11:35:03AM -0500, Clayton Keller wrote: > I would like to allow the use of the recipient_delimiter, but rewrite the > address to ensure that it is delivered to the original address. > > i.e. clay+t...@domain.tld -> c...@domain.tld > > I would like this to be available to a

virtual_alias_maps and recipient_delimiter

2011-03-30 Thread Clayton Keller
I would like to allow the use of the recipient_delimiter, but rewrite the address to ensure that it is delivered to the original address. i.e. clay+t...@domain.tld -> c...@domain.tld I would like this to be available to all addresses we accept mail for. To do so I have been testing a regexp us