HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Exim4 keeps forwarding emails instead of delivering them (

HinterLan 14th December 2011 05:24

Exim4 keeps forwarding emails instead of delivering them
We've set up an exim4 email server on a Debian6 system. It'll accept emails, and the forwards them upstream to our ISP, even when the emails are for the local system. How do I get it to stop doing this, and deliver the messages to its own mailboxes?

nbhadauria 14th December 2011 10:47

check for following in exim.conf

domainlist local_domains = @ : localhost : localhost.localdomain
domainlist virtual_domains = dsearch;/var/spool/mail/conf/virtualdomains

HinterLan 14th December 2011 11:07

Here's the conf file generated by dpkg-reconfigure exim4-config.
I don't see anything for a domainlist.

dc_other_hostnames=', net,'
dc_local_interfaces=' ;'

I'm also wondering if the problem is the MDA instead of the MTA.

nbhadauria 14th December 2011 11:18

you have to check it use some command like ..

exim4 -C /etc/exim/exim_example.conf -d -bt

search for your localhost entry ..

grep -iR "domainlist local_domains" /etc/exim4/

HinterLan 14th December 2011 11:31

Ran the command as you said and I got this:

Exim version 4.72 uid=0 gid=0 pid=3498 D=fbb95cfd
Berkeley DB: Berkeley DB 4.8.30: (April 9, 2010)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS move_frozen_messages Content_Scanning DKIM Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
GnuTLS compile-time version: 2.8.6
GnuTLS runtime version: 2.8.6
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=3498
auxiliary group list: <none>
Exim configuration error in line 19 of /etc/exim4/update-exim4.conf.conf:
main option "dc_eximconfig_configtype" unknown
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3498 terminating with rc=1 >>>>>>>>>>>>>>>>

That doesn't look good.:(

All times are GMT +2. The time now is 14:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.