OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
None Unix accounts and NIS aliases

From: Daniel Prieto (prietocse.usf.edu)
Date: Wed Aug 18 2010 - 13:05:26 CDT


Hello,

I have moved from Sendmail to Postfix and eliminated Student email
accounts and kept staff accounts.
  I'm using 'virtual_alias_maps" to forward old student email address
to their other new email address that was given to me. When I send an
email to old stude...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>mydomain.com
email address it gets to his new
email address d...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>gmail.com.
However, if I use an alias,
"aliastest" (from my NIS) where the stude...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>mydomain.com
is part of,
then his email is rejected as "unknown user". I can see from my logs
below that the using "postfix/smtp" gets forwarded and the other one
using "postfix/local" gets rejected.

  Could someone tell me why it's doing that and what I can do to fix
that? Thanks in advance.

Aug 16 15:06:52 mail postfix/smtp[31783]: C8324BF107F:
to=<d...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>gmail.com>,
orig_to=<stude...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>mydomain.com>,

relay=127.0.0.1[127.0.0.1]:10025, delay=0.43, delays=0.09/0/0/0.34,
dsn=2.0.0, status=sent (250 OK, sent 4C698C4B_12641_34075_1
2BAB2BF1082)

Aug 16 15:03:56 mail postfix/local[31602]: 93CF2BF107F:
to=<stude...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>mydomain.com>,
orig_to=<aliast...
<http://groups.google.com/groups/unlock?hl=en&_done=/group/list.postfix.users/browse_thread/thread/59e45e627b99c294%3Fhl%3Den&msg=82d2317b674054fd>mydomain.com>,

relay=local, delay=0.06, delays=0.04/0/0/0.01, dsn=5.1.1,
status=bounced (unknown user: "student1")

Daniel