RE: [exim] Incorrect mail being received on mailman list

Top Page
Delete this message
Reply to this message
Author: Richard Hobbs
Date:  
To: exim-users
Subject: RE: [exim] Incorrect mail being received on mailman list
Hello,

Thank you for both responses so far... Here are our mailman general
settings, router and transport:

============================================================
# Mailman stuff
# Home dir for your Mailman installation -- aka Mailman's prefix
# directory.
MAILMAN_HOME=/var/lib/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper

# Domains that your lists are in - colon separated list
# you may wish to add these into local_domains as well
domainlist mm_domains=crl.toshiba.co.uk

# User and group for Mailman, should match your --with-mail-gid
# switch to Mailman's configure script.
MAILMAN_USER=list
MAILMAN_GROUP=list
# End of Mailman stuff
============================================================
mailman_router:
  driver = accept
  require_files = MAILMAN_HOME/lists/$local_part/config.pck
  local_part_suffix_optional
  local_part_suffix = -bounces : -bounces+* : \
                      -confirm+* : -join : -leave : \
                      -owner : -request : -admin : \
                      -confirm : -subscribe : -unsubscribe
  domains = !+local_domains:!+mm_domains
  transport = mailman_transport
============================================================
mailman_transport:
  driver = pipe
  command = MAILMAN_WRAP \
            '${if def:local_part_suffix \
                  {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                  {post}}' \
            $local_part
  current_directory = MAILMAN_HOME
  home_directory = MAILMAN_HOME
  user = MAILMAN_USER
  group = MAILMAN_GROUP
============================================================


You will notice that I have put a domainlist in the general config, and then
referenced it in the router, but it's still accepting mail for any old
domain as long as the list name exists.

Thanks again,
Richard.

-- 
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Web: http://www.toshiba-europe.com/research/
Email: richard.hobbs@???
Tel: +44 1223 376964        Mobile: +44 7811 803377 


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Nigel Metheringham
> Sent: 09 August 2005 15:48
> To: exim-users@???
> Subject: Re: [exim] Incorrect mail being received on mailman list
>
> On Tue, 2005-08-09 at 15:37 +0100, Richard Hobbs wrote:
> > Should mailman be reconfigured to only accept mail for
> particular domains,
> > or do I have the routers in a non-perfect order?
>
> The mailman router should include a 
>     domains = ...
> phrase - it could be
>     domains = domain.com

>
> as is shown in the HOWTO:-
>     http://www.exim.org/howto/mailman21.html#roconf

>
>     Nigel.

>
> -- 
> [ Nigel Metheringham           Nigel.Metheringham@??? ]
> [ - Comments in this message are my own and not ITO opinion/policy - ]

>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet
> Managed Scanning Services - powered by MessageLabs. For
> further information visit http://www.mci.com
>




_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com