Gijs: > On 3/10/10 15:05 , Ansgar Wiechers wrote: > > 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 > >> > >> /etc/postfix/virtual: > >> t...@mydomain.com someuser > >> @mydomain.com catchalluser > >> > >> i...@myotherdomain.com someotheru...@myotherdomain.com > >> @myotherdomain.com catchallu...@myotherdomain.com > >> > >> The mail to t...@mydomain.com works as it should, but the mail to > >> i...@myotherdomain.com always ends up in catchallu...@myotherdomain.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? > > > > http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox > > > > I think you're supposed to use $virtual_mailbox_maps rather than > > $virtual_alias_maps for virtual mailboxes. > > > > Regards > > Ansgar Wiechers > > > Thanks for your reply Ansgar. > > As far as I know virtual_mailbox is used when postfix delivers the > emails to the accounts itself, but I'm using Cyrus to do that. So the > use of virtual_alias should be correct in my setup. Unless I'm not > understanding the example right :)
Then why are you using virtual_mailbox_domains = mydomain.com myotherdomain.com When in reality you should be using virtual_ALIAS_domains? Wietse