quantranhong1999 opened a new pull request, #1126:
URL: https://github.com/apache/james-project/pull/1126

   As a user, I should NEVER receive an email containing a Virus.
   RSpamDScanner mailet should push virus mail to `spamProcessor` for further 
processing (configurable).
   
   E.g:
   - Hard reject processing (store them in a mail repository and not deliver 
them):
   ```xml
         <processor state="spam" enableJmx="false">
           <mailet match="All" class="ToRepository">
             <repositoryPath>file://var/mail/spam/</repositoryPath>
           </mailet>
         </processor>
   ```
   - Soft reject processing (Remove attachment, modify the subject with [VIRUS] 
and add headers...):
   ```xml
         <processor state="spam" enableJmx="false">
           <mailet match="All" class="StripAttachment">
             <remove>all</remove>
             <pattern>.*</pattern>
           </mailet>
           <mailet match="All" class="AddSubjectPrefix">
             <subjectPrefix>[VIRUS]</subjectPrefix>
           </mailet>
         </processor>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to