Pointer: Foiling spam and other procmail email-filter tips
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > Pointer: Foiling spam and other procmail email-filter tips




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Pointer: Foiling spam and other procmail email-filter tips  
Timo Salmi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-18-05 07:49 AM

The gentle readers processing their email on a Unix-system, or
getting their email through a Unix-based system, might be interested
in the following information.

Timo's procmail tips and recipes
http://www.uwasa.fi/~ts/info/proctips.html
Last-Modified: Sat 16-Apr-2005 05:07

1. I want to filter my email automatically. How do I get started
with procmail?

2. Building a testbench. How can I test individual procmail
recipes?

3. I know how to make "and" rules in procmail recipes, but how do I
make "or" rules?

4. How can one perform multiple shell commands on the action line?

5. How can I find out what the subject of a posting is?

6. How do I get a copy of the headers of all the incoming email
into a separate file?

7. Would you give some further hints for spam foiling recipes?

8. I have limited disk space. How can I truncate long messages?

9. How can I quickly test if my rules with regular expressions
match?

10. How can I detect if the email comes, say, from the .com domain?

11. What alternatives do I have to detect a sender all through the
various header-fields?

12. How can I extract a valid address from the Reply-To field?

13. How can I extract the address of the sender's postmaster?

14. How can I weed out an inordinately long recipient list?

15. What is this procmail scoring? How can I utilize it?

16. How can I test if the subject is empty or if the subject field
is missing altogether?

17. How can I modify the "To:" field of the email I received?

18. I have a long list of spammers in a separate file. How can I
utilize it?

19. How do I forward certain messages that I get, and preserve
myself a copy?

20. How do I forward certain messages to two different addresses?

21. How do I automatically return certain email messages?

22. My address has changed. How do I forward a copy to myself and
tell the sender?

23. How can I set variable values based on the text in the body of
the email message?

24. How can I insert some token text in front of the body of
incoming email?

25. Do you have any useful tips for regular expression matching?

26. How can I test if two procmail variables have the same contents?

27. I am having difficulties with "<". How does one match it?

28. How can I insert identification text to the beginning of the
subject line?

29. I tried out your tips, but some of them failed on my system.
What next?

30. Is there a cure for the echo and grep blues?

31. How do I know which of my many procmail recipes has been
enacted?

32. How can I detect Korean, Cyrillic, or Chinese to avoid such
frequent spam?

33. How can I change the subject line and include part of the message
body to it?

34. How can I remove the signature from the incoming email?

35. What unix manuals relating to procmail should I get?

36. Is it possible to use procmail to call the vacation program?

37. How can I avoid duplicate messages sent in rapid succession?

38. How can I skip logging a certain, matched recipe?

39. Could you please solve for me this procmail problem of mine?

40. I liked this material. Do you have anything else on programming?

41. Exercises

42. Acknowledgements for useful advice and/or feedback

All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance  ; university of Vaasa
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/>  ; FIN-65101,  Finland
Digital photos collection at http://www.uwasa.fi/ktt/lasktoim/photo/





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:02 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register