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: Thu Aug 05 2004 - 17:34:45 CDT


On Tue, 2004-08-03 at 05:29, Victor Duchovni wrote:
> Yes, I looked more closely and you are right, permit_auth_destination
> mishandles virtual_mailbox_domains with a "dash" when $recipient_delimiter
> is "-". This problem was introduced in postfix-1.1.11-20020717 and was
> fixed with the introduction of address classes.
>
> Here's a patch for the snapshot, apply fix your system and then upgrade to
> 2.1.4 (after carefully reading the 2.0 *AND* 2.1 RELEASE_NOTES).

Thanks again, Victor. A patch was more than I expected.

Unfortunately, the version I'm running, which I think is
postfix-1.1.11-20020719, expects a flags argument to check_maps_find, so
this patch doesn't compile. Most of the other calls to that just pass 0;
I could do the same if you'd like.

Or, since I've hacked this to work, I can just leave it as is until I've
had the chance to upgrade. That's fine by me.

Thanks,

William