question abt quarantine release
Nik Muhammed Muhyyiddin
nik_muhyyiddin at hotmail.com
Sun Sep 21 05:59:37 IST 2008
I used this script
# this is the final destination for the mail to be released:
# postfix's incoming queue
# check for valid parameters
if [ -z "$1" ]; then
echo "Syntax: release.sh <Message-ID>"
echo "Example: release.sh 678362AC.9CFE7"
# find the specific mail in the quarantine folders
folder=`find /var/spool/MailScanner/quarantine/ -name $1`
mailname=`echo $1 | cut -d . -f1`
# copy the mail
if [ -e $POSTFIX_DEST/$mailname ] ; then
echo "ERROR: $mailname already in $POSTFIX_DEST! EXITING"
echo "This should not happen"
cp -avi "$folder/$mailname" "$POSTFIX_DEST/$mailname"
# make it 0700 so that the mail is deemed ready
chmod 0700 $POSTFIX_DEST/$mailname
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Benedict
Sent: Sunday, September 21, 2008 2:27 AM
To: mailscanner at lists.mailscanner.info
Subject: question abt quarantine release
I am using the following n been workin succesfully
smtp server running sendmail
now i wd like to know the following
any quarantined mail by mailscanner i am using mailwatch to succesfully
release it and it works grt
i would like to know how could i realese mail quarantined by mailscanner
i have root privileges to the system
apprecite your help
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner mailing list
mailscanner at lists.mailscanner.info
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner