User Tools

Site Tools


qmail_and_procmail_how_to

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qmail_and_procmail_how_to [2010/04/13 23:33] k2patelqmail_and_procmail_how_to [2020/08/10 02:35] (current) – external edit 127.0.0.1
Line 21: Line 21:
  
 ==== Define procmail rules ==== ==== Define procmail rules ====
 +
 +This will send all messages with "//^X-Spam-Status: Yes//" and send those messages to \\
 +spammer@test.com email's inbox.
  
 <code sh | /usr/local/etc/procmail.rc> <code sh | /usr/local/etc/procmail.rc>
Line 27: Line 30:
 #VERBOSE=yes #VERBOSE=yes
  
 +EXITCODE=99
 :0h :0h
 *^X-Spam-Status: Yes *^X-Spam-Status: Yes
Line 44: Line 48:
 ==== Now run script using .qmail / .qmail-default ==== ==== Now run script using .qmail / .qmail-default ====
  
-<code sh> +<code sh | .qmail-default
-| /usr/local/bin/procmail-wrapper.sh+| /usr/local/bin/qproc-wrap.sh
 | /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox | /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 </code> </code>
- 
qmail_and_procmail_how_to.1271201600.txt.gz · Last modified: 2020/08/10 02:30 (external edit)