Procmail

Procmail

Infobox Software
name = procmail



caption =
author = Stephen R. van den Berg
developer = Philip A. Guenther
released = December 7, 1990
latest release version = 3.22
latest release date = September 10, 2001
latest preview version =
latest preview date =
operating system = Any Unix-like
platform = Cross-platform
genre = Mail filter
license = GPL or Artistic License
website = http://www.procmail.org/

Procmail is a mail delivery agent (MDA) or mail filter, a program to process incoming emails on a computer, widely used on Unix systems. It is typically invoked from a mail transfer agent (MTA) like Sendmail or Postfix;this makes the mail processing event-driven. The companion-tool formailallows procmail to be used in batch-processing on mail that already is ina user's mailbox.

Common operations carried out with procmail include filtering and sorting of emails into different folders according to keywords in from, to, subject, text of the mail, or sending autoreplies, but more sophisticated operationsare also possible.

A common practice is to let procmail call an external spam filter program, such as SpamAssassin. This method can allow for spam to be filtered or even deleted.

Examples

DROPPRIVS=yes DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir/ # Pass mail through spamc, the interface to SpamAssassin :0fw
/usr/bin/spamc # Move mail marked as spam to a mailbox named '.Trash/' :0 * ^X-Spam-Level: *** .Trash/ :0 * ^X-Spam-Status: Yes .Trash/

# Move mail from these senders into Lists-Misc # Empty line is required (this uses a DeMorgan's law OR) :0 * ! ^Sender: pgsql-hackers-owner@postgresql.org * ! ^Sender: pgsql-sql-owner@postgresql.org { }

:0 E: Lists-Misc

Further reading

* Martin McCarthy, "The Procmail Companion", Addison-Wesley, S. 256, November 2001, ISBN 0-201-73790-6

External links

* [http://www.procmail.org/ Official website]
* [http://pm-doc.sourceforge.net/pm-tips.html pm-doc sf.net procmail docs]
* [http://www.ii.com/internet/robots/procmail/qs/ procmail quick start guide]
* [http://www.professional.org/procmail/sandbox.html procmail sandbox - various tips]
* [http://lipas.uwasa.fi/~ts/info/proctips.html timo's procmail tips and recipes]
* [http://www.iki.fi/~era/procmail/ era eriksson's Procmail "mini-FAQ"]
* [http://procmail.markmail.org/ Searchable procmail mailing list archives]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Procmail — Entwickler: Procmail Foundation Aktuelle Version: 3.22 (10. September 2001) Betriebssystem: Linux, Unix Kategorie …   Deutsch Wikipedia

  • procmail — Entwickler Procmail Foundation Aktuelle Version 3.22 (10. September 2001) Betriebssystem Linux, Unix Kategorie Mailfilter Lizen …   Deutsch Wikipedia

  • Procmail — Développeur Stephen R. van den Berg Philip A. Guenther Dernière version …   Wikipédia en Français

  • Procmail — Тип Агент доставки электронной почты Версия 3.22 (10 сентября 2001) Лицензия GPL Сайт www.procmail.org/ …   Википедия

  • procmail — Тип Агент доставки электронной почты Последняя версия 3.22 (10 сентября 2001) Лицензия GPL Сайт www.procmail.org/ procmail  агент доставки электронной п …   Википедия

  • Maildrop — Entwickler: Double Precision Inc. Aktuelle Version: 2.0.4 (22. April 2007) Betriebssystem: Linux, Unix Kategorie …   Deutsch Wikipedia

  • Maildrop — mail delivery agent (MDA) with filtering abilities from Double Precision Inc , distributed under the terms of the GNU General Public License.Introductionmaildrop is the mail filter/mail delivery agent that s used by the Courier Mail Server. You… …   Wikipedia

  • maildrop — Entwickler Double Precision Inc. Aktuelle Version 2.5.0 (30. Mai 2010) Betriebssystem Linux, Unix Kategorie Mailfilter Lizenz …   Deutsch Wikipedia

  • Maildir — The Maildir e mail format is a common way of storing e mail messages, where each message is kept in a separate file with a unique name, and each folder is a directory. The local filesystem handles file locking as messages are added, moved and… …   Wikipedia

  • Mail delivery agent — A mail delivery agent or message delivery agent (MDA) is a computer software component that is responsible for the delivery of e mail messages to a local recipient s mailbox.[1] Also called an LDA, or local delivery agent.[2] Within the Internet… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”