Philip Herron
2009-Nov-18 21:45 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
-----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-----
Boyd Stephen Smith Jr.
2009-Nov-18 22:08 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
On Wednesday 18 November 2009 15:45:16 Philip Herron wrote:> 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.autogeneratedCheck /etc/exim4 for the source files from which that file is generated. After editing, I believe you can run update-exim4.conf to regenerate /var/lib/exim4/config.autogenerated. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss at iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-''(. .)`-'' http://iguanasuicide.net/ \_/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20091118/31f62d75/attachment.pgp>
Philip Herron
2009-Nov-18 22:14 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Thanks for the reply but that is the problem, i cant seem to add to my config file when i add to the /var/lib/exim4/config.autogenerated and then i restart exim it regenerates itself again and my changes are gone :S i must have done something really wrong its bugged the hell out of me today :( - --Phil James Riach wrote:> 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: 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 >> >>_______________________________________________ Pkg-exim4-users mailing list Pkg-exim4-users at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksEcdgACgkQAhcOgIaQQ2H/tACfVlCtvepYF9ZWeLMahvbfC607 E5sAn3yBuI7tGNIne+1clztliPjbSKYo =GGtY -----END PGP SIGNATURE-----
James Riach
2009-Nov-18 22:15 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
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
>
Philip Herron
2009-Nov-18 22:41 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boyd Stephen Smith Jr. wrote:> On Wednesday 18 November 2009 15:45:16 Philip Herron wrote: >> 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 > > Check /etc/exim4 for the source files from which that file is > generated. After editing, I believe you can run update-exim4.conf > to regenerate /var/lib/exim4/config.autogenerated. > > ---------------------------------------------------------------------- > > > _______________________________________________ Pkg-exim4-users > mailing list Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-usersIf i am honest here, this is just really complicated my head is melting isn''t there some do x y and z and it WILL work? to fix this problem i don''t want to bother with exim auto figuring out the mailman aliases itself i want to keep it in the /etc/aliases for now to keep it simple. There are so many config''s all over the show where should i add entries? some documentations got me to just create files and add stuff is the configuration language pretty much a macro language? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksEd/0ACgkQAhcOgIaQQ2GSxACfWxFxFKf6XvMX+VLwB6AK1Qvn jm0AnRhmqYvDXRLCfbuVOCvNdKsX3s59 =wTo6 -----END PGP SIGNATURE-----
Boyd Stephen Smith Jr.
2009-Nov-18 22:58 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
On Wednesday 18 November 2009 16:14:51 Philip Herron wrote:> Thanks for the reply but that is the problem, i cant seem to add to my > config file when i add to the > > /var/lib/exim4/config.autogenerated > > and then i restart exim it regenerates itself again and my changes are > gone :S i must have done something really wrong its bugged the hell > out of me today :(*Don''t edit autogenerated files.* Edit the files under /etc/exim4, which are used as input to the generation routine. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss at iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-''(. .)`-'' http://iguanasuicide.net/ \_/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20091118/f6a0925a/attachment-0001.pgp>
Andrew Hodgson
2009-Nov-18 22:58 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
Philip Herron wrote:>If i am honest here, this is just really complicated my head is >melting isn''t there some do x y and z and it WILL work?Absolutely. When I configure Mailman on Debian I just copy and paste the configuration fragments from /usr/share/doc/mailman/README.Exim4.Debian (this is from Lenny packages, Etch packages don''t have this file iirc). Thanks. Andrew.
Peter Gossner
2009-Nov-19 09:42 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
On Wed, 18 Nov 2009 21:45:16 +0000 Philip Herron <herron.philip at googlemail.com> 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?(its a full blown mail server / macro language) Hi Phil, mate you can edit that file all you like shes not gunna touch it (well not in a good sense) ... best edit the stuff under /etc/exim/ I use the split conf style as then its in easier to digest pieces. On this debian system the single conf style uses : /etc/exim4/exim4.conf.template They both should reference update.exim4.conf.conf Read the head of that file(s) yeah its a little bizzzaaar at first but actually works really well :)> - --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
Eduardo M KALINOWSKI
2009-Nov-19 12:00 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
On Qua, 18 Nov 2009, Philip Herron wrote:> Thanks for the reply but that is the problem, i cant seem to add to my > config file when i add to the > > /var/lib/exim4/config.autogenerated > > and then i restart exim it regenerates itself again and my changes are > gone :S i must have done something really wrong its bugged the hell > out of me today :(The name says it''s autogenerated, so changes will be lost. You have to edit the source files. You''ll probably find reading the debian-specific README useful: http://pkg-exim4.alioth.debian.org/README/README.Debian.html -- Sacher''s Observation: Some people grow with responsibility -- others merely swell. Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Marc Haber
2009-Nov-19 21:59 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
On Wed, Nov 18, 2009 at 10:14:51PM +0000, Philip Herron wrote:> Thanks for the reply but that is the problem, i cant seem to add to my > config file when i add to the > > /var/lib/exim4/config.autogenerated > > and then i restart exim it regenerates itself again and my changes are > gone :S i must have done something really wrong its bugged the hell > out of me today :(######### # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING # This file is generated dynamically from the files in # the conf.d/ directory, or from exim4.conf.template respectively. # Additional information is read from update-exim4.conf.conf # This version of the file was created from the directory /etc/exim4 # Any changes you make here will be lost. # See /usr/share/doc/exim4-base/README.Debian.gz and update-exim4.conf(8) # for instructions of customization. # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING # WARNING WARNING WARNING ######### Do we need to make the warning more explicit? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Marc Haber
2009-Nov-19 22:10 UTC
[Pkg-exim4-users] pipe_transport unset in system_aliases router
Hi, On Wed, Nov 18, 2009 at 09:45:16PM +0000, Philip Herron wrote:> Why does the config have to be 800+ lines long lol?Because exim without config is rather dumb and needs a lot of explaining in the config to know that it''s a mail server. This is the root of exim''s flexibility. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190