[EXIM] exim, whitespace, logs and config files

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Haber
Fecha:  
A: exim-users
Asunto: [EXIM] exim, whitespace, logs and config files
Hi!

As I have found out, you currently have to decide whether you want
readable config files or readable logs. With a bunch of majordomo
lists, I have decided on a readable alias file that looks like follows
(modulo send-time formatting done by my broken MUA):


|test-list-outgoing:        :include:/var/spool/majordomo/lists.mydomain.de/test-list,

|                               "| /usr/local/majordomo/wrapper digest \
|                               -r -C -c /etc/majordomo/lists.mydomain.de \
|                               -l test-digest \

|                test-digest-outgoing@???",

|                                "| /usr/local/majordomo/wrapper archive2.pl \
|                                -C /etc/majordomo/lists.mydomain.de \
|                                -a  -M \
|                                -f /var/spool/majordomo/lists.mydomain.de/test-list.archive/test-list",
|                                "| /usr/local/majordomo/wrapper archive2.pl \
|                                -C /etc/majordomo/lists.mydomain.de \
|                                -a  -D \
|                                -f /var/spool/majordomo/lists.mydomain.de/test-list.archive/test-list",
|                                "| /usr/local/majordomo/wrapper archive2.pl \
|                                -C /etc/majordomo/lists.mydomain.de \
|                                -a \
|                                -f /home/wh/lists/test-list"

|
|jahr2000-digest-outgoing:    :include:/var/spool/majordomo/lists.mydomain.de/jahr2000-diges


While this looks nice enough, it leads to the following log entries:

|1998-08-31 16:57:35 0zDVOO-000524-00 => | /usr/local/majordomo/wrapper digest                        -r -C -c /etc/majordomo/lists.mydomain.de                -l test-digest                      test-digest-outgoing@??? <test-list-outgoing@???> D=majordomo_private_aliases T=address_pipe
|1998-08-31 16:57:35 0zDVOO-000524-00 Completed
|1998-08-31 16:57:35 0zDVOH-00051K-00 => |/usr/local/majordomo/wrapper resend                        -C /etc/majordomo/lists.mydomain.de                -l test-list -h lists.mydomain.de test-list-outgoing@??? <test-list@???> D=system_aliases T=address_pipe


It looks like that all whitespace from the alias file is copied over
to the log, making it look extremely ugly. Is that mandated by some
design rule I am not aware of or would it be sensible to have exim
replace all whitespace read in from the alias file by a single space?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29



--
*** Exim information can be found at http://www.exim.org/ ***