|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: $myorigin, $mydestination, and local delivery
From: Ralf Hildebrandt (Ralf.Hildebrandt
charite.de)
Date: Sun Jun 01 2003 - 18:06:07 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Joshua Myles <jamyles
mtu.edu>:
> > So:
> >
> > postmaster
mail.bar.foo.edu -> root
> > root -> root
$myorigin
> >
> > Everything works as expected.
>
> Okay, I think I understand better the scope of $myorigin. So let me take a
> step back and better explain what I'm trying to do with Postfix.
Basically:
root
host -> root
host.$mydomain
root -> root
$myorigin
> mail.bar.foo.edu handles local delivery for some foo.edu users
> (user
foo.edu). For these users, there is an alias on the MX for foo.edu
> (mail.foo.edu) that forwards their mail to user
mail.bar.foo.edu.
Like here. Hauptpostamt distributes the mail to postamt1 and (urgh)
the Exchange mail-loss-system
> This is complicated by the fact that there is no (and won't be an) MX
> for bar.foo.edu, and mail.bar.foo.edu also handles outgoing mail for
> hosts in baz.foo.edu and qux.foo.edu.
>
> Ideally, mail sent to user
foo.edu (whose mail is handled by
> mail.bar.foo.edu) from host1.bar.foo.edu (which relays through
> mail.bar.foo.edu) will be delivered without looking up the MX for foo.edu
Use transport_maps
> and using the alias on that MX (which just points back to mail.bar.foo.edu
> anyway). Also, all mail going through the mail.bar.foo.edu relay should look
> like it came from user
foo.edu, not user
mail.bar.foo.edu.
>
> So, if I make $myorigin = mail.bar.foo.edu, I'll need to do some address
> rewriting or something for non-local users. If I leave $myorigin = foo.edu,
> I'll need to have user
mail.bar.foo.edu aliases for all the local users (I
> think), which seems kind of ugly.
>
> Sorry for the confusing explanation--there's probably a simple solution and
> I've just confused myself out of seeing it. Thanks for the pointers so far.
--
Ralf Hildebrandt Ralf.Hildebrandt
charite.de
my current spamtrap spamtrap
charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
When the going gets weird, the weird turn pro.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]