[imp] From line creation? (2.2.4)

Marius Strom marius@marius.org
Tue, 6 Feb 2001 14:40:30 -0600


Logs follow:

Feb  6 14:34:43 megatron sendmail[87205]: f16KYhi87205:
from="marius@alpha1.net", size=578, class=0, nrcpts=1,
msgid=<981491683.3a805fe31e692@webmail.alpha1.net>,
relay=httpd@localhost
Feb  6 14:34:43 megatron sendmail[87209]: f16KYhi87205: to="|exec
/usr/local/bin/procmail", ctladdr=marius@alpha1.net (1580/1580),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30578, dsn=2.0.0,
stat=Sent

I know it's not a procmail issue, as we have "normal" users that are
seeing this issue as well.  I also have verified that this occured as
far back as 2.2.1 (I don't go back further, sorry..)

Let me know if any further information is needed -- Chuck, if you need
further access wrt pinpointing the problem, I can provide you with
access to the machine, logs, etc.

On Tue, Feb 06, 2001 at 07:05:39PM +0000, Lars Hecking wrote:
> Chuck Hagenbuch writes:
> > Quoting Lars Hecking <lhecking@nmrc.ucc.ie>:
> > 
> > >  Check the mail logs on 216.88.237.10 and mail.alpha1.net to find out
> > >  what the real enveloper sender address is. I _think_ it's possible
> > >  (although I haven't observed this yet) that IMP somehow passes 
> > >  "marius@alpha1.net" (literally, including the quotes!) to sendmail -f,
> > >  which then interprets the address as RFC-822 local-part, and tacks on
> > >  the missing domain. Or something like that.
> > 
> > That would be both unfortunate and odd - can anyone else provide any insight 
> > into this?
>  
>  The necessary information, to track this down is in the mail logs.
> 
>  I can't really test this, as I don't have a pure sendmail system (all
>  important mail handling boxes run postfix). But it seems that indeed
>  sendmail doesn't strip quotes:
> 
>  echo hello | /usr/lib/sendmail -f \"sender@dom.ain\" rcpt@dom.ain
> 
>  creates a From: header with "sender@dom.ain"@domn.ain. The From_ line
>  has the quotes stripped, but that because in my case, this mail goes
>  through a postfix machine (which strips them, as I can verify with the
>  mail logs). The logs on the sending machine, however, include the quotes
>  for the envelope sender.
> 
>  Case 2: echo hello | /usr/lib/sendmail -f \"sender@dom.ain\" rcpt
> 
>  As rcpt is local, the mesage is delivered directly by sendmail on the
>  local box, and here, the From_ line says "sender@dom.ain", but it's not
>  qualified with a domain name because it's local delivery.
> 
>  Someone should test this with a pure sendmail system. Or the original poster
>  may provide some logs. Anyway, this may be a local configuration rather
>  than IMP issue.
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 

-- 
Marius Strom <marius@marius.org>
Professional Geek/Unix System Administrator
URL: http://www.marius.org/
http://www.marius.org/marius.pgp 0x55DE53E4
 
"Never underestimate the bandwidth of a mini-van full of DLT
tapes traveling down the highway at 65 miles per hour..."
	-Andrew Tanenbaum, "Computer Networks"