AI Net

06-880-0000 | tony@ai.net.nz

MailScanner :: Setting up release from Quarantine

The following is plagiarized from:

http://weait.com/content/mailwatch-release-quarantine-fails-solved

Why are messages quarantined again when I release them in MailWatch?

This is because you need to bypass certain checks for messages from 127.0.0.1 to allow the released messages to pass through MailScanner without being quarantined again.

Set the following in /etc/Mailscanner/Mailscanner.conf:

1. MailScanner.conf

nano /etc/MailScanner/MailScanner.conf
 
Filename Rules = %etc-dir%/filename.rules
#changed from %etc-dir%/filename.rules.conf
 
Filetype Rules = %etc-dir%/filetype.rules
#changed from %etc-dir%/filetype.rules.conf
 
Dangerous Content Scanning = %rules-dir%/content.scanning.rules
 
Is Definitely Not Spam = %rules-dir%/spam.whitelist.rules

// In my case I left the whitelist line unchanged to continue using SQL whitelisting.

 2. File Name Rules

Then the following files should be set-up as follows:

Maksure all gaps are TABs not spaces!

nano /etc/MailScanner/filename.rules OR /bin/cat << EOF >> /etc/MailScanner/filename.rules
#
# Allow Quarantine releases
#
From: 127.0.0.1 /etc/MailScanner/filename.rules.allowall.conf
FromOrTo: default /etc/MailScanner/filename.rules.conf
EOF

 3. File type Rules

nano /etc/MailScanner/filetype.rules
OR
 
/bin/cat << EOF >>
#
# Allow Quarantine releases
#
From: 127.0.0.1 /etc/MailScanner/filetype.rules.allowall.conf
FromOrTo: default /etc/MailScanner/filetype.rules.conf
EOF

 4. Content Scannering Rules

nano /etc/MailScanner/rules/content.scanning.rules
OR
 
/bin/cat << EOF >>
#
# Allow Quarantine releases
#
From: 127.0.0.1 no
FromOrTo: default yes
EOF

5. Spam Whilelist Rules

The following was not used as using SQL Whitelists

nano /etc/MailScanner/rules/spam.whitelist.rules
OR
 
/bin/cat << EOF >> /etc/MailScanner/rules/spam.whitelist.rules
#
# Allow Quarantine releases
#
From: 127.0.0.1 yes
FromOrTo: default no
EOF

6. Filename Rules Allowall

nano /etc/MailScanner/filename.rules.allowall.conf
OR
 
/bin/cat << EOF >> /etc/MailScanner/filename.rules.allowall.conf
allow .* - -
EOF

 7. Filetype Rules Allowall

nano /etc/MailScanner/filetype.rules.allowall.conf
OR
 
/bin/cat << EOF >> /etc/MailScanner/filetype.rules.allowall.conf
allow .* - -
EOF

 

Happy Releasing from Quarantine.

webmail sm

Emails via Google

Email is a deeply abused system.

From viruses to spam to identity theft.

Our way of beating this is to use Google.

To send and receive emails with your domain name you will need at least 1 Google Apps for Work account.

These cost $60US/Year/eMail address.

They provide 25GB of backup for your computer.

And gives you access to Googles replacement to Microsoft Office: Google Drive all online, always available on all your devices.

 

Businesses you might be interested in.

Ambassador Caterers

ambassadors For over 20 years we have been Catering in the Wairarapa with fabulous food and excellent service.
Our team will work with you to provide a splendid meal that will suit your function and location.

Services of Interest.

We will contact you.

Thank you for requesting support from us.

We we offer remote support and onsite support with in the Big Island.

Company Logo Teamviewer 250

We suggest that you download and install this customized version of team viewer. Click me to Download Remote Support.

Open Source Software.

GIMP

gimpThe Free & Open Source Image Editor

Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you with sophisticated tools to get your job done. You can further enhance your productivity with GIMP thanks to many customization options and 3rd party plugins.