Mailscanner.Conf Reference Manual Version 1.1 Table of Content
Total Page:16
File Type:pdf, Size:1020Kb
Version 4.42.9 MailScanner.conf Reference Manual Version 1.1 Table of Content 1. Introduction................................................................................................................................. 8 2. Variables ..................................................................................................................................... 9 %report-dir%................................................................................................................................... 9 %etc-dir% ....................................................................................................................................... 9 %rules-dir% .................................................................................................................................... 9 %mcp-dir% ..................................................................................................................................... 9 %org-name%................................................................................................................................... 9 %org-long-name% ........................................................................................................................ 10 %web-site% .................................................................................................................................. 10 3. System settings.......................................................................................................................... 10 Max Children ................................................................................................................................ 10 Run As User.................................................................................................................................. 10 Run As Group ............................................................................................................................... 10 Queue Scan Interval...................................................................................................................... 11 Incoming Queue Dir ..................................................................................................................... 11 Outgoing Queue Dir...................................................................................................................... 11 Incoming Work Dir....................................................................................................................... 11 Quarantine Dir .............................................................................................................................. 11 PID file.......................................................................................................................................... 12 Restart Every................................................................................................................................. 12 MTA.............................................................................................................................................. 12 Sendmail ....................................................................................................................................... 12 Sendmail2 ..................................................................................................................................... 12 4. Incoming Work Dir Settings..................................................................................................... 13 Incoming Work User / Incoming Work Group............................................................................. 13 Incoming Work Permissions......................................................................................................... 13 5. Quarantine and Archive Settings .............................................................................................. 13 Quarantine User / Quarantine Group ............................................................................................ 13 Quarantine Permissions ................................................................................................................ 14 6. Processing Incoming Mail........................................................................................................ 14 Max Unscanned Bytes Per Scan / Max Unsafe Bytes Per Scan ................................................... 14 Max Unscanned Messages Per Scan / Max Unsafe Messages Per Scan ...................................... 14 Max Normal Queue Size............................................................................................................... 14 Maximum Attachments Per Message ........................................................................................... 14 Expand TNEF ............................................................................................................................... 15 Deliver Unparsable TNEF ............................................................................................................ 15 TNEF Expander ............................................................................................................................ 15 TNEF Timeout.............................................................................................................................. 15 File Command............................................................................................................................... 15 File Timeout.................................................................................................................................. 15 Unrar Command............................................................................................................................ 16 Unrar Timeout............................................................................................................................... 16 Maximum Message Size............................................................................................................... 16 Maximum Attachment Size .......................................................................................................... 16 Minimum Attachment Size........................................................................................................... 16 Maximum Archive Depth ............................................................................................................. 17 Find Archives By Content ............................................................................................................ 17 7. Virus Scanning and Vulnerability Testing................................................................................ 17 Virus Scanners .............................................................................................................................. 17 Virus Scanner Timeout ................................................................................................................. 18 Deliver Disinfected Files .............................................................................................................. 18 Silent Viruses................................................................................................................................ 19 Still Deliver Silent Viruses ........................................................................................................... 19 Non-Forging.................................................................................................................................. 20 Block Encrypted Messages........................................................................................................... 20 Block Unencrypted Messages....................................................................................................... 20 Allow Password-Protected Archives ............................................................................................ 20 Options specific to Sophos Anti-Virus ......................................................................................... 21 Allowed Sophos Error Messages.............................................................................................. 21 Sophos IDE Dir............................................................................................................................. 21 Sophos Lib Dir.............................................................................................................................. 21 Monitors For Sophos..................................................................................................................... 21 Options specific to ClamAV Anti-Virus....................................................................................... 21 ClamAVmodule Maximum Recursion Level / ClamAVmodule Maximum Files ................... 22 ClamAVmodule Maximum File Size / ClamAVmodule Maximum Compression Ratio ........ 22 8. Removing/Logging dangerous or potentially offensive content............................................... 22 Dangerous Content Scanning........................................................................................................ 22 Allow Partial Messages................................................................................................................. 22 Allow External Message............................................................................................................... 22 Find Phishing Fraud.....................................................................................................................