[linux-elitists] (tmda) Re: Constraining Bogus challenges.

Rick Moen rick@linuxmafia.com
Tue Sep 23 23:58:04 PDT 2003


Quoting Jim Richardson (warlock@eskimo.com):

> On that note, I am about ready to take my home system from Exim3 to
> Exim4 (Debian Sid if it matters) Any tips or pointers on stuff I should
> be aware of?

Hmm, I risk embarrassing myself here, since my migration has been a
very rushed affair.

The .debs for exim4 (exim4-base, exim4-daemon-light | exim4-daemon-heavy | 
exim4-daemon-custom, exim4-config -- optional: exim4-doc-html, eximon4)
do their best to construct a reasonable exim4 configuration set based on
your /etc/exim/exim.conf file, but can't be relied upon.  E.g., if you
have transports and directors for Mailman, those won't make it.  You'll
be warned about this problem -- if somewhat vaguely.

You'll be face with a very near if slightly disconcerting /etc/exim4
tree, kind of like this:  

uncle-enzo:/tmp/exim4# ls -l
total 27
drwxr-xr-x    9 root     root         1024 Sep 23 15:08 conf.d
-rw-r-----    1 root     root          112 Sep 23 15:08 passwd.client
-rw-r--r--    1 root     root          520 Sep 23 15:08 update-exim4.conf.conf
uncle-enzo:/tmp/exim4# cd conf.d/
uncle-enzo:/tmp/exim4/conf.d# ls -l
total 7
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 acl
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 auth
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 main
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 retry
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 rewrite
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 router
drwxr-xr-x    2 root     root         1024 Sep 23 15:08 transport
uncle-enzo:/tmp/exim4/conf.d# cd main
uncle-enzo:/tmp/exim4/conf.d/main# ls -l
total 10
-rw-r--r--    1 root     root         2869 Sep 23 15:08 01_exim4-config_listmacrosdefs
-rw-r--r--    1 root     root         4463 Sep 23 15:08 02_exim4-config_options
-rw-r--r--    1 root     root         1126 Sep 23 15:08 03_exim4-config_tlsoptions
uncle-enzo:/tmp/exim4/conf.d/main# 

...from which /usr/sbin/update-exim4.conf will dynamically build
/var/lib/exim4/config.autogenerated , which functions as your exim4.conf
file and draws together the pieces from /etc/exim4/conf.d/ .

Make sure you read /usr/share/doc/exim4/README.Debian.gz , which
more-or-less explains this stuff.

If so inclined, you can grab Marc Merlin's prototype tarball of what he
thinks should go in /etc/exim4 as exim4.conf.tar.gz from
http://marc.merlins.org/linux/exim/files/ , and maybe the
sa-exim_3.1-2_i386.deb (yeah, I know, IA32-centrism) from
http://marc.merlins.org/linux/exim/files/debian/ , which replaces a
piece of Exim4 so that SA can run in Exim's local_scan process.
Details:  http://marc.merlins.org/linux/exim/sa.html

Stuff I noticed about the exim4.conf.tar.gz tarball:  Its README says
you need to unpack it in /etc/exim4, but it creates ./exim4-conf/ with a
bunch'a stuff in it:

/tmp/exim4-conf $ ls -l
total 104
drwxr-xr-x    2 500      cvs          1024 2003-07-25 12:54 acls
-rw-r--r--    1 500      cvs           757 2003-07-25 12:27 aliases
drwxr-sr-x   10 500      cvs          1024 2003-08-03 17:36 conf.d
-rw-r--r--    1 500      cvs          2587 2003-05-03 14:58 config
drwxr-xr-x    2 500      cvs          1024 2003-07-25 12:42 domains
-rw-r--r--    1 root     mail        54412 2003-08-03 17:54 exim4.conf
-rw-r--r--    1 500      cvs            53 2003-07-25 12:24 hoststryauth
-rw-r--r--    1 500      cvs           285 2003-07-25 12:27 localemails
-rw-r--r--    1 500      cvs            36 2003-07-25 12:56 Makefile
-rw-r--r--    1 500      cvs          1968 2002-07-17 07:38 office_warning.txt
-rw-r--r--    1 500      cvs           175 2003-07-25 13:58 README
-rw-r--r--    1 500      cvs           135 2003-07-25 12:36 smtpauthdb.client
-rw-r--r--    1 500      cvs           206 2003-04-21 14:51 smtpauthdb.server
-rw-r--r--    1 500      cvs         17408 2002-07-17 07:38 system_filter.exim
-rwxr-xr-x    1 500      cvs         12881 2003-07-25 13:51 update-exim4.conf
-rw-r--r--    1 500      cvs           613 2003-06-27 10:30 update-exim4.conf.conf
drwxr-xr-x    6 500      cvs          1024 2002-10-13 18:32 virtualdomains
[rick@uncle-enzo]

Notice the "conf.d":  You'll have to mv /etc/exim4/conf.d to somewhere,
to get it out of the way, before you can move the above stuff into
/etc/exim4.  Ditto "update-exim4.conf.conf", which (if memory serves) is
where debconf stores configuration state to be reapplied when upgrading.

I haven't had to do much tweaking of Marc's exim4.conf.tar.gz contents
so far, but am not done yet.

Note mailing list for discussion of issues related to sa-exim:
http://lists.merlins.org/lists/listinfo/sa-exim
(It is _not_ for general Exim4 discussions!)

-- 
Cheers,     Founding member of the Hyphenation Society, a grassroots-based, 
Rick Moen   not-for-profit, locally-owned-and-operated, cooperatively-managed,
rick@linuxmafia.com     modern-American-English-usage-improvement association.



More information about the linux-elitists mailing list