Improved dccproc bounce script.

Michael Ghens michael@spconnect.com
Wed Apr 16 23:31:36 UTC 2003


Just a minor improvement on the dccproc bounce script from the dccproc man 
page. It adds a reason to why a message was bounced instead of "User 
Unknown"



:0 fW
| /usr/local/bin/dccproc -ERw whiteclnt -ccmn,10

:0 e
{
# 67 for sendmail
# 100 for qmail
 EXITCODE=67

# /usr/ucb/echo is for Solaris
# /bin/echo for linux

# Add a message to procmail bounce message
:0 fhbi                                                                         
| /usr/ucb/echo -n "DCC: Spam, no access. (#5.1.1) pm"                 
:0                                                                              
|           

#Might be not necessary.
 :0
 /dev/null
}











More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.