# Qmail/procmail interactions: # # Note that there are two ways of storing the message in a ~/Maildir # directory: # # 1) If ~/.qmail contains the single line: # # |preline /usr/bin/procmail # # and the last line, (or anywhere else a message is to be stored,) # of the ~/.procmailrc file contains: # # :0 w # | /usr/local/bin/safecat "${HOME}/Maildir/tmp" "${HOME}/Maildir/new" # # 2) If ~/.qmail contains the two lines: # # |preline /usr/bin/procmail # ./Maildir/ # # and the last lines, (or anywhere else a message is to be stored,) # of the ~/.procmailrc file contains: # # EXITCODE=0 # # # :0 # /dev/null # # and, additionally, if the message is to be discarded, then: # # EXITCODE=99 # # # :0 # ! someone@someplace.com # # or bounced: # # EXITCODE=100 # # # :0 # /dev/null # # i.e., it is IMPORTANT that the message NEVER be returned to # qmail; it MUST be disposed of in the ~/.procmailrc script, either # by sending it somewhere, or writing it to /dev/null, or # whatever!! # ###################################################################### # # A license is hereby granted to reproduce this software for personal, # non-commercial use. # # THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES # WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF # MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE # AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE # INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. # # So there. # # Copyright (c) 1992-2005, John Conover, , All # Rights Reserved. # # $Revision: 1.0 $ # $Date: 2005/03/11 08:33:13 $ # $Id: howto-qmail-procmail.txt,v 1.0 2005/03/11 08:33:13 conover Exp $ # $Log: howto-qmail-procmail.txt,v $ # Revision 1.0 2005/03/11 08:33:13 conover # Initial revision #