Unix Procmail Administration

     This course teaches you how to take advantage of "procmail", a Unix Mail Delivery Agent (MDA), to further filter and process mail arriving at your mail server. Procmail is a popular MDA (Mail Delivery Agent) used in conjunction with Sendmail. Procmail allows you to utilize system wide filtering and/or individual filtering with a redirection of the mail to special mailboxes based on the content of the mail headers, body and envelope. Mail can also be reprocessed once it has arrived. Understanding how procmail fits into your strategy for mail administration is essential for being an effective and efficient mail administrator.

Topics Covered

  • Overview of procmail
    • Why you should use it
    • How it works
    • Mail Transport Agents (MTA)
    • Mail Delivery Agents (MDA)
    • Mail User Agents (MUA)
  • Setting up procmail
    • .forward
    • .procmailrc
    • /etc/procmailrcs
  • Simple procmail example
    • .procmailrc
  • Logging errors
    • procmail.log
  • Setting procmail variables
    • MAILDIR
    • DEFAULT
    • LOG
  • Using mail (MUA)
    • Reading mail on a Unix box
    • Reading alternative mailboxes
  • Using formail (MPA)
    • Reprocessing mail against new recipes
    • testing procmail
  • Recipes based on:
    • content
    • size
  • procmail and regular expressions
    • extended regular expressions used by procmail
  • Examples of recipes
  • Downloading and compiling procmail

Audience:

     This course is designed for administrators who are responsible for maintaining their corporate mail systems.

Prerequisites:

Benefits:

     This course is designed for administrators who are responsible for maintaining their corporate mail systems.

Furnished Materials:

  • PC Workstation for use during training
  • Student Manual
  • Textbook - "The Procmail Companion" O'Reilly

Recommended Follow-On Course

Length:

  • 2 Days

Price:

  • $$990

Training Dates:

Sign Up