2008/9/23 mouss <[EMAIL PROTECTED]>: > 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] > ...
whow I don't understant too much, I want that all the mail that arrive to [EMAIL PROTECTED] goes to david unix account. that is what I think /etc/postfix/virtual does, and is what I read in the docs this means unix account ? > [EMAIL PROTECTED] so I'm confused now sorry... what I have tu put in myorigin?, ballano.net and change the virtual file, isnt it? > > (you can use a script to generate them). >