Re: Problems with $mydomain entries in virtual

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2004
Michael
 
Posts: n/a
Default Re: Problems with $mydomain entries in virtual

>> 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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0