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: Wietse Venema (wietseporcupine.org)
Date: Fri Oct 06 2000 - 12:53:28 CDT


Jonathan Ellis:
> > 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)

If you APPEND advocast.com to mydestination, then Postfix will not
attempt to make an SMTP connection to the host specified in the MX
record for advocast.com.

Unless you did one of the following things:

- You've typo-ed. Check output from postconf -n mydestination, see
if it really lists advocast.com.

- You have configured a transport mapping that explicitly routes
mail for advocast.com.

- You have changed the master map so that local mail is given to
the smtp client instead.

Or any other of the millions of ways to misconfigure. If your
postconf -n output is over a half dozen lines it is probably wrong.

        Wietse