Re: [Exim] trusted user problem?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeffrey Goldberg
Data:  
Para: Marilyn Davis
CC: exim-users
Asunto: Re: [Exim] trusted user problem?
On Mon, 12 Jul 1999, Marilyn Davis wrote:

> But my own application, run by majordom, execs a call to sendmail:
>
> > execv called on /usr/lib/sendmail sendmail -fzo-eVote@??? -t
>
> The appropriate links are in place.


> > trusted_users = majordom


> But the mail doesn't go.


The problem is not with trusted_users (which allows majordom to use the
-f), but that no recipients are being picked up.

> > A message that you sent contained no recipient addresses, and so no
> > delivery could be attempted.


That appears to be it.

> > ------ This is a copy of your message, including all the headers. ------
> >
> > Received: from majordom by rosa with local (Exim 3.02 #1)
> >     id 113kwy-00012S-00; Mon, 12 Jul 1999 11:37:12 -0700
> > Message-Id: <E113kwy-00012S-00@rosa>
> > From: zo-eVote@???
> > Date: Mon, 12 Jul 1999 11:37:12 -0700

> >


Note that a blank line is in there, and exim thinks that the first line of
the body is:

> > >From zo-eVote@???


That is the offending bit added (or let through) by your application.
That would convince Exim that there are no headers in the message, and
took everything as message text.

> Can you please tell me what I'm missing?


Your "own application" is producing a message which starts with a mailbox
separator /^From\s+/ which is NOT a valid email header. The -t option for
exim (or any other sendmail drop-in) requires that the input file start
with valid headers. The first thing that it finds which doesn't look like
a message header will be taken to be the first line of the body.

-j

-- 
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@???     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.