[Pkg-exim4-users] Exim/MySQL not picking up new config

Marc Haber mh+pkg-exim4-users at zugschlus.de
Tue Dec 13 15:49:02 UTC 2005


On Tue, Dec 13, 2005 at 08:16:10AM -0700, Brian Rose wrote:
> >Please refer to http://www.catb.org/~esr/faqs/smart-questions.html for
> >information how to ask questions without making it unncecessarily hard
> >to answer them.
> >
> >To help, we need a lot of information. A good start would be:
> >
> >exim -bv | grep '^Configuration'
> >cat /etc/exim4/update-exim4.conf.conf
> >Contents of all configuration files changed by you.
> 
> For starters, I am using Debian Sarge. The only configuration option  
> changed was in exim's MySQL database in the mail_user table.

Debian's default configuration doesn't handle MySQL at all. So you
have changed the configuration in very central places and should thus
know what you are doing.

> I  
> changed a user's home from /var/mail/rackmountmicro.com/choward/ to / 
> home/choward/mail/rackmountmicro.com/choward/. I then moved the  
> Maildir from the old home directory to the new home directory.  
> Ownership on the new home directory and all of its subdirectories are  
> mail:mail.
> 
> When I changed the option in MySQL and restarted Exim, the next new  
> email received for that account caused Maildir/ to be recreated in  
> the old home directory.

Looks like your changes weren't read.

> As for the configuration information you requested:
> 
> "exim4 -bv | grep '^Configuration'" (the exim command doesn't exist)  
> produced nothing.

I usually fall into that trap as I have locally linked exim4 to exim.
The correct line would have been

/usr/sbin/exim4 -bV | grep '^Configuration'

> dc_use_split_config='true'

This is the key. You need to make your changes in the small files in
/etc/exim4/conf.d, and not in /etc/exim4/exim4.conf.template.

This is documented in update-exim4.conf(8) and the Debian readme.

> Output of exim -d -bt heimidal at gmail.com:

This shows correct routing of the message to the MX records of
gmail.com and doesn't help in debugging local deliveries at all.

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



More information about the Pkg-exim4-users mailing list