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
It appears that my second parameter (hash:/etc/postfix/vmailbox) is being
ignored.
In the mysql "mail" db, there exists a table called alias that defines the
aliases (i.e. forwarding elsewhere, etc.), and if I use postfixadmin to add the
alias/forwarding to each user (email) account, it works. This however, has
become burdensome as most of our users are just barely computer literate.
Also, if a user has changed his/her password, we can longer no add the
alias/forwarding in their account.
Is there any other way I can accomplish this? Thanks.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Victor Duchovni
Sent: Monday, June 06, 2011 12:37 PM
To: [email protected]
Subject: Re: Forwarding via virtual_mailbox_maps or virtual_maps not working
On Mon, Jun 06, 2011 at 10:56:23AM -0400, Islam, Towhid wrote:
> I have an old version of postfix running on a SuSE OS where forwarding works
> fine, simply by using the virtual_maps option. Recently I installed a new
> email server using CentOS 5.5, Postfix 2.3.3, mysql, postfixadmin, dovecot
> and roundcube webmail. The new systems works except I cannot get the
> (automatic) forwarding to work. I tried using virtual_maps table , as well
> as a virtual_mailbox_maps = hash:/etc/postfix/vmailbox, but neither often
> work. The exact syntax I used was:
>
> i) Virtual_maps = hash:/etc/postfix/virtual or,
> ii) Virtual_mailbox_maps =
> proxy:mysql:$config/mysql_virtual_mailbox_maps.cf,hash:/etc/postfix/vmailbox
Modern versions of Postfix use "virtual_alias_maps", not "virtual_maps".
The latter is just a backwards-compatible default value:
virtual_alias_maps = $virtual_maps
Perhaps you have virtual_alias_maps explicitly defined.
--
Viktor.