"Can I use the SMTP_SERVER_REJECT file to reject mail based on the subject?"


Question:

Can I reject something based on its subject? For example: anything that has ILOVEYOU in the subject?

 

Answer:

Yes, by using the ":rfc822:" reject rules. For exmaple: the following lines would reject all messages that have "ILOVEYOU" in the subject space:

!

! Reject anything with an RFC822 Subject header of ILOVEYOU

! cyberpromo.com or nowhere.com

!

:Subject: ILOVEYOU

 


June 15, 2000