OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
aliases work except when sent from the mailhost itself

From: Mark Duling (mark.dulingbiola.edu)
Date: Wed Sep 13 2006 - 18:05:58 CDT


Hello.

I have a postfix 2.3.2 MTA running on a host for one app I have to send
out notifications and it needs to use its aliases. I have no virtual
domains or anything fancy, just a plain vanilla setup right now using the
sample main and master files. Sending mail from the mailhost command-line
works fine but I cannot send to any aliases in my alias file. I get
"unknown user: xxx" The aliases do work if I send mail from somewhere
else to my postfix MTA box. So from what I have read it seems like the
mail does not appear as destined for local to the MTA when sent from the
same host.

I've tried sending as <alias>, <alias>localhost, <alias>[ip-add] and
all give "unknown user: xxx"

I've messed around with these variables and no combination has worked
either.

myhostname
mydomain
mydestination

Anyone know how to fix the problem of aliases not working when sending
mail via command-line on the same bos as the MTA? I've scanned the mail
archives but none of the tips have helped. Thank you.

Mark