If you do not have any reason to use BASH instead of PERL, you should have a look at Peter Lindeman's solution.
It is the solution I'm now using on my own server and it works like a charm with more options than my BASH solution.

Si vous n'avez pas de raison particulière d'utiliser BASH plutôt que PERL, je vous encourage à opter pour la solution de Peter Lindeman.
C'est cette solution que j'utilise désormais avec satisfaction. Elle offre plus d'options que ma solution en BASH.

 

XMail + F-Prot + Bash = XM_Fprot_Filter for Linux

 

Anglais
 
French
XMail is my favorite SMTP/POP server. It works on many plateforms, including Linux and Windows NT. I've written a Bash script to scan entering messages with F-Prot. I hope it will be usefull to other XMail users. Pleas use it freely ! If you improve it, let me know !   XMail est mon serveur SMTP/POP préféré. Il fonctionne sur plusieurs plateformes, y compris Linux et Windows NT. J'ai écrit un script Bash pour scanner chaque message entrant contre les virus avec F-Prot. J'espère qu'il sera utile à d'autres utilisateurs d'XMail. Utilisez-le librement ! Si vous l'améliorez, merci de m'en faire profiter !
 
XMail 1.15 or plus is needed to use the script ! XMail 1.15 ou plus est requis pour utiliser le script !
 
Enter Entrée

Do you want to have a very good start with XMail ? Here it is :
Pour bien démarrer avec XMail, suivez le guide (en Anglais):
http://www.ubaight.com/xmail

 

Hébergé par