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; >> However, I wanted to do some additional aliasing of my.domain, so I pu= t >> them ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>> However, I wanted to do some additional aliasing of my.domain, so I pu=
t >> them in /etc/postfix/virtual: >> >> michael@mydomain.com mth >> miguel@mydomain.com mth >> >> @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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|