|Main Archive Page > Month Archives > postfix-users archives|
On 2010-03-10 Gijs wrote:
> virtual_alias_maps = hash:/etc/postfix/virtual
> virtual_mailbox_domains = mydomain.com myotherdomain.com
> virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp
> email@example.com someuser
> @mydomain.com catchalluser
> firstname.lastname@example.org email@example.com
> @myotherdomain.com firstname.lastname@example.org
> The mail to email@example.com works as it should, but the mail to
> firstname.lastname@example.org always ends up in email@example.com.
> If I comment the catchall line for @myotherdomain.com, then it does get
> delivered to the correct address.
> Does anyone know what the problem might be?
Did you try Postfix example configuration for virtual mailboxes?
I think you're supposed to use $virtual_mailbox_maps rather than
$virtual_alias_maps for virtual mailboxes.
-- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky