ServerTune

Browse by category

Search    |    Advanced search

HowTo :: stop Exim from sending messages with certain extensions

SSH to the server and edit the following file, using your favorite Linux text editor such as pico or vi.

Remove or add the extension of your choice

$message_body matches
# Exim filter
if $message_body matches "name="[^"]+.zip"" or
$message_body matches "name="[^"]+.scr"" or
$message_body matches "name="[^"]+.exe"" or
$message_body matches "name="[^"]+.pif""
then
save /home/aquarius/mail/Dodgy-Attachments
endif
 
 
Add comment
 
Views: 1106
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS