[wellylug] Mutt & exim4 freeze outgoing mail ..
Cliff Pratt
enkidu at cliffp.com
Thu Jan 18 20:13:57 NZDT 2007
Adam Bogacki wrote:
> See below.
>
>> Message: 3
>> Date: Mon, 15 Jan 2007 19:41:34 +1300
>> From: Cliff Pratt <enkidu at cliffp.com>
>> Subject: Re: [wellylug] Mutt & exim4 freeze outgoing mail ..
>> To: Wellington Linux Users Group <wellylug at lists.wellylug.org.nz>
>> Message-ID: <45AB221E.9040005 at cliffp.com>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Adam Bogacki wrote:
>>> Hi,
>>>
>>> I'm getting the following in /var/log/exim4/mainlog but am at a loss how
>>> to get smtp working.
>>>
>>>
>>>> 2007-01-15 13:02:18 1H6FIo-0001zL-4g <= logcheck at DEBCONFvisiblenameDEBCONF U=logcheck
>> P=local S=766
>>>> 2007-01-15 13:02:18 1H6FIo-0001zL-4g ** root at debconfvisiblenamedebconf: Unrouteable
>> address
>>>> 2007-01-15 13:02:18 1H6FIo-0001zP-T4 <= <> R=1H6FIo-0001zL-4g U=Debian-exim P=local
>> S=1631
>>>> 2007-01-15 13:02:18 1H6FIo-0001zL-4g Completed
>>>> 2007-01-15 13:02:19 1H6FIo-0001zP-T4 ** logcheck at debconfvisiblenamedebconf: Unrouteable
>> address
>>>> 2007-01-15 13:02:19 1H6FIo-0001zP-T4 Frozen (delivery error message)
>>>> 2007-01-15 13:16:53 1H6FWv-00026V-6z <= afb at paradise.net.nz U=adam P=local S=603
>> id=20070115001653.GA5028 at paradise.net.nz
>>>> 2007-01-15 13:16:53 1H6FWv-00026V-6z ** adamfb at gmail.com: Unrouteable address
>>>> 2007-01-15 13:16:53 1H6FWv-00026X-Fj <= <> R=1H6FWv-00026V-6z U=Debian-exim P=local
>> S=1395
>>>> 2007-01-15 13:16:53 1H6FWv-00026V-6z Completed
>>>> 2007-01-15 13:16:53 1H6FWv-00026X-Fj ** afb at paradise.net.nz: Unrouteable address
>>>> 2007-01-15 13:16:53 1H6FWv-00026X-Fj Frozen (delivery error message)
>>>> 2007-01-15 13:18:20 Start queue run: pid=8137
>>> The relevant part of /etc/exim4/exim4.conf seems to be
>>>
>>>
>>>> 38 # This sets a macro DC_minimaldns if dc_minimaldns=true. If
>>>> 39 # dc_minimaldns=false, this expands to an empty line.
>>>> 40 .ifndef DC_minimaldns
>>>> 41 DC_minimaldns=DEBCONFminimaldnsDEBCONF
>>>> 42 .endif
>>>> 43
>>>> 44 # Create other macros from Debconf. Macros created here are used in
>>>> 45 # other places in exim config.
>>>> 46 .ifndef DC_visiblename
>>>> 47 DC_visiblename=DEBCONFvisiblenameDEBCONF
>>>> 48 .endif
>>> My .muttrc has
>>> set sendmail="/usr/sbin/exim4"
>>>
>>> .. and incoming mail works fine.
>>>
>>> What am I missing here ?
>>>
>> What's the distro? Seems to be a Debian type one, but usually the Debian
>> exim4 conf file resides in /var/lib/exim4/config-autogenerated or
>> something... It is generated from a number of macros and a template file.
>>
>> One problem is that you haven't set the 'visiblename' macro.
>>
>> Cheers,
>>
>> Cliff
>
>
> Ubuntu Edgy Eft. I had it working but my ISP rang to say they were receiving
> mail from 'root'. Ahem. I fixed that .. but now this. 'visiblename' seems to be
> the problem. I set what seemed the appropriate option in
> /etc/exim4/exim4.conf.template and saved it as /etc/exim4/exim4.conf ..
> - clearly it wasn't.
>
> The relevant entry in /var/lib/exim4/config-autogenerated seems to be
>
>
>> .ifdef DC_visiblename
>> qualify_domain = DC_visiblename
>> .endif
>
> If I disable exim4.conf I'll probably have the root problem again.
>
> Woops .. lost the connection.
>
> I've just run "dpkg-reconfigure exim4-config" and fetchmail works again,
> but mutt still cannot send mail - this one used Evolution.
>
> /var/log/exim4/mainlog tells me
>
>
>> 2007-01-18 17:25:30 1H7OqA-0003Xt-6O <= afb at paradise.net.nz U=adam P=local S=631 id=20070118042529.GA13490 at paradise.net.nz
>> 2007-01-18 17:25:30 1H7OqA-0003Xv-DL <= <> R=1H7OqA-0003Xt-6O U=Debian-exim P=local S=1423
>> 2007-01-18 17:25:30 1H7OqA-0003Xt-6O Completed
>> 2007-01-18 17:25:30 1H7OqA-0003Xv-DL ** afb at paradise.net.nz: Unrouteable address
>> 2007-01-18 17:25:30 1H7OqA-0003Xv-DL Frozen (delivery error message)
>
Run this from the command line (after you have regenerated the exim4
conf file if necessary):
exim4 -bt afb at paradise.net.nz
You *should* get something like:
debian:/etc/exim4# exim4 -bt abd at paradise.net.nz
R: smarthost for abd at paradise.net.nz
abd at paradise.net.nz
router = smarthost, transport = remote_smtp_smarthost
host mail.actrix.co.nz [203.96.16.181]
host mail.actrix.co.nz [203.96.16.175]
But you will more likely get something like this, instead:
debian:/etc/exim4# exim4 -bt abd at debian.cliffs.bogus
R: system_aliases for abd at debian.cliffs.bogus
abd at debian.cliffs.bogus is undeliverable:
Unrouteable address
Cheers,
Cliff
More information about the wellylug
mailing list