Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Erick Calder
thank you guys for taking the time to explain things. I see why it's an issue. On Sep 27, 2009, at 3:51 PM, Ansgar Wiechers wrote: On 2009-09-27 Erick Calder wrote: On Sep 27, 2009, at 1:03 PM, LuKreme wrote: On Sep 27, 2009, at 2:52 AM, Erick Calder wrote: On Sep 27, 2009, at 12:53 AM, L

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Ansgar Wiechers
On 2009-09-27 Erick Calder wrote: > On Sep 27, 2009, at 1:03 PM, LuKreme wrote: >> On Sep 27, 2009, at 2:52 AM, Erick Calder wrote: >>> On Sep 27, 2009, at 12:53 AM, LuKreme wrote: On Sep 27, 2009, at 0:53, Erick Calder wrote: > if the message were for no-ex...@arix.com then it gets rero

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Charles Marcus
On 9/27/2009, Erick Calder (e...@arix.com) wrote: >>> The first line is local users, the last is the sql lookup for the SQL >>> users, and the two pcre's are dynamically created to convert >>> user_extension addresses to user+extension (not recommended). >> Why not recommended? The only problem I

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Sahil Tandon
On Sun, 27 Sep 2009, Erick Calder wrote: > On Sep 27, 2009, at 1:03 PM, LuKreme wrote: > > >No, not generally. Unknown users are REJECTed, not bounced. > > ok, I'm not getting this. your statements of 12:53AM and of 1:03PM > seem contradictory... if an address doesn't exist, does it get bounced

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Erick Calder
On Sep 25, 2009, at 7:12, Charles Marcus wrote: On 9/24/2009, LuKreme (krem...@kreme.com) wrote: virtual_alias_maps = hash:$config_directory/virtual pcre:$config_directory/virtual.pcre, pcre:$config_directory/virtual_sql.pcre, proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Erick Calder
On Sep 27, 2009, at 1:03 PM, LuKreme wrote: On Sep 27, 2009, at 2:52 AM, Erick Calder wrote: On Sep 27, 2009, at 12:53 AM, LuKreme wrote: On Sep 27, 2009, at 0:53, Erick Calder wrote: if the message were for no-ex...@arix.com then it gets rerouted to n...@arix.com which also doesn't exi

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread LuKreme
On Sep 27, 2009, at 3:52, Erick Calder wrote: but doesn't my postfix server bounce by default when receiving a mail for an inexistent address? No, not generally. Unknown users are REJECTed, not bounced.

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread mouss
Erick Calder wrote: > haha, clearly my regex is borked. I tried replying and got the mail > back with: > > This Message was undeliverable due to the following reason: > > Each of the following recipients was rejected by a remote mail server. > The reasons given by the server are included to help

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Ansgar Wiechers
On 2009-09-27 Erick Calder wrote: > On Sep 27, 2009, at 12:53 AM, LuKreme wrote: >> On Sep 27, 2009, at 0:53, Erick Calder wrote: >>> if the message were for no-ex...@arix.com then it gets rerouted to >>> n...@arix.com which also doesn't exist and therefor bounces. >> >> Yes, it bounces. This mak

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread mouss
Erick Calder wrote: > On Sep 27, 2009, at 12:53 AM, LuKreme wrote: > >> On Sep 27, 2009, at 0:53, Erick Calder > > wrote: >> >>> if the message were for no-ex...@arix.com >>> then it gets rerouted to >>>

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread Erick Calder
On Sep 27, 2009, at 12:53 AM, LuKreme wrote: On Sep 27, 2009, at 0:53, Erick Calder wrote: if the message were for no-ex...@arix.com then it gets rerouted to n...@arix.com which also doesn't exist and therefor bounces. Yes, it bounces. This makes you a backacatter source. This is bad. b

Re: Virtual Aliases Usage and Syntax Question

2009-09-27 Thread LuKreme
On Sep 27, 2009, at 0:53, Erick Calder wrote: if the message were for no-ex...@arix.com then it gets rerouted to n...@arix.com which also doesn't exist and therefor bounces. Yes, it bounces. This makes you a backacatter source. This is bad.

Re: Virtual Aliases Usage and Syntax Question

2009-09-26 Thread Erick Calder
haha, clearly my regex is borked. I tried replying and got the mail back with: This Message was undeliverable due to the following reason: Each of the following recipients was rejected by a remote mail server. The reasons given by the server are included to help you determine why each recipie

Re: Virtual Aliases Usage and Syntax Question

2009-09-26 Thread Erick Calder
On Sep 26, 2009, at 6:01 PM, Wietse Venema wrote: Erick Calder: so I tried this: /^([^._\/-]*)[._\/-](.*)@arix\.com$/ ${1}+$...@arix.com Unfortunately, this causes Postfix to accept mail for non-existent recipients (the virtual alias matches a bogus of username portion, and Postfix discovers

Re: Virtual Aliases Usage and Syntax Question

2009-09-26 Thread Wietse Venema
Erick Calder: > so I tried this: > > /^([^._\/-]*)[._\/-](.*)@arix\.com$/ ${1}+$...@arix.com Unfortunately, this causes Postfix to accept mail for non-existent recipients (the virtual alias matches a bogus of username portion, and Postfix discovers only upon delivery that the address is no good).

Re: Virtual Aliases Usage and Syntax Question

2009-09-26 Thread Erick Calder
so I tried this: /^([^._\/-]*)[._\/-](.*)@arix\.com$/ ${1}+$...@arix.com which seemed to work fine, except for the underscores. thinking that they might be meaningful to the set declaration I tried: /^e_j...@arix.com$/ e...@arix.com which also failed... so I'm mystified but I'm happy that

Re: Virtual Aliases Usage and Syntax Question

2009-09-25 Thread LuKreme
On Sep 25, 2009, at 7:12, Charles Marcus wrote: On 9/24/2009, LuKreme (krem...@kreme.com) wrote: virtual_alias_maps = hash:$config_directory/virtual pcre:$config_directory/virtual.pcre, pcre:$config_directory/virtual_sql.pcre, proxy:mysql:$config_directory/mysql_virtual_alias_map

Re: Virtual Aliases Usage and Syntax Question

2009-09-25 Thread Charles Marcus
On 9/24/2009, LuKreme (krem...@kreme.com) wrote: > virtual_alias_maps = > hash:$config_directory/virtual > pcre:$config_directory/virtual.pcre, > pcre:$config_directory/virtual_sql.pcre, > proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf > > The first line is local users,

Re: Virtual Aliases Usage and Syntax Question

2009-09-24 Thread LuKreme
On 24-Sep-2009, at 08:57, wrote: Can I have two or more virtual aliases maps? Sure. Here are mine virtual_alias_maps = hash:$config_directory/virtual pcre:$config_directory/virtual.pcre, pcre:$config_directory/virtual_sql.pcre, proxy:mysql:$config_directory/mysql_virtual_ali

Re: Virtual Aliases Usage and Syntax Question

2009-09-24 Thread Victor Duchovni
On Thu, Sep 24, 2009 at 10:57:56AM -0400, wiskbr...@hotmail.com wrote: > Can I have two or more virtual aliases maps?? Yes, but it is best to avoid this if possible. > If so, should I declare them like this? > > main.cf: > alias_maps = dbm:/etc/postfix/aliases, nis:mail.aliases > virtual_alias_

Virtual Aliases Usage and Syntax Question

2009-09-24 Thread wiskbroom
Can I have two or more virtual aliases maps?  If so, should I declare them like this? main.cf: alias_maps = dbm:/etc/postfix/aliases, nis:mail.aliases virtual_alias_maps = dbm:/etc/postfix/virtual.abc, dbm:/etc/postmaster/virtual.xyz I am using "postalias /etc/postfix/aliases" for my alias_ma