OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix and local users and myorigin

From: Aaron P. Martinez (mlproficuous.com)
Date: Fri Apr 09 2004 - 23:59:49 CDT


On Fri, 2004-04-09 at 23:25, WSUV testaccount wrote:
> On Fri, 9 Apr 2004, Wietse Venema wrote:
>
> > >
> > > date: April 09 2004
> > > keywords: .forward myorigin local users "myorigin causes local users to be
> > > forwarded"
> >
> > If it must be delivered local, change myorigin or list the
> > domain in mydestination.
> >
> > Wietse
> >
>
> If I listed 'test.edu' in 'mydestination' on the student email server, the
> email accounts would never be able to send email to accounts on the
> central server. If you emailed "joe" or "bobtest.edu", the local system
> would try to process both locally, so you'd have to maintain a local
> lookup table for users on the central server, a maintenance issue.
>
> Changing myorigin would work, but again, then you'd have the address of
> the student server and not the central server in the From field.

You could avoid this all by setting your outgoing smtp server to the
central server for everyone.

What you're asking for is completely illogical. The central server,
test.edu has local acocunts, bob, joe etc. and on the student.test.edu
server there are local accounts. You want the emails to always look
like they are addressed to usertest.edu which can't be achieved without
setting the mydestination on the student.test.edu machine to test.edu so
that it will keep the mails. You could however allow internal people to
send directly to userstudent.test.edu which would stay on the
student.test.edu machine, test.edu then would get forwarded on to your
central server.

Outside users would address their mails to studenttest.edu go to the
central server and then be forwarded on via your aliasing rules.

no maintenence, no muss.
>
> Either way, it would seem the complete desired behavior cannot
> be achieved and a compromise will have to be made.
>
> Thanks and I appreciate your help.