Tag Archives: MailScanner

Sudden slow-down of combination MailScanner+MailWatch=MySQL problem

It takes up to 25min for mail to pass through my mail server, which is BAD. Digging around in logs, I found that the most likely culprit was a very slow writing to MySQL DB. How to see general configuration … Continue reading

Posted in Linux | Tagged , , , | Comments Off on Sudden slow-down of combination MailScanner+MailWatch=MySQL problem

MailScanner BlackLists (BL)

In this case I mean the local BLs, which are set up by the local administrator (me ;-)). They are here : /etc/MailScanner/rules/spam.blacklist.rules There “the bad guys” may be named under several crietria : 1. IP address 2. IP address … Continue reading

Posted in Linux | Tagged , | Comments Off on MailScanner BlackLists (BL)

MailScanner and links in messages

If you want to send links through MailScanner, and you do not want it to replace them with something like this : “MailScanner has detected a possible fraud attempt from “10.10.10.11” claiming to be ……” Than you need to set … Continue reading

Posted in Linux | Tagged , | Comments Off on MailScanner and links in messages

Digital signature and MailScanner

If you try to send digitally signed mail through the combination : MailScanner+Sendmail+MySQL+ClamAV+SpamAssassin, on the receiving end you will get this : The digital signature on this message is invalid or not trusted”. “The message contents may have been altered”. … Continue reading

Posted in Linux | Tagged , | Comments Off on Digital signature and MailScanner

MailScanner and its quarantine

How to activate quarantine under MailScanner, and how to set up keep-time (how long the quarantined messages are kept on server) : Configuration parameters for this are in file /etc/cron.daily/clean.quarantine Quarantine activation is done through option (disabled is 1, enabled … Continue reading

Posted in Linux | Tagged , | Comments Off on MailScanner and its quarantine

MailScanner, Sendmail and limitations

There are quite a few things that you may want to limit on your mail server. Here are some of them, a short description, and a little how-to : Total size of the message (mail body and any and alll … Continue reading

Posted in Linux | Tagged , | Comments Off on MailScanner, Sendmail and limitations

Anti spam using key words (manually)

So the start server configuration is as it was all this time (Sendmail, MailScanner, MailWattch, SpamAssassin, RHEL 6U2). This is a post where I will try to explain how to use key words from mail “Subject” field and weight factors … Continue reading

Posted in Linux | Tagged , | Comments Off on Anti spam using key words (manually)

How to pull mail out of the quarantine, under MailScanner

In my up-to-date constelation (see older posts MailWatch Version = 1.2.0, MailScanner Version = 4.84.5, PHP Version = 5.3.3, MySQL Version = 5.1.61), MailScanner quarantine is under /var/spool/MailScanner. To be able to release mails using MailWatch+MailScanner combination, this folder needs … Continue reading

Posted in Linux | Tagged , , | Comments Off on How to pull mail out of the quarantine, under MailScanner

Dump MySQL DB for MailScanner

Well, I have promised this, have I not? So, on Fedora and RHEL, with MySQL 4.1.20 (or higher version), when number of messages in DB goes over (or near) 700.000 there are some nasty side-effects; lake delay of mails because … Continue reading

Posted in Linux | Tagged , , | Comments Off on Dump MySQL DB for MailScanner

MailScanner and unwanted mail

So, how to get rid of unwanted mail. Not spam, but unwanted types of attachments which come with mails; for example avi, wmv, mp3, dll, exe. Such messages take up space, CPU time and user attention 😉 and also can … Continue reading

Posted in Linux | Tagged , , | Comments Off on MailScanner and unwanted mail