David Ballano wrote:
yes, I have virtual alias because maybe some day my server owns more
domains, for now "ballano.net"
I don't understand this.

what I mean is that maybe I use my postfix for more domains,
ballano.net another.net etc..

but what does this have to do with a virtual alias?

, reading the docs I saw this is the way, isn't it?
show the line in your virtual.

orion:/var/log# cat /etc/postfix/virtual
[EMAIL PROTECTED] david


this redirects <[EMAIL PROTECTED]> to <[EMAIL PROTECTED]>, so if you change myorigin for some reason, the resulting address changes, which may come as a surprise and may be hard to troubleshoot.

for example, if you decide to set myorigin=$mydomain, then the address will be rejected as "unknown" (because the mapping becomes: [EMAIL PROTECTED] -> [EMAIL PROTECTED], but ballano.not is a virtual alias domain, so its addresses must map to another domain).

anyway, this changes nothing for your future domains. you will need a virtual alias for each domain.

[EMAIL PROTECTED]       [EMAIL PROTECTED]
[EMAIL PROTECTED]       [EMAIL PROTECTED]
...

(you can use a script to generate them).

Reply via email to