[wellylug] Re: Mutt & exim4 freeze outgoing mail ..
Cliff Pratt
enkidu at cliffp.com
Wed Jan 24 20:17:50 NZDT 2007
Adam Bogacki wrote:
>>>> 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.
>>>
>> Um, that probably the wrong thing to do. I've refreshed my memory of the
>> Debian way of maintaining the conf file. Please see the man page for
>> update-exim4.conf. The /etc/exim4/exim4.conf.template should remain as
>> /etc/exim4/exim4.conf.template. There shoudl *not* be a
>> /etc/exim4/exim4.conf file if you want to use the Debian scheme.
>>
>> /etc/exim4/update-exim4.conf.conf is where you make the main changes and
>> set the macro definitions. In particular there is a
>> 'dc_use_split_config='true' variable that decides whether or not the
>> configuration process uses /etc/exim4/exim4.conf.template file or the
>> /etc/exim4/conf.d split files.
>>
>> Once you have made the changes you desire, you then run
>> 'update-exim4.conf' which generates the
>> /var/lib/exim4/config.autogenerated file. THIS file is the one that is
>> by default used by exim.
>>
>> You can short circuit this rigmarole by copying
>> /var/lib/exim4/config.autogenerated to /etc/exim4/exim4.conf and exim
>> should then use that. However this makes redundant the template and the
>> conf.d files, so you will henceforth have to make change directly to the
>> /etc/exim4/exim4.conf file.
>>
>> Cheers,
>>
>> Cliff
>
> Hmm .. My ISP rang to tell me that mail is arriving
> From: 'root at paradise.net.nz' again, since the latest
> 'dpkg-reconfigure exim4-config' (correctly done as root).
>
> /etc/exim4/update-exim4.conf.conf .. looks OK.
>
> I'm bit stumped at the moment.
>
> Any ideas ?
>
Um, I have slightly different setup here. My Exim is in its own Domain
and I get my mail from my ISP via fetchmail, so I don't use their Domain.
I don't believe that exim, by default, does anything with the sender's
address. I believe that you will have to look at mutt for that. In my
mail client, Thunderbird, I set the address. If I use, eg, the 'mail'
command it defaults to root@<mydomain>.
I had a quick look at the 'mutt' man page. I *think* you can set it as
an environment variable or perhaps in the .muttrc.
There are some mutt users around. Maybe they can tell us for sure.
Cheers,
Cliff
More information about the wellylug
mailing list