try to use mailscanner
Efes
jiscmail at DUOX.FUNSMS.COM.UA
Sun Sep 21 20:14:05 IST 2003
Dear Mailscanner users & creators,
I have
ASPLinux 7.2
Sendmail 8.11.6
MailScanner (istalled from
http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/rpm/MailScanner-
4.20-3.rpm.tar.gz )
F-Prot (installed from
ftp://ftp.f-prot.com/pub/linux/fp-linux-sb.rpm )
perl-5.6.0-17.asp
wget-1.7-3
unzip-5.50-2
gcc-2.96-99.0.asp
I can't find /usr/local/MailScanner/etc/mailscanner.conf
My /etc/MailScanner/MailScanner.conf is here:
-------start MailScanner.conf-----------
Max Children = 3
Run As User =
Run As Group =
Queue Scan Interval = 5
Incoming Queue Dir = /var/spool/mqueue.in
Outgoing Queue Dir = /var/spool/mqueue
Incoming Work Dir = /var/spool/MailScanner/incoming
Quarantine Dir = /var/spool/MailScanner/quarantine
PID file = /var/run/MailScanner.pid
Restart Every = 14400
MTA = sendmail
Sendmail = /usr/sbin/sendmail
Sendmail2 = /usr/sbin/sendmail
Max Unscanned Bytes Per Scan = 100000000
Max Unsafe Bytes Per Scan = 50000000
Max Unscanned Messages Per Scan = 100
Max Unsafe Messages Per Scan = 100
Expand TNEF = yes
Deliver Unparsable TNEF = no
TNEF Expander = /usr/bin/tnef --maxsize=100000000
TNEF Timeout = 120
Virus Scanning = yes
Virus Scanners = f-prot
Virus Scanner Timeout = 300
Deliver Disinfected Files = yes
Silent Viruses = Klez Yaha-E Bugbear Braid-A WinEvar
Still Deliver Silent Viruses = yes
Block Encrypted Messages = no
Block Unencrypted Messages = no
Allow Partial Messages = no
Allow External Message Bodies = no
Allow IFrame Tags = no
Log IFrame Tags = no
Allow Object Codebase Tags = no
Convert Dangerous HTML To Text = no
Convert HTML To Text = no
Filename Rules = /etc/MailScanner/filename.rules.conf
Quarantine Infections = yes
Quarantine Whole Message = no
Quarantine Whole Messages As Queue Files = no
Language Strings = /etc/MailScanner/reports/en/languages.conf
Deleted Bad Filename Message Report =
/etc/MailScanner/reports/en/deleted.filename.message.txt
Deleted Virus Message Report =
/etc/MailScanner/reports/en/deleted.virus.message.txt
Stored Bad Filename Message Report =
/etc/MailScanner/reports/en/stored.filename.message.txt
Stored Virus Message Report =
/etc/MailScanner/reports/en/stored.virus.message.txt
Disinfected Report = /etc/MailScanner/reports/en/disinfected.report.txt
Inline HTML Signature = /etc/MailScanner/reports/en/inline.sig.html
Inline Text Signature = /etc/MailScanner/reports/en/inline.sig.txt
Inline HTML Warning = /etc/MailScanner/reports/en/inline.warning.html
Inline Text Warning = /etc/MailScanner/reports/en/inline.warning.txt
Sender Error Report = /etc/MailScanner/reports/en/sender.error.report.txt
Sender Bad Filename Report =
/etc/MailScanner/reports/en/sender.filename.report.txt
Sender Virus Report
= /etc/MailScanner/reports/en/sender.virus.report.txt
Hide Incoming Work Dir = yes
Include Scanner Name In Reports = no
Mail Header = X-MailScanner:
Spam Header = X-MailScanner-SpamCheck:
Spam Score Header = X-MailScanner-SpamScore:
Information Header = X-MailScanner-Information:
Spam Score Character = s
Clean Header Value = Found to be clean
Infected Header Value = Found to be infected
Disinfected Header Value = Disinfected
Information Header Value = Please contact the ISP for more information
Detailed Spam Report = yes
Multiple Headers = append
Hostname = duox.funsms.com.ua
Sign Messages Already Processed = no
Sign Clean Messages = no
Mark Infected Messages = yes
Mark Unscanned Messages = yes
Unscanned Header Value = Not scanned: please contact your Internet E-Mail
Service Provider for details
Deliver Cleaned Messages = yes
Notify Senders = yes
Never Notify Senders Of Precedence = list bulk
Scanned Modify Subject = no # end
Scanned Subject Text = {Scanned}
Virus Modify Subject = yes
Virus Subject Text = {Virus?}
Filename Modify Subject = yes
Filename Subject Text = {Filename?}
Spam Modify Subject = yes
Spam Subject Text = {Spam?}
High Scoring Spam Modify Subject = yes
High Scoring Spam Subject Text = {Spam?}
Warning Is Attachment = yes
Attachment Warning Filename = VirusWarning.txt
Attachment Encoding Charset = us-ascii
Archive Mail = /var/spool/MailScanner/archive
Send Notices = yes
Notices Include Full Headers = yes
Hide Incoming Work Dir in Notices = no
Notice Signature = -- \nMailScanner\nEmail Virus
Scanner\nwww.mailscanner.info
Notices From = MailScanner
Notices To = postmaster
Local Postmaster = postmaster
Spam List Definitions = /etc/MailScanner/spam.lists.conf
Virus Scanner Definitions = /etc/MailScanner/virus.scanners.conf
Spam Checks = no
Use SpamAssassin = no
Max SpamAssassin Size = 90000
Required SpamAssassin Score = 5
High SpamAssassin Score = 20
SpamAssassin Auto Whitelist = no
SpamAssassin Prefs File = /etc/MailScanner/spam.assassin.prefs.conf
SpamAssassin Timeout = 40
Max SpamAssassin Timeouts = 20
Check SpamAssassin If On Spam List = yes
Always Include SpamAssassin Report = no
Spam Score = yes
Spam Actions = deliver
High Scoring Spam Actions = deliver
Sender Spam Report = /etc/MailScanner/reports/en/sender.spam.report.txt
Sender Spam List Report =
/etc/MailScanner/reports/en/sender.spam.rbl.report.txt Sender SpamAssassin
Report = /etc/MailScanner/reports/en/sender.spam.sa.report.txt
Syslog Facility = mail
Log Spam = no
Log Permitted Filenames = no
SpamAssassin User State Dir =
SpamAssassin Install Prefix =
SpamAssassin Local Rules Dir =
SpamAssassin Default Rules Dir =
Debug = no
Debug SpamAssassin = no
Always Looked Up Last = no
Deliver In Background = yes
Delivery Method = batch
Split Exim Spool = no
Lockfile Dir = /tmp
Minimum Code Status = supported
-------end MailScanner.conf-----------
My problem is:
1) when system starts, it shows attempt of mailscanner to start;
mailscanner starts, but with some errors, I do not have time to write
down these errors, looks like it's connected with perl;
2) when I try to send some message, sendmail saves it in
/var/spool/mqueue.in directory, I wait for long time, but it doesn't
move to /var/spool/mqueue.
So now I've stopped MailScanner in system autorun and set sendmail to
be in autorun. Please give some advise what to change in
MailScanner.conf, what to do with errors on MailScanner start up (and
how to write down that quick messages while system starts), etc.
Please send CC: of your reply directly to me.
Thanks for your time.
Best regards.
--
Yuriy Markiv
More information about the MailScanner
mailing list