OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Alias to commands (Mailman virtual aliases)

From: Wietse Venema (wietseporcupine.org)
Date: Fri Jul 15 2005 - 10:22:44 CDT


I suggest that you report the result of a few relevant
tests with the postmap command.

> virtual_alias_maps = hash:$config_directory/virtual regexp:$config_directory/map-regexp/virtual-mailman

For the hash table (which comes first) you'd need to do all
the lookups that are documented in virtual(5)

    postmap -q userdomain hash:/somewhere/virtual
    postmap -q user hash:/somewhere/virtual
    postmap -q domain hash:/somewhere/virtual

(the second is needed only when domain is listed in $myorigin
or $mydestination).

For the regexp table you'd merely have to run the full address:

    postmap -q userdomain regexp:/somewhere/map-regexp/virtual-mailman

This will clarify where the lookups fail, or where the succeed
in the wrong map.

        Wietse