Bluehost.com Web Hosting $6.95

Problems with $mydomain entries in virtual

This is a discussion on Problems with $mydomain entries in virtual within the mailing.postfix.users forums, part of the Mail Servers and Related category; I must be doing something wrong ... because it looks like to me that putting email aliases for $mydomain in /etc/...


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 Problems with $mydomain entries in virtual

I must be doing something wrong ... because it looks like to me that
putting email aliases for $mydomain in /etc/postfix/virtual can break
delivery to local users.

Detail
------
I have just switched from sendmail to postfix.

I have encountered a problem with having @mydomain entries in the virtual
table. As a result, some users lost email. Either I did something wrong
(probably), and/or this should be clarified so that others don't get
bitten.

I have several domains, with a few users that have local unix mail
accounts. Therefore, I followed the instructions in
http://www.postfix.org/VIRTUAL_READM...#virtual_alias

However, I wanted to do some additional aliasing of my.domain, so I put
them in /etc/postfix/virtual:

michael@mydomain.com mth
miguel@mydomain.com mth

@mydomain.com bitbucket # defined in aliases as /dev/null

jane@otherdomain.com jane
sally@otherdomain.com sally123@hotmail.com


Mail is sent to jane@otherdomain.com
The mail log indicates that messages addressed to the local user jane get
mapped to jane@mydomain.com

Since jane@mydomain.com does not explicitly exist in the virtual file her
message gets routed to the bitbucket :-(

If I remove my 'mydomain' entries from the virtual file then jane's
message gets delivered locally.

Q: If I use the command line to send mail to 'jane' the maillog indicates
that it is mapped to 'jane@mydomain.com' ... Is this correct behavior or
is this a configuration error on my part?

In sendmail I put mydomain aliases + otherdomain aliases in the
virtusertable, with as little as possible in /etc/aliases.

Q: Did I do something fundamentally wrong by mixing mydomain + otherdomai=
n
in the virtual table?

Q: What is the right way to handle what I want to do?


Thanks for your time and assistance,

Michael

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

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

BB 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:20 AM.


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