Szerző: Luke Pascoe Dátum: Címzett: exim-users Tárgy: [Exim] More bother
I'm doing this all on my test/devel box before trying it on the live server,
this means an upgrade from exim 3.35 which was configured to transport mail
to Cyrus via Procmail as follows:
# Transport
local_delivery:
driver = pipe
command = "/usr/bin/procmail -p /var/imap/procmail/procmail.global
CYRUSUSER=${local_part}"
return_path_add
return_output
prefix = ""
user = cyrus
I've transfered this to the new exim.conf with only one change, removal of
the "prefix" line which caused an error when running "exim -C exim.conf -bV"
Now email to local mailboxes gets spat back with the following:
> The following text was generated during the delivery attempt:
>
> ------ pest@??? ------
>
> user.pest: Message contains invalid header
>
> ------ This is a copy of the message, including all the headers. ------
>
> Return-path: <root@???>
> Received: from [10.0.0.254] (helo=cook.itsd.co.nz)
> by pike.itsd.co.nz with esmtp (Exim 4.10)
> id 18IydT-0000Od-00
> for pest@???; Tue, 03 Dec 2002 11:01:51 +1300
> Received: from cook.itsd.co.nz (cook.itsd.co.nz [210.54.179.5])
> by cook.itsd.co.nz (8.12.3/8.12.3/Debian -4) with ESMTP id gB2M1pW0018095
> for <pest@???>; Tue, 3 Dec 2002 11:01:51 +1300
> Received: (from root@localhost)
> by cook.itsd.co.nz (8.12.3/8.12.3/Debian -4) id gB2M1p1o018093
> for pest@???; Tue, 3 Dec 2002 11:01:51 +1300
> Date: Tue, 3 Dec 2002 11:01:51 +1300
> From: root <root@???>
> Message-Id: <200212022201.gB2M1p1o018093@???>
> To: pest@???
> Subject: test 16
>
> one six
>
Where exactly is the incorrect header? Any ideas how I fix this?
On a seperate note, just a gripe from a (l)user - The documentation in the
Makefile for v4 is very confusing regarding the location/name of the
configuration file. I read this:
> # CONFIGURE_FILE defines where Exim's run time configuration file is to be
> # found.
To mean "...defines _the directory_ where Exim's run time configuration file
is to be found" and the examples given seem to support this misconception:
> # Some common locations are in /etc or /etc/mail or /usr/local/etc
> # or /usr/local/etc/mail.
I initially set it to "/etc/exim" - make and make install didn't complain,
it copied configure.default to /etc/exim/configure.default. It took me ages
to figure out why it wasn't posting mail properly :-P