Re: [SAtalk] Test if user is listed recipient ...

2002-02-19 Thread Nigel Metheringham
On Sun, 2002-02-17 at 22:02, Craig Hughes wrote: > For the envelope TO, there seem to be 2 "standards", depending on when > the info is added to the message header. One is added on SMTP-reception > (such as with exim I think), in which case the header used is > "Envelope-To". Actually any head

Re: [SAtalk] Test if user is listed recipient ...

2002-02-17 Thread Duncan Findlay
On Sun, Feb 17, 2002 at 03:51:05PM -0700, Charlie Watts wrote: > > So ... perhaps we should support both. Envelope-To (which can have > multiple addresses in it, remember) for folks who can use it, and > Delivered-To for folks who can't. Simple enough. > > The nice thing about doing it with head

Re: [SAtalk] Test if user is listed recipient ...

2002-02-17 Thread Charlie Watts
On 17 Feb 2002, Craig Hughes wrote: > So, for envelope from checking, we should use the "Return-Path" header. > I'll make a rule which compares Return-Path to From: and see how it does > at differentiating spam from nonspam. Hadn't even thought of checking the sender - interesting. I'm curious t

Re: [SAtalk] Test if user is listed recipient ...

2002-02-17 Thread Craig Hughes
Ok, I did a little bit of searching: For the envelope FROM, RFC-1123 specifies that the mail server making "final delivery" of a message: MUST pass the MAIL FROM: address from the SMTP envelope with the message, for use if an error notification message must be

[SAtalk] Test if user is listed recipient ...

2002-02-17 Thread Charlie Watts
OK, this isn't something that everyone will be able to use, but it works nicely for me. I'm using the courier maildrop LDA. I deliver messages to one recipient at a time. In maildrop, I've added this: # Stick the final recipient into the headers exception { xfilter "/usr/local/bin/reform