Hi, actually the suggestion helped :)
I didn’t notice the section:
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
that pointed me in the right direction.
By leaving mydestination blank and by setting myorigin to my 2nd level, I can 
use /etc/postfix/virtual to redirect only root, while getting mail for the 
other users automatically delivered to the external mailboxes.
Or, if I still want to see when a mail is originated from the server and not 
from a normal mail client, I can set myorigin to the 3rd level and manually 
(not very beautifully) enter the replacements in /etc/postfix/virtual, so that 
the sender appears to be user@3rd-level but they are still delivered to 
user@2nd-level.

Regards,
Olaf



Il giorno 09/feb/2014, alle ore 02:19, Wietse Venema <wie...@porcupine.org> ha 
scritto:

> Olaf Marzocchi:
>> - from command line to local users, without any domain: send to 
>> "u...@marzocchi.net"
> ...
>> - sender domain should appear to be the 3rd level domain.
> 
> Sorry, Postfix is consistent. If the sender or recipient address
> has no domain, then it appends $myorigin, as documented in:
> 
> http://www.postfix.org/BASIC_CONFIGURATION_README.html
> 
> To deliver some recipients locally, see:
> 
> http://www.postfix.org/STANDARD_CONFIGURATION_README.html
> 
>       Wietse

Reply via email to