[EMAIL PROTECTED] ([EMAIL PROTECTED]) @ 2005.10.24 14:31:31 -0700:
> Manuel Capellari wrote:
> > the code works as expected but if i [EMAIL PROTECTED] sends mail to
> > [EMAIL PROTECTED] the mail passes my filter and get's the X-Outbound
> > header, when userB's procmail processes the mail it sorts the mail to
> > the 'Sent' folder of userB because procmail finds the X-Outbound
> > header, i need a way to check if the mail is local delivered or it's
> > sent out of the server ...
>
>
> I see... you want userA's procmail to sort the mail into his Sent folder, but
> userB's procmail to *not* sort the identical mail...
>
> Can you configure procmail to sort to the Sent folder ONLY if both of the
> following conditions are true?
>
> * X-Outbound header is added
> * From header matches user name (that is, "from myself")
Yup.
Some variation on this recipie ought to do the trick:
:0:
* ^X-Outbound: Yes
* ^From:[EMAIL PROTECTED]
Sent
....Sean
--
Sean Ware Midway Amusement Games, LLC
Senior Network Engineer 2727 W. Roscoe Street
Information Technology Department Chicago, IL 60618-5909
[EMAIL PROTECTED] (773) 961-2000
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang