Discussion:
[Mailman-Users] Configuring Exim4 with Mailman
Richard Ibbotson
2014-09-08 13:20:24 UTC
Permalink
Hi

Don't if I should be asking this question here but I'll try anyway. I
suppose I should ask on the Exim list but I'm not sure about Mailman
configuration. I've read a lot of web pages about configuration and
searched a lot with Google. I'm not getting there.

I'm setting up a Mailman list to run with Exim4. Debian Squeeze. In
/etc/mailman/mm_cfg.py I've set these extra parameters....

DEFAULT_EMAIL_HOST = 'list.domain.org'
DEFAULT_URL_HOST = 'www.domain.org'
MTA=None
DELIVERY_MODULE = 'SMTPDirect'

Is this correct ? Do I need to add something else.

Sending mail with ....echo "This is a test." | mail -s Testing
***@gmail.com - works for me. Mail arrives at my Gmail
account. Mail arrives from - ***@hostname.domain.org

My Exim4 conf file looks like this...
/etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='internet'
dc_other_hostnames='hostname.domain.org; hostname;
localhost.localdomain; localhost'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'

DNS looks good. Firewall ports opened for www and smtp and pop3. The
Exim4 /var/log/exim4/mainlog looks like this...


2014-09-08 13:23:51 exim 4.80 daemon started: pid=27351, -q30m,
listening for SMTP on [127.0.0.1]:25
2014-09-08 13:53:52 1XQtTa-0004wk-10 == ***@mail.domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:52 1XQwfx-0006Wr-5a == ***@host.domain.org
R=local_user T=maildir_home defer (2): No such file or directory:
failed to chdir to /var/list
2014-09-08 13:53:52 1XQtTa-000513-Qk == ***@mail.domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:52 1XQihA-0003BT-IF domain.org [178.62.38.94]
Connection refused
2014-09-08 13:53:52 1XQihA-0003BT-IF == mailman-***@domain.org
R=dnslookup T=remote_smtp defer (111): Connection refused
2014-09-08 13:53:53 1XQj9j-0003eX-4z == mailman-***@domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:53 1XQj9j-0003eO-2H == mailman-***@domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:53 1XQj9i-0003eI-VE == hostname-***@domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:53 1XQj9j-0003eU-40 == hostname-***@domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:54 1XQihA-0003BV-J7 == hostname-***@domain.org
R=dnslookup T=remote_smtp defer (-53): retry time not reached for any
host
2014-09-08 13:53:54 End queue run: pid=28519

Anyone see what I'm doing wrong here ?
--
Richard

https://twitter.com/SleepyPenguin1
Mark Sapiro
2014-09-09 01:19:21 UTC
Permalink
Post by Richard Ibbotson
My Exim4 conf file looks like this...
/etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='internet'
dc_other_hostnames='hostname.domain.org; hostname;
localhost.localdomain; localhost'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
See the article at <http://exim.org/howto/mailman21.html> for
information on configuring a transport and router for Mailman in Exim.
--
Mark Sapiro <***@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
Loading...