Matt Weatherford
2005-Mar-03 23:24 UTC
[Pkg-exim4-users] Package cleanup, reinstalling, & misc manual config questions
Fellow Eximers, I have a few questions (may be simply confirmations): I''m seeing odd/non-reproducable behaviour with Exim4 on Sarge I want to clear off the entire exim3/exim4 pacakage and reinstall with all the defaults to see if I can get a clean setup. 1) What is the recommended way to clean off all related files? I tried : dpkg --purge --force-depends exim4-daemon-light dpkg --purge --force-depends exim4-base dpkg --purge --force-depends exim4-config dpkg --purge --force-depends exim4 Will this get everything so I can do a reinstall cleanly? Are there other files elsewhere that I need to purge? 2) I am not getting the behaviour I expect from the config file that gets set up as a result of answering the debconf questions. (Runnning "dpkg-reconfigure exim4") If I want to change settings by hand, what is the file that I edit? 3) After I change that file, I assume I need to do: /usr/sbin/update-exim4.conf /etc/init.d/exim4 restart Is there anything else I''m missing? 4) I am using exim4-* (sarge) 4.44-2 Are there any known bugs in the autoconfig process with a clean install or subsequent, repeated "dpkg-reconfigure exim4" runs? 5) Is there some class of configuration that I can set up which causes exim4 to not use the local /etc/aliases file? Depending on my config, it sometimes works, and sometimes doesnt. I want to understand this behavior. Most of All, thank you to the folks shedding blood, sweat, and tears to make this package availible in the Sarge distribution! Thanks, Matt -- Matt Weatherford Unix Administration Center for Studies in Demography and Ecology 218H Raitt Hall, Box 353412 University of Washington Seattle, WA, USA, 98195 206-685-5346 http://www.csde.washington.edu
Marc Haber
2005-Mar-04 07:10 UTC
[Pkg-exim4-users] Package cleanup, reinstalling, & misc manual config questions
On Thu, Mar 03, 2005 at 03:24:35PM -0800, Matt Weatherford wrote:> I''m seeing odd/non-reproducable behaviour with Exim4 on SargeCan you outline what happens?> I want to clear off the entire exim3/exim4 pacakage and reinstall > with all the defaults to see if I can get a clean setup. > > 1) What is the recommended way to clean off all related files? > > I tried : > > dpkg --purge --force-depends exim4-daemon-light > dpkg --purge --force-depends exim4-base > dpkg --purge --force-depends exim4-config > dpkg --purge --force-depends exim4you can put all four package names on a single command-line, but you still need force-depends since you likely have packages depending on m-t-a on your system.> Will this get everything so I can do a reinstall > cleanly? Are there other files elsewhere that I need to purge?Should be. You might want to look whether the Debian-exim account is gone, and all files belonging to it, and whether /var/spool/exim4 and /var/lib/exim4 is gone.> 2) I am not getting the behaviour I expect from the config file that > gets set up as a result of answering the debconf questions. > (Runnning "dpkg-reconfigure exim4") > > If I want to change settings by hand, what is the file that I edit?Depends. If what you want to use is with in Debconf scope, edit /etc/exim4/update-exim4.conf.conf. If you want to do something outside debconf scope, you either need to edit the appropriate file in /etc/exim4/conf.d, or /etc/exim4/exim4.conf.template, depending on whether you have chosen split or non-split config.> 3) After I change that file, I assume I need to do: > > /usr/sbin/update-exim4.conf > /etc/init.d/exim4 restart > > Is there anything else I''m missing?/etc/init.d/exim4 restart is enough, it invokes update-exim4.conf.> 4) I am using exim4-* (sarge) 4.44-2 > Are there any known bugs in the autoconfig process with a clean install > or subsequent, repeated "dpkg-reconfigure exim4" runs?All known bugs are visible in the Debian BTS.> 5) Is there some class of configuration that I can set up which causes > exim4 to not use the local /etc/aliases file? Depending on my config, > it sometimes works, and sometimes doesnt. I want to understand this > behavior./etc/aliases is used for local domains only, so choosing "no local mail" will probably not execute the system_aliases router. exim -bt address will show you the routing steps for an address. Add the -d option for lots of debug output. 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
Andreas Metzler
2005-Mar-05 13:49 UTC
[Pkg-exim4-users] Package cleanup, reinstalling, & misc manual config questions
On 2005-03-04 Marc Haber <mh+pkg-exim4-users@zugschlus.de> wrote:> On Thu, Mar 03, 2005 at 03:24:35PM -0800, Matt Weatherford wrote:[...]>> Will this get everything so I can do a reinstall >> cleanly? Are there other files elsewhere that I need to purge?> Should be. You might want to look whether the Debian-exim account is > gone, and all files belonging to it, and whether /var/spool/exim4 and > /var/lib/exim4 is gone.Hello, The Debian-exim accont will not be gone. It is intentionally not deleted on purge. [...]>> 5) Is there some class of configuration that I can set up which causes >> exim4 to not use the local /etc/aliases file? Depending on my config, >> it sometimes works, and sometimes doesnt. I want to understand this >> behavior.> /etc/aliases is used for local domains only, so choosing "no local > mail" will probably not execute the system_aliases router.> exim -bt address will show you the routing steps for an address. Addexim4 -bt address> the -d option for lots of debug output.Just some minor corrections. ;-) cu andreas -- "See, I told you they''d listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/