OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
$myorigin, $mydestination, and local delivery

From: Joshua Myles (jamylesmtu.edu)
Date: Sat May 31 2003 - 21:21:28 CDT


Hi,

I'm using Postfix 2.0.9 for local delivery on a host that I'll call
mail.bar.foo.edu. $myorigin is "foo.edu", and there are aliases on the MX
server for foo.edu of the form "john -> johnmail.bar.foo.edu" (for the
users I handle local delivery for). $mydestination is "mail.bar.foo.edu".

My problem is that aliases on mail.bar.foo.edu are being ignored. For
example, my aliases file includes

   root: jamyles
   postmaster: root

If I send mail to postmastermail.bar.foo.edu, the message is sent to
rootfoo.edu instead of jamylesfoo.edu (or, ideally, to
jamylesmail.bar.foo.edu).

I think I can solve this problem by putting all the local aliases the virtual
table, but that dosen't seem like the best way to do it. Any suggestions?

Josh