procmail
[Top] [All Lists]

Re: Problem extracting from the from_ header

2002-07-09 17:09:31
On Mon, 8 Jul 2002, Philip Guenther wrote:

PG> Before worrying about that, first figure out whether your MTA accepts an
PG> SMTP MAIL From: command with an address that contains a CR or LF.  I doubt
PG> it does, in which case you'll never have to worry about seeing one.
PG>


Thank you very much for the comprehensive reply.  I shall persevere - I
can't have some clever spammer nobbling my recipes.



I can get a CR into the name but not a newline.  The newline is changed to
a space by sendmail.  Starting of with tabCRNL

Interesting log line on the way out:

Jul  9 23:53:35 mundungus sendmail[6818]: NOQUEUE: POSSIBLE ATTACK from
[UNKNOWN
]: newline in string ""^I^M "@clifford.ac"


It came back from the ISP  as "^I\^M "@clifford.ac

Appeared in Pine as:

Return-Path: <" \
 "@clifford.ac>


So I'd guess that sendmail would strip an incoming NL as well.


Alan

( Please do not email me AS WELL as replying to the list. Personal
  email may invoke a password autoresponder. )










_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>