book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







Sendmail Milters


  • Bryan Costales and Marcia Flynt
  • Addison-Wesley
  • 0321213335

Order (or just read more about) Sendmail Milters  from Amazon.com

More Books

libmilter is a sendmail library for mail scanning by external programs. You can check to see whether your sendmail supports it with:


Hate these ads?



 sendmail -d0 < /dev/null | grep MILTER


Sendmail 8.13 hase MILTER enabled by default.

With libmilter, sendmail can call other programs to help determine the disposition of a message. There can be multiple external programs, and sendmail makes calls at different points: when a sending machine connects, when it sends its HELO greeting, when it sends MAILFROM:, etc.

The milter itself can be written in any language: there are Perl milters, Python milters and more. The milter itself tells sendmail what parts of the process it wants to be involved in. It can accept (which means sendmail won't contact it again for that particular message), reject in various ways (which causes sendmail to reject or discard the message right then), or simply delay its decision until later in the process (which means that sendmail will send it more information that it has requested to be notified of). Multiple milters can process the same information; sendmail will call each unless and until one tells it to reject the message.

Everything you need to know about writing milters is here. I was a little amused that the authors gave advice on attracting spam in order to test a milter setup: I don't think too many of us need to worry about not having enough spam to test with.

Milters can be written in any language, but do require C hooks to interface with sendmail. As this book shows C code, you'll need at least read-only capability with C to get a lot out of it. However, it is also an excellent overview of spam in general, the techniques used and proposed for blocking, and how the spammers get around our efforts. I found that section of the book very interesting and learned a bit, too. There's fairly deep coverage here; even covering details like decoding mime.

If you are a C programmer (or can at least read it well enough to translate the concepts to other languages) interested in adding milters to sendmail, this is necessary reading.









cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
391414 3,684

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

pavatar.jpg
More:
       - Mail
       - Security




Unix/Linux Consultants


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!



Twitter
o It's COLD and my wife wants us to go work in the yard. Do you think I can have her arrested for cruelty? Probably not as she's going too. 11:56 AM Nov 23rd 2008








Change Congress