Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Banned Attachments
  FAQ FAQ  Forum Search   Register Register  Login Login

Banned Attachments

 Post Reply Post Reply
Author
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Topic: Banned Attachments
    Posted: 15 December 2004 at 12:58pm
All,

Some of our customers have requested (against our better judgment) that the "Banned Attachments" are not "NULLed" and are actually quarantined.  So ... to help protect them from themselves I have made a modification to our ListSpam page to at least flag the message as potentially dangerous.  In our ListSpam page, we list the RejectDetails and modify the color and add text as follows:

<% strLine = rs("RejectDetails")
    If InStr (strLine,"prohibited attachment") > 0 Then %>
        <td><font face="Arial" size="1" color = "red">Virus WARNING!&nbsp;<%=Server.HTMLEncode(rs("RejectDetails"))%></font></td>
<% Else %>
        <td><font face="Arial" size="1"><%=Server.HTMLEncode(rs("RejectDetails"))%></font></td>
<% End if %>

Of course, if they elect to send it, our virus scanner kills it anyway.
 
Regards,
 
Dan S.
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2004 at 11:26am
All,
 
Yet a more obvious way of "Flagging" banned attachments is to modify the listing in ListSpam for the EmailFrom field as follows:
 
   <% strLine = rs("RejectDetails")
   If InStr (strLine,"prohibited attachment") > 0 Then %>
      <font face="Arial" size="2" color = "red"><Strong>Possible Virus!&nbsp;</Strong></font>
   <% End if %>
   <font face="Arial" size="1"><% If rs("EmailFrom") <> "" Then %><%=Server.HTMLEncode(rs("EmailFrom"))%>
      <% Else Response.Write("&nbsp;") %>
   <% End if %></font></td>
 
BTW, The last "if" bit is only included to force my borders on my table even if the from address is blank.
 
Regards,
 
Dan S
Back to Top
John View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote John Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2004 at 2:04am
Dan, Send me an email. I have some info for your for antivirus. John
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 20 December 2004 at 1:59pm

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.172 seconds.