Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1014424: exim4-config: recieve warnings about messages being delayed by Smarthost

215 views
Skip to first unread message

Tim McConnell

unread,
Jul 5, 2022, 3:30:04 PM7/5/22
to
Package: exim4-config
Version: 4.95-6
Severity: important
X-Debbugs-Cc: tmccon...@gmail.com

Dear Maintainer,
I'm unsure what lead to this, I've been having issues with Mail delivery on
localhost for a while now. I'm starting to get mails from Mail Delivery system
with the subject line of "Warning: Message 'Blah'delayed for 24 hours"
The body reads:
This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its
recipients after more than 24 hours on the queue on localhost.

The message identifier is: 1o8Jxl-007SqX-3Q
The subject of the message is: popularity-contest submission
The date of the message is: Mon, 04 Jul 2022 06:09:57 -0500

The address to which the message has not yet been delivered is:

sur...@popcon.debian.org
Delay reason: lookup failed for all hosts in smarthost router:
host_find_failed=ignore host_all_ignored=defer

No action is required on your part. Delivery attempts will continue for
some time, and this warning may be repeated at intervals if the message
remains undelivered. Eventually the mail delivery software will give up,
and when that happens, the message will be returned to you.

The mail Delivery report attachment reads:
Reporting-MTA: dns; localhost

Action: delayed
Final-Recipient: rfc822;sur...@popcon.debian.org
Status: 4.0.0

email headers attachment reads:
From: root <ro...@debiantim.midcoip.net>
To: sur...@popcon.debian.org
Subject: popularity-contest submission
Date: Mon, 04 Jul 2022 06:09:57 -0500

I don't have anything other than what Debian installs by Default for mail
programs, DNS. DHCP or anything else like that.

I have been having another issue where reading local mail in Evolution (version
3.44.2-1 )->On this Computer->Inbox causes my CPU to go to 100%.
I can't help but to wonder if the two are related?
Let me know what logs you need and how to get them and I'll be happy to send
them.
Thanks!


-- Package-specific info:
Exim version 4.95 #2 built 20-May-2022 17:37:43
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2020
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS TLS_resume move_frozen_messages DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR Experimental_Queue_Ramp SOCKS SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 external plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated
# /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'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='DebianTim.midcoip.net; localhost'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.DebianTim.midcoip.net'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:DebianTim.midcoip.net
# /etc/default/exim4
EX4DEF_VERSION=''

# 'combined' - one daemon running queue and listening on SMTP port
# 'no' - no daemon running the queue
# 'separate' - two separate daemons
# 'ppp' - only run queue with /etc/ppp/ip-up.d/exim4.
# 'nodaemon' - no daemon is started at all.
# 'queueonly' - only a queue running daemon is started, no SMTP listener.
# setting this to 'no' will also disable queueruns from /etc/ppp/ip-up.d/exim4
QUEUERUNNER='combined'
# how often should we run the queue
QUEUEINTERVAL='30m'
# options common to quez-runner and listening daemon
COMMONOPTIONS=''
# more options for the daemon/process running the queue (applies to the one
# started in /etc/ppp/ip-up.d/exim4, too.
QUEUERUNNEROPTIONS=''
# special flags given to exim directly after the -q. See exim(8)
QFLAGS=''
# Options for the SMTP listener daemon. By default, it is listening on
# port 25 only. To listen on more ports, it is recommended to use
# -oX 25:587:10025 -oP /run/exim4/exim.pid
SMTPLISTENEROPTIONS=''

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-rt-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages exim4-config depends on:
ii adduser 3.121
ii debconf [debconf-2.0] 1.5.79

Versions of packages exim4-config recommends:
ii ca-certificates 20211016

exim4-config suggests no packages.

-- Configuration Files:
/etc/exim4/passwd.client [Errno 13] Permission denied: '/etc/exim4/passwd.client'

-- debconf information:
exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/hide_mailname: false
* exim4/dc_smarthost: mail.DebianTim.midcoip.net
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
exim4/dc_readhost:
* exim4/dc_local_interfaces: 127.0.0.1 ; ::1
* exim4/dc_localdelivery: mbox format in /var/mail/
* exim4/use_split_config: false
* exim4/dc_other_hostnames: DebianTim.midcoip.net; localhost
* exim4/dc_minimaldns: false
exim4/no_config: true
exim4/exim4-config-title:
* exim4/mailname: DebianTim.midcoip.net
exim4/dc_postmaster: tmick

Marc Haber

unread,
Jul 5, 2022, 3:30:04 PM7/5/22
to
On Tue, Jul 05, 2022 at 02:16:26PM -0500, Tim McConnell wrote:
> Delay reason: lookup failed for all hosts in smarthost router:
> host_find_failed=ignore host_all_ignored=defer
>
> dc_other_hostnames='DebianTim.midcoip.net; localhost'

That host name doesnt resolve here. Does it resolve at your place?

Greetings
Marc

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

Marc Haber

unread,
Jul 5, 2022, 3:40:03 PM7/5/22
to
On Tue, Jul 05, 2022 at 09:25:55PM +0200, Marc Haber wrote:
> On Tue, Jul 05, 2022 at 02:16:26PM -0500, Tim McConnell wrote:
> > Delay reason: lookup failed for all hosts in smarthost router:
> > host_find_failed=ignore host_all_ignored=defer
> >
> > dc_other_hostnames='DebianTim.midcoip.net; localhost'
>
> That host name doesnt resolve here. Does it resolve at your place?

My mistake. I wanted to paste this line:

dc_smarthost='mail.DebianTim.midcoip.net'

and that's the host name that doesn't seem to resolve.

Marc Haber

unread,
Jul 5, 2022, 4:00:03 PM7/5/22
to
On Tue, Jul 05, 2022 at 02:46:25PM -0500, tmccon...@gmail.com wrote:
> Not sure if it resolves, I use dww and it opens the help files using
> the DebianTim.midcoip.net part but if I put that
> (mail.DebianTim.midcoip.net) into a browser that address does not. But
> I didn't configure it, Debian did when I installed it?

Debian asks for the smarthost and suggests a default. That default is
wrong for you. Please fix that with dpkg-reconfigure -plow exim4-config.

tmccon...@gmail.com

unread,
Jul 5, 2022, 4:00:03 PM7/5/22
to
On Tue, 2022-07-05 at 21:37 +0200, Marc Haber wrote:
> On Tue, Jul 05, 2022 at 09:25:55PM +0200, Marc Haber wrote:
> > On Tue, Jul 05, 2022 at 02:16:26PM -0500, Tim McConnell wrote:
> > >     Delay reason: lookup failed for all hosts in smarthost
> > > router:
> > >     host_find_failed=ignore host_all_ignored=defer
> > >
> > > dc_other_hostnames='DebianTim.midcoip.net; localhost'
> >
> > That host name doesnt resolve here. Does it resolve at your place?
>
> My mistake. I wanted to paste this line:
>
> dc_smarthost='mail.DebianTim.midcoip.net'
>
> and that's the host name that doesn't seem to resolve.
>
> Greetings
> Marc
>

tmccon...@gmail.com

unread,
Jul 5, 2022, 4:30:03 PM7/5/22
to
okay ran the command you gave, accepted the defaults and took
mail.<Host> out of the configuration. Now, how do verify that mail was
sent and my local settings are correct?
-Tim

tmccon...@gmail.com

unread,
Jul 5, 2022, 7:00:03 PM7/5/22
to
On Tue, 2022-07-05 at 21:53 +0200, Marc Haber wrote:
> On Tue, Jul 05, 2022 at 02:46:25PM -0500,
> tmccon...@gmail.com wrote:
> > Not sure if it resolves, I use dww and it opens the help files
> > using
> > the DebianTim.midcoip.net part but if I put that
> > (mail.DebianTim.midcoip.net) into a browser that address does not.
> > But
> > I didn't configure it, Debian did when I installed it?
>
> Debian asks for the smarthost and suggests a default. That default is
> wrong for you. Please fix that with dpkg-reconfigure -plow exim4-
> config.
>
> Greetings
> Marc
>
>
Well now the message is frozen?
Message 1o8Jxl-007SqX-3Q has been frozen.
The sender is <ro...@debiantim.midcoip.net>.

The following address(es) have yet to be delivered:
sur...@popcon.debian.org: remote host address is the local host

Marc Haber

unread,
Jul 6, 2022, 3:30:04 AM7/6/22
to
On Tue, Jul 05, 2022 at 05:51:54PM -0500, tmccon...@gmail.com wrote:
> Well now the message is frozen?
> Message 1o8Jxl-007SqX-3Q has been frozen.
> The sender is <ro...@debiantim.midcoip.net>.
>
> The following address(es) have yet to be delivered:
> sur...@popcon.debian.org: remote host address is the local host

I apologize in advance for all misunderstanding, but this all looks so
much like misconfiguration that I would like you to consult the user
support channels. I don't see a bug here.

What do your logs say regarding the message? Do you know how exim works?
Did you, by any chance, configure your local host as the smart host for
your local host?

tmccon...@gmail.com

unread,
Jul 6, 2022, 10:40:03 AM7/6/22
to


On Wed, 2022-07-06 at 09:21 +0200, Marc Haber wrote:
> On Tue, Jul 05, 2022 at 05:51:54PM -0500,
> tmccon...@gmail.com wrote:
> > Well now the message is frozen?
> > Message 1o8Jxl-007SqX-3Q has been frozen.
> > The sender is <ro...@debiantim.midcoip.net>.
> >
> > The following address(es) have yet to be delivered:
> >   sur...@popcon.debian.org: remote host address is the local host
>
> I apologize in advance for all misunderstanding, but this all looks
> so
> much like misconfiguration that I would like you to consult the user
> support channels. I don't see a bug here.
>
> What do your logs say regarding the message? Do you know how exim
> works?
> Did you, by any chance, configure your local host as the smart host
> for
> your local host?
>
> Greetings
> Marc
>

>Do you know how exim works? as far as I can tell from the
documentation it is supposed to allow for send and receiving mail
without programs like sendmail, procmail, etc. How it actually does it
wasn't very clear.
> Did you, by any chance, configure your local host as the smart host
for your local host? The only thing I changed was the "mail." in the
host name. Which is what I did before when I first installed Debian on
this machine (and the previous releases) and never had any issues. So
everything is default om thee installation screens. From what I could
tell from the documentation that's what you should do if you're unsure
of what you're doing. 

From main log in /var/log/exim4
2022-07-06 07:36:32 1o94Gd-00D4PS-8L <= ro...@debiantim.midcoip.net
U=root P=local S=3246
2022-07-06 07:36:32 1o94Gd-00D4PS-8L => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 07:36:32 1o94Gd-00D4PS-8L Completed
2022-07-06 07:36:33 1o94Gf-00D4Qt-08 <= ro...@debiantim.midcoip.net
U=root P=local S=2831
2022-07-06 07:36:33 1o94Gf-00D4Qt-08 => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 07:36:33 1o94Gf-00D4Qt-08 Completed
2022-07-06 07:48:26 Start queue run: pid=3199445
2022-07-06 07:48:26 1o8Jxl-007SqX-3Q Message is frozen
2022-07-06 07:48:26 End queue run: pid=3199445
2022-07-06 07:53:42 1o94XG-00DlHj-MZ <= ro...@debiantim.midcoip.net
U=root P=local S=539
2022-07-06 07:53:42 1o94XG-00DlHj-MZ => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 07:53:42 1o94XG-00DlHj-MZ Completed
2022-07-06 07:53:43 1o94XH-00DlJE-0G <= ro...@debiantim.midcoip.net
U=root P=local S=467
2022-07-06 07:53:43 1o94XH-00DlJE-0G => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 07:53:43 1o94XH-00DlJE-0G Completed
2022-07-06 07:56:23 1o94Zr-00DmGr-Id <= ro...@debiantim.midcoip.net
U=root P=local S=2257108
2022-07-06 07:56:24 1o94Zr-00DmGr-Id => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 07:56:24 1o94Zr-00DmGr-Id Completed
2022-07-06 08:05:40 1o94ip-00DmSL-Uu <= ro...@debiantim.midcoip.net
U=root P=local S=1331582
2022-07-06 08:05:40 1o94ip-00DmSL-Uu => tmick
<ro...@debiantim.midcoip.net> R=local_user T=mail_spool
2022-07-06 08:05:40 1o94ip-00DmSL-Uu Completed
2022-07-06 08:18:26 Start queue run: pid=3285900
2022-07-06 08:18:27 1o8Jxl-007SqX-3Q Message is frozen
2022-07-06 08:18:27 End queue run: pid=3285900
2022-07-06 08:48:26 Start queue run: pid=3286426
2022-07-06 08:48:27 1o8Jxl-007SqX-3Q Message is frozen
2022-07-06 08:48:27 End queue run: pid=3286426
2022-07-06 09:18:27 Start queue run: pid=3287529
2022-07-06 09:18:27 1o8Jxl-007SqX-3Q Message is frozen
2022-07-06 09:18:27 End queue run: pid=3287529

From the reject log (same location /var/log/exim4) there's:
Envelope-from: <ro...@debiantim.midcoip.net>
Envelope-to: <ro...@debiantim.midcoip.net>
Subject: unattended-upgrades result for debiantim.midcoip.net:
FAILURE
* From: root
* To: root
T To: ro...@debiantim.midcoip.net
Auto-Submitted: auto-generated
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
F From: root <ro...@debiantim.midcoip.net>
I Message-Id: <E1o7HY1-00336q-F3@localhost>
Date: Fri, 01 Jul 2022 09:23:05 -0500
2022-07-01 09:23:07 1o7HY2-00336s-B7 rejected from <> U=Debian-exim:
message too big: read=52428801 max=52428800
Envelope-from: <>
Envelope-to: <ro...@debiantim.midcoip.net>
Auto-Submitted: auto-replied
F From: Mail Delivery System <Mailer...@debiantim.midcoip.net>
T To: ro...@debiantim.midcoip.net
References: <E1o7HY1-00336q-F3@localhost>
Subject: Mail failure - message too big
I Message-Id: <E1o7HY2-00336s-B7@localhost>
Date: Fri, 01 Jul 2022 09:23:06 -0500

So I don't know why/ what the issue is, could it be I didn't configure
it right? Maybe, but wouldn't it of gave me problems from the start and
not 6 months after I installed it?
0 new messages