This is a discussion on Re: Problems with $mydomain entries in virtual within the mailing.postfix.users forums, part of the Mail Servers and Related category; * Michael <mth@mth.com>: > >> @mydomain.com bitbucket # defined in aliases as /dev/null > > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
* Michael <mth@mth.com>:
> >> @mydomain.com bitbucket # defined in aliases as /dev/null > > What for? Lose that entry altogether. > > Yes, exactly ... the postfix man aliases(5) says exactly that > > I have been running that way for years. > > >> Since jane@mydomain.com does not explicitly exist in the virtual file > >> her message gets routed to the bitbucket :-( > > > > Yes. So why do you use the "@mydomain.com bitbucket" > > entry. What did you expect??? > > I expected 'jane@mydomain.com' to go to the bitbucket ... that mailbox > does not exist > > I expected that the virtual entry > > jane@otherdomain.com jane > > would send mail to local user 'jane' ... as it does in the aliases file > and as it does in the sendmail virtusertable > > I did not expect that this entry would turn into 'jane@mydomain.com', > which sent it to the bitbucket. > > >> If I remove my 'mydomain' entries from the virtual file then jane's > >> message gets delivered locally. > > > > Don't list a domain in virtual domains AND mydestination. Postfix > > screams about this in the log! > > I did *not* list mydomain.com in virtual_alias_domains ... the > documentation clearly says that is incorrect and it would not make sense > to do so. > > Therefore, there was no screaming in the logs. > > > Michael > -- Ralf Hildebrandt Ralf.Hildebrandt@charite.de http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155 "Warum Textmails, _moderne Clients_ verstehen doch auch HTML oder .doc" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|