Attachment Warning Filename Question

johan.boye at latecoere.fr johan.boye at latecoere.fr
Tue May 29 15:59:56 IST 2007


I have to admit I'm quite lost ;) Let's restart from scratch, sorry :

I did that :

# I don't want to notify the sender when one of his email is blocked by
the filename/filetype rules : 
     Notify Senders = no
     Notify Senders Of Blocked Filenames Or Filetypes = no
     Notify Senders Of Other Blocked Content = no

# Then, I want to notify the recipient when a filename/type has been
blocked :
     Warning Is Attachment = yes
     Attachment Warning Filename =
%report-dir%/stored.filename.message.txt

        But  you told me to put that instead : 
     Attachment Warning Filename = %org-name%-Attachment-Warning.txt  

   Where should I put this file "mycompagny-tld-Attachment-Warning.txt"
?

# I don't want to warn System Administrator : 
     Send Notices = no


 Why that config, recipients don't receive any notification. What could
be the problem ?


    Thanks !

	Johan



> >> Anyway, here is my question :
> >>   I'm using Mailscanner since a couple of week and it works great.
I
> >> just have a question regarding the "Attachment Warning Filename"
> >> functionnality.
> >>   I wish send an email to the recipient when an email for him is
> >> blocked, It activated that :
> >>
> >>     Warning Is Attachment = yes
> >>     Attachment Warning Filename =
> >> %report-dir%/stored.filename.message.txt
> That option wants a filename to put into the delivered message, not
the 
> contents of the file. Something like Attachment Warning Filename =
%org-name%-Attachments-Read-Me.txt
> would be a suitable setting IIRC. It's what the replacement attachment
warning will be called, not what will go in it. If you can 
> come up with a better explanation than is currently in the
MailScanner.conf file, then please let me know, as the current 
> explanation is far from ideal.
> 
> If you want to set the text to go into the Attachments-Read-Me.txt,
then you should be setting
> # Set where to find the message text sent to users when one of their
> # attachments has been deleted from a message.
> # These can also be the filenames of rulesets.
> Deleted Bad Content Message Report =
%report-dir%/deleted.content.message.txt
> Deleted Bad Filename Message Report =
%report-dir%/deleted.filename.message.txt
> Deleted Virus Message Report = %report-dir%/deleted.virus.message.txt
> Deleted Size Message Report = %report-dir%/deleted.size.message.txt
> 
> # Set where to find the message text sent to users when one of their
> # attachments has been deleted from a message and stored in 
> the quarantine.
> # These can also be the filenames of rulesets.
> Stored Bad Content Message Report =
%report-dir%/stored.content.message.txt
> Stored Bad Filename Message Report =
%report-dir%/stored.filename.message.txt
> Stored Virus Message Report = %report-dir%/stored.virus.message.txt
> Stored Size Message Report = %report-dir%/stored.size.message.txt
> 
> >>
> >>  My default installation Mailscanner dir is : /opt/MailScanner/
> >>  But this is not sending any email to the recipient, did i mist
> >> something ?
> >>
> >>
> >>   Thanks by advance,
> >>
> >>     Johan
> >
> > Likely what you have there is OK, just that you never instruct MS to
> > actually use it:-).
> >
> > Check your "Silent Viruses" and "Still Deliver Silent Viruses"
> > settings, and perhaps some more (attachment "actions" for 
> unacceptable attachment types etc).

"Les informations contenues dans ce message electronique peuvent etre de nature confidentielles et soumises a une obligation de secret. Elles sont destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message par erreur, merci de le detruire immediatement et de le notifier a son emetteur."

 "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."



More information about the MailScanner mailing list