[Exim] Re: Mail delivery failed: returning message to sender

Página Inicial
Delete this message
Reply to this message
Autor: Sean Witham
Data:  
Para: exim-users, info-cyrus
Assunto: [Exim] Re: Mail delivery failed: returning message to sender
I thought it was time to demonstrate my cyrus/exim ignorance. Would
anyone like to say what is wrong with the headers generated by exim
in the message below that would have caused cyrus to reject it ?

I was creating a seperate director to handle a limited set of "top
level" mailboxes in the cyrus tree. I already have a working
cyrus_users director which using a cyrus_lmtp transport to deliver
messages to user mailboxes. This uses an lmtp driver and the cyrus
deliver program with the "-l" option.

Not knowing any better I created a new director cirus_boxes and a new
transport cyrus_pipe to handle a selected list of top level mailboxes
in our cyrus tree. There may be a much simpler approach. The
cyrus_pipe transport uses the pipe director and uses the cyrus
deliver program again but with "-m $local_part".
When I run the command by hand from a shell it seems to work fine but
when exim uses the deliver command this way it rejects the message.
Below is what was returned by exim. It looks as thought deliver has
rejected a header in the message. The message I delivered by hand
would not have included the headers generated by exim.

Here is the cyrus_pipe transport from my configuration file:
cyrus_pipe:
driver = pipe
command = "/usr/pkg/cyrus/bin/deliver -m $local_part"
user = cyrus
group = mail
delivery_date_add
envelope_to_add
return_path_add
return_output
ignore_status = false
temp_errors = 75

On Monday 03 Dec 2001 6:17 pm, you wrote:
> This message was created automatically by mail delivery software
> (Exim).
>
> A message that you sent could not be delivered to one or more of
> its recipients. This is a permanent error. The following
> address(es) failed:
>
>   bugs@???
>     Child process of cyrus_pipe transport returned 65 (could mean
> error in input data) from command: /usr/pkg/cyrus/bin/deliver

>
> The following text was generated during the delivery attempt:
>
> ------ bugs@??? ------
>
> +bugs: Message contains invalid header
>
> ------ This is a copy of the message, including all the headers.
> ------
>
> Return-path: <sean.witham@???>
> Received: from host217-37-4-60.in-addr.btopenworld.com
> ([217.37.4.60] helo=there) by esme.webscreen-technology.com with
> smtp (Exim 3.32 #1) id 16AxeH-0001km-00
>     for bugs@???; Mon, 03 Dec 2001 18:17:01 +0000
> Content-Type: text/plain;
>   charset="iso-8859-1"
> From: Sean Witham <sean.witham@???>
> Organization: Webscreen Technology Ltd
> To: bugs@???
> Subject: test 11
> Date: Mon, 3 Dec 2001 18:16:28 +0000
> X-Mailer: KMail [version 1.3.1]
> MIME-Version: 1.0
> Content-Transfer-Encoding: 8bit
> Message-Id: <E16AxeH-0001km-00@???>

>
>
> test 11