Re: [exim] Installing mailman with Exim (Fedora) - how?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Martin A. Brooks
Fecha:  
A: Mark Kubrick
Cc: exim-users
Asunto: Re: [exim] Installing mailman with Exim (Fedora) - how?
Mark Kubrick wrote:
> It seems nigh on the impossible to find a straightforward explaination of
> installing MailMan and having it work with Exim (OS is Fedora). Can anybody
> help? I am do sick of reading about UID/GIDs, transports and directors and
> getting nowhere. All I want is a mailing list!
>


In a nutshell:


shannon:~# cat /etc/exim4/conf.d/router/202_mailman
mailman_router:
        driver = accept
        domains = +mm_domains
        require_files = MM_LISTCHK
        local_part_suffix_optional
        local_part_suffix = -admin : -bounces : -bounces+* : -confirm :
-confirm+* : -join : -leave : -owner : -request : -subscribe : -unsubscribe
        transport = mailman_transport
        no_more


shannon:~# cat /etc/exim4/conf.d/transport/20_mailman
mailman_transport:
    driver = pipe
    command = MM_WRAP \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              $local_part
    current_directory = MM_HOME
    home_directory = MM_HOME
    user = MM_UID
    group = MM_GID


shannon:~# cat /etc/exim4/conf.d/main/06_mailman
MM_HOME=/var/lib/mailman
MM_UID=list
MM_GID=list
domainlist mm_domains=lists.antibodymx.net
MM_WRAP=MM_HOME/mail/mailman
MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck



-- 
Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam & anti-virus
    Consultant    |  martin@???      | filtering. Inoculate
  antibodymx.net  |  m: +447896578023           | your mail system.