[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim 4.20 + Mailman

On Tue, Jun 01, 2004 at 10:25:03AM +0200, David Ross wrote:
> Hi
> Has anyone set up Exim 4.20 and mailman successfully and if so do you
> mind if I take a look at your exim.conf? I've done this before with Exim
> 3 but am struggling to find working examples for exim4.


I followed the howto on the exim website:


As I am using the split config with exim4 I created a transport called

	driver = pipe
	command =	/var/lib/mailman/mail/mailman \
			'${if def:local_part_suffix \
			{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
			{post}}' \
	current_directory = /var/lib/mailman
	home_directory = /var/lib/mailman
	user = list
	group = list

and a router called 091_mailman_router:

	driver = accept
	domains = example.com
	require_files = /var/lib/mailman/lists/$local_part/config.pck
	local_part_suffix = 	-bounces : -bounces+* : \
				-confirm+* : -join : -leave : \
				-owner : -request : -admin : \
				-subscribe : -unsubscribe
	transport = mailman_transport

those numbers worked for me ensuring they were used before any alias

Doing it that way means that you don't have to add aliases for each new
list as it checks the lists directory to see if there is a list called
whatever there.


Attachment: signature.asc
Description: Digital signature

Reply to: