Bug#309514: Re: Bug#309514: tag in update-exim4.conf.conf ignored

Marc Haber Marc Haber <mh+mail0517@zugschlus.de>, 309514-maintonly@bugs.debian.org
Fri, 27 May 2005 15:04:01 +0200


Hi,

On Fri, May 27, 2005 at 01:21:45PM +0100, Marcos D. Marado Torres wrote:
> dis-hab:~# exim4 -d -bh 82.154.251.90

> processing "accept"
> check domains = +local_domains
> cached yes match for +local_domains
> cached lookup data = NULL
> dis-hab.com in "+local_domains"? yes (matched "+local_domains" - cached)

This one is being accepted because it is in a local domain.

> queued for maildir_home transport: local_part = magicbrain

And it is correctly delivered locally.

> Script started on Fri May 27 13:14:16 2005
> dis-hab:~# exim4 -d -bh 82.154.251.90
> MAIL FROM:<marado@student.dei.uc.pt>
> RCPT TO:<magicbrain@sunsai.biz>

> processing "accept"
> check domains = +local_domains
> cached yes match for +local_domains
> cached lookup data = NULL
> sunsai.biz in "+local_domains"? yes (matched "+local_domains" - cached)
> check verify = recipient

This one is as well being accepted because it is in a local domain.

> queued for maildir_home transport: local_part = magicbrain

And thus locally delivered as well.

I don't see the problem you have been reporting in these logs, both
messages would have been accepted just fine.

The log entry in your last message showed a mail being rejected coming
in from 193.137.203.228, so a sample session with exim4 -d -bh
193.137.203.228 would be helpful here.

> dis-hab:~# /usr/sbin/exim4 -bV
> Exim version 4.50 #1 built 03-Mar-2005 00:57:36
> Copyright (c) University of Cambridge 2004
> Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
> Support for: iconv() IPv6 GnuTLS
> Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch 
> nis nis0 passwd
> Authenticators: cram_md5 plaintext
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
> Fixed never_users: 0
> Configuration file is /var/lib/exim4/config.autogenerated
> dis-hab:~#

Ok, you're using the Debconf scheme. Good.

> # /etc/exim4/update-exim4.conf.conf
> #
> # Edit this file and /etc/mailname by hand and execute update-exim4.conf
> # yourself or use 'dpkg-reconfigure exim4-config'
> 
> dc_eximconfig_configtype='internet'
> dc_other_hostnames='localhost.localdomain:dis-hab.com:sunsai.biz'
> dc_local_interfaces=''
> dc_readhost=''
> dc_relay_domains=''
> dc_minimaldns='false'
> dc_relay_nets='192.168.0.0/16'
> dc_smarthost=''
> CFILEMODE='644'
> dc_use_split_config='false'
> dc_hide_mailname=''
> dc_mailname_in_oh='true'
> dc_localdelivery=maildir_home
> dis-hab:~#

This looks fine as well. localhost.localdomain looks strange to me,
but that shouldn't be a real problem here.

> Any help?

All examples you have given deliver just fine, I have yet to see a
debug log of an actually failed message.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835