Hi all,<br><br>I've got MailScanner 4.58.9 running on my system and I'am having some trouble with the "Warning Is Attachment" option, because no matter the value in it I always receive warnings as attachments.<br>
<br>Is there anything I can do to fix this?<br><br><br>Tanks in advance for any help<br><br><br>Nelson Vale<br><br><br><br>My configuration is as follows:<br><br>%org-name% = MailScanner<br>%org-long-name% = MailScanner<br>
%web-site% = <a href="http://www.mailscanner.info">www.mailscanner.info</a><br>%etc-dir% = /usr/lib/mailscanner/etc<br>%report-dir% = /usr/lib/mailscanner/etc/reports/en<br>%rules-dir% = /usr/lib/mailscanner/etc/rules<br>
%mcp-dir% = /usr/lib/mailscanner/etc/mcp<br>Max Children = 5<br>Run As User =<br>Run As Group =<br>Queue Scan Interval = 10<br>Incoming Queue Dir = /var/spool/<a href="http://mqueue.in">mqueue.in</a><br>Outgoing Queue Dir = /var/spool/mqueue<br>
Incoming Work Dir = /var/spool/MailScanner/incoming<br>Quarantine Dir = /var/spool/MailScanner/quarantine<br>PID file = /var/run/MailScanner.pid<br>Restart Every = 14400<br>MTA = sendmail<br>Sendmail = /usr/sbin/sendmail<br>
Sendmail2 = /usr/sbin/sendmail<br>Incoming Work User =<br>Incoming Work Group =<br>Incoming Work Permissions = 0600<br>Quarantine User =<br>Quarantine Group =<br>Quarantine Permissions = 0600<br>Max Unscanned Bytes Per Scan = 100m<br>
Max Unsafe Bytes Per Scan = 50m<br>Max Unscanned Messages Per Scan = 30<br>Max Unsafe Messages Per Scan = 30<br>Max Normal Queue Size = 800<br>Scan Messages = yes<br>Reject Message = no<br>Maximum Attachments Per Message = 200<br>
Expand TNEF = no<br>Use TNEF Contents = replace<br>Deliver Unparsable TNEF = yes<br>TNEF Expander = /usr/bin/tnef --maxsize=100000000<br>TNEF Timeout = 120<br>File Command = /usr/bin/file<br>File Timeout = 20<br>Gunzip Command = /bin/gunzip<br>
Gunzip Timeout = 50<br>Unrar Command = /usr/bin/unrar <br>Unrar Timeout = 50<br>Find UU-Encoded Files = no<br>Maximum Message Size = %rules-dir%/max.message.size.rules<br>Maximum Attachment Size = -1<br>Minimum Attachment Size = -1<br>
Maximum Archive Depth = 5<br>Find Archives By Content = yes<br>Virus Scanning = yes<br>Virus Scanners = clamav<br>Virus Scanner Timeout = 300<br>Deliver Disinfected Files = yes<br>Silent Viruses = HTML-IFrame All-Viruses<br>
Still Deliver Silent Viruses = yes<br>Non-Forging Viruses = Joke/ OF97/ WM97/ W97M/ eicar<br>Block Encrypted Messages = no<br>Block Unencrypted Messages = no<br>Allow Password-Protected Archives = yes<br>Allowed Sophos Error Messages =<br>
Sophos IDE Dir = /usr/lib/sav<br>Sophos Lib Dir = /usr/lib<br>Monitors For Sophos Updates = /usr/lib/sav/*ides.zip<br>###Monitors for ClamAV Updates = /usr/local/share/clamav/*.cvd<br>ClamAVmodule Maximum Recursion Level = 8<br>
ClamAVmodule Maximum Files = 1000<br>ClamAVmodule Maximum File Size = 10000000 # (10 Mbytes)<br>ClamAVmodule Maximum Compression Ratio = 250<br>Dangerous Content Scanning = yes<br>Allow Partial Messages = no<br>Allow External Message Bodies = no<br>
Find Phishing Fraud = yes<br>Also Find Numeric Phishing = yes<br>Use Stricter Phishing Net = yes<br>Highlight Phishing Fraud = yes<br>Phishing Safe Sites File = %etc-dir%/phishing.safe.sites.conf<br>Country Sub-Domains List = %etc-dir%/country.domains.conf<br>
Allow IFrame Tags = no<br>###########Log IFrame Tags = no<br>Allow Form Tags = no<br>Allow Script Tags = disarm<br>Allow WebBugs = disarm<br>Ignored Web Bug Filenames = spacer pixel.gif pixel.png gap<br>Web Bug Replacement = <a href="http://www.sng.ecs.soton.ac.uk/mailscanner/images/1x1spacer.gif">http://www.sng.ecs.soton.ac.uk/mailscanner/images/1x1spacer.gif</a><br>
Allow Object Codebase Tags = no<br>Convert Dangerous HTML To Text = no<br>Convert HTML To Text = no<br>Allow Filenames =<br>Deny Filenames =<br>Filename Rules = %etc-dir%/filename.rules.conf<br>Allow Filetypes =<br>Deny Filetypes =<br>
Filetype Rules = %etc-dir%/filetype.rules.conf<br>Quarantine Infections = yes<br>Quarantine Silent Viruses = yes<br>Quarantine Modified Body = no<br>Quarantine Whole Message = yes<br>Quarantine Whole Messages As Queue Files = yes<br>
Keep Spam And MCP Archive Clean = no<br>Language Strings = %report-dir%/languages.conf<br>Rejection Report = %report-dir%/rejection.report.txt<br>Deleted Bad Content Message Report = %report-dir%/deleted.content.message.txt<br>
Deleted Bad Filename Message Report = %report-dir%/deleted.filename.message.txt<br>Deleted Virus Message Report = %report-dir%/deleted.virus.message.txt<br>Deleted Size Message Report = %report-dir%/deleted.size.message.txt<br>
Stored Bad Content Message Report = %report-dir%/stored.content.message.txt<br>Stored Bad Filename Message Report = %report-dir%/stored.filename.message.txt<br>Stored Virus Message Report = %report-dir%/stored.virus.message.txt<br>
Stored Size Message Report = %report-dir%/stored.size.message.txt<br>Disinfected Report = %report-dir%/disinfected.report.txt<br>Inline HTML Signature = %report-dir%/inline.sig.html<br>Inline Text Signature = %report-dir%/inline.sig.txt<br>
Inline HTML Warning = %report-dir%/inline.warning.html<br>Inline Text Warning = %report-dir%/inline.warning.txt<br>Sender Content Report = %report-dir%/sender.content.report.txt<br>Sender Error Report = %report-dir%/sender.error.report.txt<br>
Sender Bad Filename Report = %report-dir%/sender.filename.report.txt<br>Sender Virus Report = %report-dir%/sender.virus.report.txt<br>Sender Size Report = %report-dir%/sender.size.report.txt<br>Hide Incoming Work Dir = yes<br>
Include Scanner Name In Reports = yes<br>Mail Header = X-%org-name%-MailScanner:<br>Spam Header = X-%org-name%-MailScanner-SpamCheck:<br>Spam Score Header = X-%org-name%-MailScanner-SpamScore:<br>Information Header = X-%org-name%-MailScanner-Information:<br>
Add Envelope From Header = yes<br>Add Envelope To Header = no<br>Envelope From Header = X-%org-name%-MailScanner-From:<br>Envelope To Header = X-%org-name%-MailScanner-To:<br>Spam Score Character = s<br>SpamScore Number Instead Of Stars = no<br>
Minimum Stars If On Spam List = 0<br>Clean Header Value = Found to be clean<br>Infected Header Value = Found to be infected<br>Disinfected Header Value = Disinfected<br>Information Header Value = Please contact the ISP for more information<br>
Detailed Spam Report = yes<br>Include Scores In SpamAssassin Report = yes<br>Multiple Headers = append<br>Hostname = the %org-name% ($HOSTNAME) MailScanner<br>Sign Messages Already Processed = no<br>Sign Clean Messages = yes<br>
Mark Infected Messages = yes<br>Mark Unscanned Messages = yes<br>Unscanned Header Value = Not scanned: please contact your Internet E-Mail Service Provider for details<br>Remove These Headers = X-Mozilla-Status: X-Mozilla-Status2:<br>
Deliver Cleaned Messages = yes<br>Notify Senders = yes<br>Notify Senders Of Viruses = yes<br>Notify Senders Of Blocked Filenames Or Filetypes = yes<br>Notify Senders Of Blocked Size Attachments = no<br>Notify Senders Of Other Blocked Content = yes<br>
Never Notify Senders Of Precedence = list bulk<br>Scanned Modify Subject = no # end<br>Scanned Subject Text = {Scanned}<br>Virus Modify Subject = yes<br>Virus Subject Text = {Virus?}<br>Filename Modify Subject = start<br>
Filename Subject Text = {Filename?}<br>Content Modify Subject = start<br>Content Subject Text = {Dangerous Content?}<br>Size Modify Subject = start<br>Size Subject Text = {Size}<br>Disarmed Modify Subject = start<br>Disarmed Subject Text = {Disarmed}<br>
Phishing Modify Subject = no<br>Phishing Subject Text = {Fraud?}<br>Spam Modify Subject = start<br>Spam Subject Text = {Spam?}<br>High Scoring Spam Modify Subject = yes<br>High Scoring Spam Subject Text = {Spam?}<br>Warning Is Attachment = no<br>
Attachment Warning Filename = %org-name%-Attachment-Warning.txt<br>Attachment Encoding Charset = us-ascii<br>Archive Mail =<br>Send Notices = no<br>Notices Include Full Headers = no<br>Hide Incoming Work Dir in Notices = no<br>
Notice Signature = -- \nMailScanner\nEmail Virus Scanner\<a href="http://nwww.mailscanner.info">nwww.mailscanner.info</a><br>Notices From = MailScanner<br>Notices To = <a href="mailto:nelsonduvall@gmail.com">nelsonduvall@gmail.com</a><br>
Local Postmaster = postmaster<br>Local Postmaster = postmaster<br>Spam List Definitions = %etc-dir%/spam.lists.conf<br>Virus Scanner Definitions = %etc-dir%/virus.scanners.conf<br>Spam Checks = yes<br>Spam List = A0 A1 A2 A3 A4<br>
Spam Domain List =<br>Spam Lists To Be Spam = 1<br>Spam Lists To Reach High Score = 5<br>Spam List Timeout = 10<br>Max Spam List Timeouts = 7<br>Spam List Timeouts History = 10<br>Is Definitely Not Spam = %rules-dir%/spam.whitelist.rules<br>
Is Definitely Spam = no<br>Definite Spam Is High Scoring = no<br>Ignore Spam Whitelist If Recipients Exceed = 20<br>Max Spam Check Size = 150000<br>Use SpamAssassin = no<br>Max SpamAssassin Size = 40k<br>Required SpamAssassin Score = 5<br>
High SpamAssassin Score = 20<br>SpamAssassin Auto Whitelist = yes<br>#SpamAssassin Prefs File = %etc-dir%/spam.assassin.prefs.conf<br>Always Include SpamAssassin Report = no<br>SpamAssassin Timeouts History = 30<br>Check SpamAssassin If On Spam List = no<br>
Spam Score = yes<br>Cache SpamAssassin Results = yes<br>SpamAssassin Cache Database File = /var/spool/MailScanner/incoming/SpamAssassin.cache.db<br>Rebuild Bayes Every = 0<br>Wait During Bayes Rebuild = no<br>Use Custom Spam Scanner = no<br>
Max Custom Spam Scanner Size = 20k<br>Custom Spam Scanner Timeout = 20<br>Max Custom Spam Scanner Timeouts = 10<br>Custom Spam Scanner Timeout History = 20<br>Spam Actions = deliver<br>High Scoring Spam Actions = deliver header "X-Spam-Status: Yes"<br>
Non Spam Actions = deliver header "X-Spam-Status: No"<br>Sender Spam Report = %report-dir%/sender.spam.report.txt<br>Sender Spam List Report = %report-dir%/sender.spam.rbl.report.txt<br>Sender SpamAssassin Report = %report-dir%/sender.spam.sa.report.txt<br>
Inline Spam Warning = %report-dir%/inline.spam.warning.txt<br>Recipient Spam Report = %report-dir%/recipient.spam.report.txt<br>Enable Spam Bounce = %rules-dir%/bounce.rules<br>Bounce Spam As Attachment = no<br>Syslog Facility = mail<br>
Log Speed = no<br>Log Spam = no<br>Log Non Spam = no<br>Log Permitted Filenames = no<br>Log Permitted Filetypes = no<br>Log Silent Viruses = no<br>Log Dangerous HTML Tags = no<br>SpamAssassin User State Dir =<br>SpamAssassin Install Prefix =<br>
SpamAssassin Site Rules Dir = # /etc/mail/spamassassin<br>SpamAssassin Local Rules Dir =<br>SpamAssassin Local State Dir = # /var/lib/spamassassin<br>SpamAssassin Default Rules Dir =<br>MCP Checks = no<br>First Check = mcp<br>
MCP Required SpamAssassin Score = 1<br>MCP High SpamAssassin Score = 10<br>MCP Error Score = 1<br>MCP Header = X-%org-name%-MailScanner-MCPCheck:<br>Non MCP Actions = deliver<br>MCP Actions = deliver<br>High Scoring MCP Actions = deliver<br>
Bounce MCP As Attachment = no<br>MCP Modify Subject = start<br>MCP Subject Text = {MCP?}<br>High Scoring MCP Modify Subject = start<br>High Scoring MCP Subject Text = {MCP?}<br>Is Definitely MCP = no<br>Is Definitely Not MCP = no<br>
Definite MCP Is High Scoring = no<br>Always Include MCP Report = no<br>Detailed MCP Report = yes<br>Include Scores In MCP Report = no<br>Log MCP = no<br>MCP Max SpamAssassin Timeouts = 20<br>MCP Max SpamAssassin Size = 100k<br>
MCP SpamAssassin Timeout = 10<br>MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf<br>MCP SpamAssassin User State Dir =<br>MCP SpamAssassin Local Rules Dir = %mcp-dir%<br>MCP SpamAssassin Default Rules Dir = %mcp-dir%<br>
MCP SpamAssassin Install Prefix = %mcp-dir%<br>Recipient MCP Report = %report-dir%/recipient.mcp.report.txt<br>Sender MCP Report = %report-dir%/sender.mcp.report.txt<br>Use Default Rules With Multiple Recipients = no<br>Spam Score Number Format = %d<br>
MailScanner Version Number = 4.58.9<br>SpamAssassin Cache Timings = 1800,300,10800,172800,600<br>Debug = no<br>Debug SpamAssassin = no<br>Run In Foreground = no<br>Always Looked Up Last = no<br>Always Looked Up Last After Batch = no<br>
Deliver In Background = yes<br>Delivery Method = batch<br>Split Exim Spool = no<br>Lockfile Dir = /tmp<br>Custom Functions Dir = /usr/lib/mailscanner/lib/MailScanner/CustomFunctions<br>Lock Type =<br>Minimum Code Status = supported<br>