On 2013-05-16 postfi...@fuckaround.org wrote:
> I understand that user@domain2 goes to user@domain1. I need that
> user@domain2 goes to user@domain2 mailbox:
> 
> virtual_alias_domains = nuvolabianca.org
> virtual_alias_maps = hash:/etc/postfix/virtual
> 
> virtual_mailbox_domains = nuvolabianca.org
> virtual_mailbox_base = /home/vhosts/
> virtual_mailbox_maps = hash:/etc/postfix/vmailbox
> virtual_minimum_uid = 100
> virtual_uid_maps = static:5000
> virtual_gid_maps = static:5000
> 
> cat virtual:
> 
> f...@nuvolabianca.org fred

$virtual_alias_maps can (among other things) be used for mapping virtual
(alias and mailbox) addresses to local addresses, which is what you're
doing in the line above. Basically

  f...@nuvolabianca.org fred

is the same as

  f...@nuvolabianca.org f...@fuckaround.org

Remove that line from /etc/postfix/virtual (don't forget to re-hash it
afterwards) and make sure you have a proper entry for the address in
/etc/postfix/vmailbox.

All of this is explained rather well in the documentation[1].

[1] http://www.postfix.org/VIRTUAL_README.html

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to