Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 19:39, Sahil Tandon wrote: What happens if you set: virtual_alias_domains = in main.cf? Then all mail to local (non virtual) users bounces with a Relay access denied error. -- Incredible! One of the worst performances of my career and they never doubted

Re: Does main.cf need world readable?

2009-03-08 Thread Jacky Chan
Sahil Tandon wrote: > > > On Mar 8, 2009, at 11:47 PM, Jacky Chan wrote: > >> I found when I set main.cf to 740, owner is root and group is postfix. >> >> [11:41:55][use...@nx1:~]# echo "testing" | mail -s "testing" root >> [11:41:58][use...@nx1:~]# send-mail: fatal: open /etc/postfix/main.cf

Re: Does main.cf need world readable?

2009-03-08 Thread Sahil Tandon
On Mar 8, 2009, at 11:47 PM, Jacky Chan wrote: I found when I set main.cf to 740, owner is root and group is postfix. [11:41:55][use...@nx1:~]# echo "testing" | mail -s "testing" root [11:41:58][use...@nx1:~]# send-mail: fatal: open /etc/postfix/main.cf: Permission denied Does main.cf need wo

Does main.cf need world readable?

2009-03-08 Thread Jacky Chan
Hi all, I found when I set main.cf to 740, owner is root and group is postfix. [11:41:55][use...@nx1:~]# echo "testing" | mail -s "testing" root [11:41:58][use...@nx1:~]# send-mail: fatal: open /etc/postfix/main.cf: Permission denied Does main.cf need world readable? If so, the setting in main.

Re: virtual_alias_maps

2009-03-08 Thread Wietse Venema
LuKreme: > On 8-Mar-2009, at 19:29, Victor Duchovni wrote: > > On Sun, Mar 08, 2009 at 07:24:54PM -0600, LuKreme wrote: > >> On 8-Mar-2009, at 19:22, Victor Duchovni wrote: > >>> On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: > $ postmap -q southgaylord.com > mysql:/usr/local/et

Re: virtual_alias_maps

2009-03-08 Thread Sahil Tandon
On Mar 8, 2009, at 9:34 PM, LuKreme wrote: On 8-Mar-2009, at 19:29, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 07:24:54PM -0600, LuKreme wrote: On 8-Mar-2009, at 19:22, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: $ postmap -q southgaylord.com mysql:/us

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 19:29, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 07:24:54PM -0600, LuKreme wrote: On 8-Mar-2009, at 19:22, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: $ postmap -q southgaylord.com mysql:/usr/local/etc/postfix/mysql_virtual_domains_map

Re: virtual_alias_maps

2009-03-08 Thread Victor Duchovni
On Sun, Mar 08, 2009 at 07:24:54PM -0600, LuKreme wrote: > On 8-Mar-2009, at 19:22, Victor Duchovni wrote: >> On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: >> >>> I don't have virtual_alias_domains defined at all, only >>> virtual_mailbox_maps: >> >> This means that you do. See the defa

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 19:22, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: I don't have virtual_alias_domains defined at all, only virtual_mailbox_maps: This means that you do. See the default value. To really not have it set, set it empty! Is this a change bet

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 18:47, Victor Duchovni wrote: You probably have an unintential match for the domain in $virtual_alias_domains. Here's my postconf: $ postconf -n alias_database = hash:/usr/local/etc/postfix/aliases alias_maps = hash:/usr/local/etc/postfix/aliases allow_percent_hack = no bou

Re: virtual_alias_maps

2009-03-08 Thread Victor Duchovni
On Sun, Mar 08, 2009 at 07:19:32PM -0600, LuKreme wrote: > I don't have virtual_alias_domains defined at all, only > virtual_mailbox_maps: This means that you do. See the default value. To really not have it set, set it empty! > $ postmap -q southgaylord.com > mysql:/usr/local/etc/postfix/mys

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 18:47, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 06:38:25PM -0600, LuKreme wrote: virtual_alias_maps = hash:/usr/local/etc/postfix/virtual, pcre:/usr/local/etc/postfix/virtual.pcre, mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf testing: $ postmap -q li

Re: virtual_alias_maps

2009-03-08 Thread Victor Duchovni
On Sun, Mar 08, 2009 at 06:38:25PM -0600, LuKreme wrote: >>> virtual_alias_maps = >>>hash:/usr/local/etc/postfix/virtual, >>>pcre:/usr/local/etc/postfix/virtual.pcre, >>>mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf >>> >>> testing: >>> $ postmap -q li...@southgaylord.com h

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 18:38, LuKreme wrote: here;s the entire maillog: Oops, accidently sent early. Mar 8 17:47:50 mail postfix/smtpd[25480]: 2178F118BA6B: client=lists.php.net[216.92.131.4] Mar 8 17:47:50 mail postfix/cleanup[25482]: 2178F118BA6B: message-id=> Mar 8 17:47:50 mail postfix/cle

Re: virtual_alias_maps

2009-03-08 Thread LuKreme
On 8-Mar-2009, at 18:18, Victor Duchovni wrote: On Sun, Mar 08, 2009 at 06:05:19PM -0600, LuKreme wrote: I have: virtual_alias_maps = hash:/usr/local/etc/postfix/virtual, pcre:/usr/local/etc/postfix/virtual.pcre, mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf testing: $ pos

Re: virtual_alias_maps

2009-03-08 Thread Victor Duchovni
On Sun, Mar 08, 2009 at 06:05:19PM -0600, LuKreme wrote: > I have: > > virtual_alias_maps = > hash:/usr/local/etc/postfix/virtual, > pcre:/usr/local/etc/postfix/virtual.pcre, > mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf > > testing: > $ postmap -q li...@southgaylord.com

virtual_alias_maps

2009-03-08 Thread LuKreme
I have: virtual_alias_maps = hash:/usr/local/etc/postfix/virtual, pcre:/usr/local/etc/postfix/virtual.pcre, mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf testing: $ postmap -q li...@southgaylord.com hash:/etc/postfix/virtual $ postmap -q li...@southgaylord.com pcre:/et

Re: Plus addressing not delivering to folder

2009-03-08 Thread KLaM Postmaster
Sahil Tandon wrote: > On Sun, 08 Mar 2009, KLaM Postmaster wrote: > > >>> Ok, I'm intrigued... if it is this simple, maybe I'll go ahead and do >>> it, but... >>> >>> As I said in an earlier mail, I do NOT want the folder auto-created - if >>> it doesn't exist, I want the message deliver to fall

Re: Plus addressing not delivering to folder

2009-03-08 Thread Sahil Tandon
On Sun, 08 Mar 2009, KLaM Postmaster wrote: > > Ok, I'm intrigued... if it is this simple, maybe I'll go ahead and do > > it, but... > > > > As I said in an earlier mail, I do NOT want the folder auto-created - if > > it doesn't exist, I want the message deliver to fall back to the Inbox... > > >

Re: Plus addressing not delivering to folder

2009-03-08 Thread KLaM Postmaster
Charles Marcus wrote: > On 3/7/2009 1:45 PM, LuKreme wrote: > >>> Yes, I was planning on allowing any extension to be used/made up on >>> the fly... thje purpose for using the extension will be for signing >>> up for different sites/lists/things, so I can use the same address, >>> but be able to

Re: Force otherwise local address to be considered non local

2009-03-08 Thread mouss
Daniel L. Miller a écrit : > This will probably sound weird - but... > > Is there a _maps parameter, or other method, I can use to force an > address found in my virtual_mailbox_maps to be considered > non-local/virtual? > > You're scratching your head asking why...well, it's simple. I'm a > mor

Re: Variables for addresses in master.cf

2009-03-08 Thread Wietse Venema
mouss: > Victor Duchovni a ?crit : > > On Sat, Mar 07, 2009 at 07:51:13PM +0100, mouss wrote: > > > >> BTW, is there any reason why one can't do > >> > >> joepipe ... pipe > >>flags=${joe_flags} > >>user=${joe_user} > >>args=${joe_command} ${joe_options} > > > > The reason is that the

Re: Variables for addresses in master.cf

2009-03-08 Thread mouss
Victor Duchovni a écrit : > On Sun, Mar 08, 2009 at 03:07:16AM +0100, mouss wrote: > >> Victor Duchovni a ?crit : >>> On Sat, Mar 07, 2009 at 07:51:13PM +0100, mouss wrote: >>> BTW, is there any reason why one can't do joepipe ... pipe flags=${joe_flags} user=${joe_u