OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: questions regarding aliases database conf

Re: questions regarding aliases database configuration


Subject: Re: questions regarding aliases database configuration
From: Craig Sanders (castaz.net.au)
Date: Wed Jan 12 2000 - 18:39:09 CST


On Wed, Jan 12, 2000 at 09:43:20AM -0500, Christopher T. Beers wrote:
> myhostname = ubik.bu.edu
> myorigin = bu.edu

the myorigin line is the source of the problem.

any message without a hostname (i.e. a local address) has "bu.edu"
appended to it by postfix. postfix on ubik.bu.edu does not accept mail
for "userbu.edu" as being local, so it forwards it to the appropriate
machine.

this is probably what you want it to do in most cases, but causes you
some trouble for some specific addresses (i had a similar problem with
mail from root cron jobs on some of my machines...i fixed it by adding
"MAILTO=roothostname.domain.name" to root's crontab)

there are probably other ways to fix this, but one simple way would be
to add "bu.edu" to $mydestination, and then set the luser_relay to point
to the main MX for "bu.edu" so that you can still send mail to people
without accounts on ubik.

you may also need alias or virtual table entries for specific users who
have accounts on ubik but still want their mail sent to them bu.edu

another option would be to set "myorigin=ubik.bu.edu" and relay all
your outbound mail via the main MX for bu.edu -- let it do the job of
masquerading the hostname (i.e. stripping "ubik").

craig

--
craig sanders



This archive was generated by hypermail 2b27 : Wed Jan 12 2000 - 18:43:31 CST