[Pkg-exim4-users] pipe_transport unset in system_aliases router

James Riach james at jriach.co.uk
Wed Nov 18 22:15:08 UTC 2009


Hi Phil,

I followed some guide to setup mailman but not sure which one, it works 
so maybe posting what I have setup will help?

First I define a bunch of mailman macros at the top of my config:

# Mailman Macros
MM_HOME = /var/lib/mailman
MM_UID = list
MM_GID = list
MM_WRAP = MM_HOME/mail/mailman
MM_LISTCHK = MM_HOME/lists/${lc::$local_part}/config.pck

Then in the routers section I have:

mailman_router:
    driver            = accept
    domains        = jriach.co.uk
    require_files        = MM_LISTCHK
    local_part_suffix_optional
    local_part_suffix    = -admin :\
                -bounces : -bounces+* :\
                -confirm : -confirm+* :\
                -join : -leave :\
                -owner : -request :\
                -subscribe : -unsubscribe
    transport        = mailman_send

Then in the transport section I have:

mailman_send:
    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

I hope that helps, it works an absolute treat for me :)

James

Philip Herron wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey guys
>
> My first post to this list, but i am about to rip my hair out so sorry
> if i come across annoyed.
>
> I've been trying to setup mailman with exim, I've followed like 100's
> of different documentations and not one of them worked. exim4-config
> sets up exim to handle mail as a basic mail server pretty well. The
> error is when posting to the list i get "pipe_transport unset in
> system_aliases router" and the /etc/aliases are there but it doesn't
> seem to pick them up so i read nothing but mailing lists, which isn't
> documentation lol.
>
> But to fix my problem all i find is i need to add this to the routers
> section pipe_transport = address_pipe, but my config is auto-generated
> and is located: /var/lib/exim4/config.autogenerated
>
> And when i add anything to this and restart it omits any changes and i
> have no idea what to do. No-one in irc #debian is helping and I've
> bugged the #exim guys to death and the #mailman guys lol.
>
> Why does the config have to be 800+ lines long lol?
>
> - --Phil
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAksEaugACgkQAhcOgIaQQ2EC5gCfRxDrnWdXppFX31EbbVcoSQ6E
> QU4An2gSCnPhSYtrjZr4stZP27JhCDdW
> =brwT
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>   


More information about the Pkg-exim4-users mailing list