Re: [EXIM] exim, whitespace, logs and config files

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Marc Haber
CC: exim-users
Betreff: Re: [EXIM] exim, whitespace, logs and config files
On Tue, 1 Sep 1998, Marc Haber wrote:

> 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?


That whitespace is part of your pipe command. It might be important.
(Yes, Exim could try to be clever and try to decide which whitespace is
important and which is not, but it doesn't.)

But what is wrong with something like this?

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"

You don't want to use \ to continue lines in alias files (see 22.1).

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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