[Mailman-Users] [exim] Mailman with exim4 on Debian Sarge

Oliver König k.oliver at t-online.de
Fri Sep 1 13:40:49 CEST 2006


On Friday 01 September 2006 12:21, Marc Haber wrote:
> On Fri, 1 Sep 2006 00:22:35 +0200, Oliver König <k.oliver at t-online.de>
>
> wrote:
> >/var/log/exim4/mainlog:
> >2006-09-01 00:00:52 H=mailout01.sul.t-online.com [194.25.134.80]
> >F=<k.oliver at t-online.de> rejected RCPT <news at server.windfinder.com>: relay
> >not permitted
>
> if mailout01.sul.t-online.com is your smarthost, then that box doesn't
> like to relay for you. Please note that T-Online has a rather severe
> daily mail volume limit and thus you won't have much fun with running
> a mailing list server via the T-Online mail servers.
>
> Additional to that, please make sure to read the documentation that
> came with your Debian package. May I ask how you managed to miss the
> pointers to the Debian specific mailing list and where you found the
> pointer to exim-users?
>
> Greetings
> Marc
Sorry, I forgot to say that I actually read /usr/share/doc/mailman/README.EXIM 
and changed my config. Still could not fix the problem:

This is my actual configuration:
/etc/mailman/mm_cfg.py:
[..]
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = 'server.windfinder.com'
[..]
------
/etc/exim4/exim4.conf.template (accepted after exim4 restart):
# Home dir for your Mailman installation -- aka Mailman's prefix
# directory.
MAILMAN_HOME=/var/lib/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/mailman

# User and group for Mailman, should match your --with-mail-gid
# switch to Mailman's configure script.
MAILMAN_USER=list
MAILMAN_GROUP=daemon

[..]
begin routers

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
  transport = mailman_transport

[..]
begin transports

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
[..]
-----

When a subscriber posts to the list /var/log/exim4/mainlog says:
2006-09-01 13:37:27 H=mailout09.sul.t-online.com [194.25.134.84] 
F=<k.oliver at t-online.de> rejected RCPT <news at server.windfinder.com>: relay 
not permitted

Any idea how to allow postings from subscribers? Thanks.

Oliver



More information about the Mailman-Users mailing list