Re: non-ldap aliases lookup q

"Keith T. Garner" <[email protected]> Fri, 3 Dec 2004 11:13:50 -0600
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
On Thu, Dec 02, 2004 at 04:35:57, Duane Powers said:
>    I'm  trying  to add virtual mailman lists to my existing jamm install.
>    I've created the lists and put them into an aliases file (lets call it
>    mailman.aliases)
> 
>    When  I  send  email  to  the new virtual list, it bounces with a user
>    unknown   error,   Where   can   I   learn  what  the  different  maps
>    (virtual_aliases,  virtual_transport,  aliases,  local_recipient_maps)
>    do,  so I can figure out where to add the hash:mailman.aliases line to
>    my  main.cf,  or  how  do I get postfix to first check for an alias in
>    ldap, then check the file before bouncing the inbound email?

I haven't tried it with mailman yet (although, I will be in a month or
so) but here's what I do with ecartis.

I have an ecartis.virtuals file that looks something like this
(there's no reason you couldn't do this in jamm, come to think of it)

    [email protected]   list.domain.com
    [email protected]   list-owner.domain.com

You get the idea....then I have an ecartis.aliases file that looks
like this:

    list.domain.com   "|/var/ecartis/ecarts -stuff"
    [email protected]   "|/var/ecartis/ecartis -other -stuff"

Then my postfix main.cf has lines that look like this:

    virtual_alias_maps = ldap:accountsmap, ldap:aliases,
                         hash:/var/ecartis/postfix/ecartis.virtual,
                         regexp:/etc/postfix/regexp_table

    alias_maps = hash:/etc/aliases,
                 hash:/var/ecartis/postfix/ecartis.aliases

There's no reason you couldn't put the mappings that are in
ecartis.virtuals into jamm as an JammAlias with the destination being
the "real" alias.  However, I keep them in the files in a directory
next to each other so its not in three different places.

I would think you would need to do something similar for mailman.

Keith

-- 
 Keith T. Garner                                        [email protected]
                "Make no little plans; they have no magic to
                   stir men's blood." - Daniel H. Burnham


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/