OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: virtual domains and hacking smtp_addr.c
From: Jonathan Ellis (jellisadvocast.com)
Date: Fri Oct 06 2000 - 12:46:29 CDT


> Jonathan Ellis:
> > > If advocast.com *is* the local machine, then you MUST put it in
> > > mydestination and you MUST remove its "advocast.com whatever" entry
> > > from the virtual map.
> >
> > But then none of the other virtual domains work, period.
>
> Care to explain? If you APPEND advocast.com to mydestination, then
> that entry has no effect for OTHER domains.

No doubt it SHOULD have no other effect, but it does. E.g. in virtual,
...
jugglenutz.com foo
markjugglenutz.com mnelsonpoboxes.com
...

Oct 6 11:14:49 thor postfix/smtp[16136]: 7CB9A8032E:
to=<markjugglenutz.com>, relay=none, delay=6968, status=deferred (connect
to mail.advocast.com[209.140.77.226]: Connection timed out)
Oct 6 11:15:11 thor postfix/smtp[16140]: connect to
mail.advocast.com[209.140.77.226]: Connection timed out (port 25)

Somehow postfix becomes convinced it needs to relay to mail.advocast.com for
ALL
virtual domains, instead of e.g. mail.poboxes.com in this case. Then that
same firewall
issue stops it. (Although otherwise I don't see how it would make any
progress other
than looping infinitely.)

> > If I leave the
> > "advocast.com whatever" line, they work -- for a few minutes, then die.
>
> You are using Postfix incorrectly, so what can you expect.

When "correct" usage is broken, I try my next-best guess. :(

-Jonathan