OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Strange vhosts problem, possibly involving dash

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Aug 02 2004 - 15:03:03 CDT


On Mon, Aug 02, 2004 at 11:13:49AM -0700, William Pietri wrote:

>
> # handle virtual domains
> local_recipient_maps = $alias_maps unix:passwd.byname
> $virtual_mailbox_maps

Don't list virtual_mailbox_maps in local_recipient_maps, unless you
use virtual as a mailbox_transport or fallback_transport? Perhaps you
do. Please clarify.

> transport_maps = hash:/etc/postfix/transport, hash:/etc/postfix/vdomains
> virtual_maps = hash:/etc/postfix/virtual
> virtual_mailbox_maps = hash:/etc/postfix/vdomains, hash:/etc/userdb

So your virtual domains are handled by maildrop.

> Here are the interesting entries for the non-working domain and the
> working one from virtual_maps:
>
> us-election.org maildrop:
> pota.to maildrop:

Is this in the transport table or the vdomains table? Postfix 1.1.x only
accepts mail for domains in:

        $mydestination
        matching a key in virtual_maps
        matching a key in virtual_mailbox_maps
        $relay_domains

Clearly us-election.org is not listed in any of the above.

> And here they are from virtual_mailbox_maps:
>
> postmasterus-election.org williamscissor.com
> abuseus-election.org williamscissor.com
> rootus-election.org williamscissor.com
> us-election.org catchallus-election.org
> pota.to catchallpota.to

No bare domain key here.

> As I mentioned, this same style of thing seems to work fine for my other
> virtual domains, so I'm puzzled as to why this doesn't work for these
> new ones.

Your other domains are listed in more places than you showed.

> > Postfix 2.x does not exhibit this anomaly.
>
> Ah, ok. This, combined with your mention of a known bug regarding
> dashes, suggests that my next step is to upgrade. I was hoping to avoid
> that just now, but I'll try to look at it as an opportunity. :-)
>

Fix it first then upgrade later, taking the time to lab-test and read
the documentation. Don't upgrade broken systems if you can help it,
you can easily go from one problem to many problems.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>