Menu

How to filter viruses mail into a single file

Help
2005-08-22
2013-04-22
  • Nobody/Anonymous

    Hi

    How can I setup the config file to use a single file to hold all virus emails, I dont want the viruses stay into the user's folders.

    Thanks

     
    • Robert Allerstorfer

      Hi,

      to filter all virus emails into a single file, just add

      my_TRASHFOLDER = "/var/spool/mail/${LOGNAME}_TRASH"

      into either your ~/.procmailrc (recommended) or into SoftlabsAV's Global configuration file (which is probably '/etc/procmailrcs/SoftlabsAV/antivirus.conf'), affecting all users.

      The file specification above would create one file for each user within the /var/spool/mail/ directory. Of course, this can also be any other file of your choice.

      best,
      rob.

       

Log in to post a comment.