Sorry, if I sounded confusing, but yes, I meant a list of value for the 
parameter virtual_alias_maps.

In my old SuSE based postfix (aka SLOX, SuSE OpenExchange) host, I found the 
following parameter set thusly:

virtual_maps= ldap:ldapvuser,hash:/etc/postfix/virtual

The above parameter has two items (as a list) which says use ldap first, 
followed by a hashed virtual db table.  At least that is how I interpret it.  
So, I got thinking perhaps I can use similar config on my new mail host and set 
the virtual_alias_maps with two values (in a list)as follows:

virtual_alias_maps = 
proxy:mysql:$config/mysql_virtual_alias_maps.cf,hash:/etc/postfix/vmailbox

Translated: look at the mysql first, then look at the vmailbox (db) table.  
Except, this does not appear to work.  In the old SuSE SLOX host, it works.

Hope I was able to make it more clear.  Thanks.


-----Original Message-----
From: Victor Duchovni [mailto:victor.ducho...@morganstanley.com] 
Sent: Monday, June 06, 2011 4:10 PM
To: Islam, Towhid
Cc: postfix-users@postfix.org
Subject: Re: Forwarding via virtual_mailbox_maps or virtual_maps not working

On Mon, Jun 06, 2011 at 03:48:05PM -0400, Islam, Towhid wrote:

> Again thanks, Victor, for pointing out the change that I wasn't aware of.  I 
> think I have found my problem, and you are correct that I do have an 
> explicitly defined virtual_alias_maps in main.cf.  What I have is:
> 
>       virtual_alias_maps = proxy:mysql:$config/mysql_virtual_alias_maps.cf
> 
> To which, I attempted to append:
> 
>       virtual_alias_maps = 
> proxy:mysql:$config/mysql_virtual_alias_maps.cf,hash:/etc/postfix/vmailbox

Can you be more explicit about what you mean by "append" here? You can't
(usefully) set the same parameter twice, but some parameters take a list
of values...

    http://www.postfix.org/postconf.5.html
    http://www.postfix.org/postconf.5.html#virtual_alias_maps
    http://www.postfix.org/DEBUG_README.html#mail

-- 
        Viktor.

Reply via email to