Re: [Exim] .forward questions

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Matthew Byng-Maddick
Datum:  
To: exim-users
Betreff: Re: [Exim] .forward questions
On Thu, Sep 13, 2001 at 01:04:27PM +0100, Patrick wrote:
> My .forward has all my recipes in it but I still have 2 catagories of
> mail it never seems to catch.
> 1. Junk mail pulled in by fetchmail but not addresses to anyone.
> 2. Junk mail that has a valid name but is still hard to classify.
>
> In procmailrc there's a a DEFAULT option that chuck everything not
> caught by recipes into a particular folder. Is there a .forward
> equivalent?


Well, anything that gets to the bottom of the forward file will be caught,
presumably.

> Junk mail almost always has a "to be removed" phrase near the bottom
> with some spurious email harvesting address for you to send your details
> to. Is it possible to have a recipe that searches incoming mails for
> "to be removed" and puts them in the default folder?


Yes, but:
| $message_body: The initial portion of the body of the message. By default,
| up to 500 characters are read into this variable, but the system
| administrator can configure this to some other value. Newlines in the body
| are converted into single spaces.


I can't remember which variable controls this, and I can't find it in a quick
scan of the documentation.

| $message_body_end: The final portion of the body of the message, formatted
| and limited in the same way as $message_body


Might be helpful too.

If you're interested, I have (shameless plug) an example of some of the
nasty techniques I've used in filter files:
http://colondot.net/mbm/mailfilter.shtml

MBM

-- 
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/