[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] procmail recipe with ******



Thanks for the answers.
The "c" I left in there, just till I'm sure it works..

that about MAILDIR put me onto another error, thanks, it's "Mail" not
".Mail", the problem is I'm getting this output through a scripting
program, so I'm debugging at the same time. But still for some reason
it isn't identifying the 8 stars. so I'll remove the .* and let it run
for a while. I have it logging at the same time.

I have searched the archives and other sites, found out about how I
ended up with the recipe now, only still had that it did not filter it
properly....

cheers,
tim.



Tuesday, November 30, 2004, 3:50:38 PM, NM Public wrote:

NP> On 30 Nov 2004 tim (email@xxxxxxxxxxxxxxxx) wrote:

>> ##### Kill Spam #####
>> :0 c
>> * ^X-Spam-Level:.*\*\*\*\*\*\*\*\*
>> $HOME/.Mail/spam

NP> Try replacing the 2nd line with this

NP>    * ^X-Spam-Level: \*\*\*\*\*\*\*\*
NP>                    ^
NP>                    this is a single space, which is what SA uses here


NP> Also there is no need to continue (c) processing messages that 
NP> match here so change the first line to

NP>   :0

NP> Finally, do you set the MAILDIR variable in your procmailrc? If 
NP> so, use it! I.e., change the last line to

NP>   spam

NP> (that's assumuing that MAILDIR= $HOME/.Mail)

>>
>> ##### Reject Spam #####
>> :0 c
>> * ^X-Spam-Status:.*Yes,
>> /dev/null

NP> You probably don't need the 'c' in this recipe either. I have 
NP> lots of info about Procmail, including how to use it with SA in 
NP> my Procmail Quick Start.

NP> Hope this helps,
NP> NM



---------------------------------------------------
Teletechnics Afield
Tel +34 65 22 60 777 Fax +34 63 73 01 920
mailto:email@xxxxxxxxxxxxxxxx   http://www.teletechnics.com

currently in: London, UK

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: