> > Procmail can
> > easily check the From: line to see if the address matches @.*.klm.nl
> > (i.e., it's a KLM address) and if so pass it to Majordomo, otherwise use
> > formail, another part of the procmail package, to send back a fixed
> > response.
> 
> This is probably OK, but I'd probably use the last [most recent] received-
> by line. I find 'From' lines are a bit too variable and by and large I 
> try to avoid using them for anything.

In this particular case, the From: line is the only one that makes sense
to test.  You don't care where the mail was injected into SMTP, you care
whether it's a KLM address or some other organization, and the sender's
domain tells you that.

Majordomo responds to the address on the From: line, after all.

Regards,
John Levine, [EMAIL PROTECTED], Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://iecc.com/johnl, Sewer Commissioner
Finger for PGP key, f'print = 3A 5B D0 3F D9 A0 6A A4  2D AC 1E 9E A6 36 A3 47 


Reply via email to