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
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to