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: William Pietri (williamscissor.com)
Date: Tue Aug 03 2004 - 01:00:21 CDT


On Mon, 2004-08-02 at 10:35, William Pietri wrote:
> Hi! I'm using postfix-1.1.11-20020719, which has been working fine for
> me and my array of virtual domains for the last couple of years. In
> adding a few new virtual domains, though, I'm getting weird results. The
> new domains deliver fine if I'm sending mail from a host in mynetworks,
> but they are rejected with "Relay access denied" from non-trusted
> senders.

Ok, I've looked into this more. As I mentioned initially, the debugging
output made me wonder if it had something to do with the dash, as there
were log lines that looked like this:

        match_list_match: us-election.org: no match
        maps_find: us-election.org: not found
        maps_find: us: not found

If I change "us-election.org" in my config files to "usxelection.org",
it works fine. Also, if I add the entry "us: maildrop" to my vdomains
file, it works fine. And if I switch back, it still doesn't work.

This suggests to me that my config files are fine, but that I am indeed
running across some sort of dash-related bug in Postfix. From Victor's
comments, I gather this is a known bug.

Until I have time to upgrade, is there a better option than putting "us:
maildrop" in my vdomains file? That strikes me as a little broad.

Thanks,

William