Contact Us
06-379-6668 ~ 021-827-660 ~ This email address is being protected from spambots. You need JavaScript enabled to view it. ~ 06-880-0000
- Travelling though Carterton on High Street.
- Turn on to Morton Rd.
- Head out of town for around 4 KM
- If you get to the end of Morton Rd you have gone too far.
- Turn right down Waitangi Rd .
- As Waitangi Rd does a gentle curve to the left go straight ahead over the small bridge.
- At the end of the tar-seal, turn right up the gravel road to the house at the end of this road.
- That's us.
Access Information Limited
160b Waitangi Rd
RD2 Carterton 5792
New Zealand
Hold Artical
Hold Artricle
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.

