Le 13/04/2012 19:27, Kizito Thomas a écrit : > Thank you Ansgar, > Does it mean I cannot use this method to block un desirable mails this way? > At first I tried using the method explained on > http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/ but > this could not allow postfix to restart. > That is why I resort to this. Is there another way around this?
Hi Kizito, Indeed you can use this method to block incoming email, I do this actually. I guess your problem is the regex itselfs, add an space after 'From:' and to be sure to match this "spammer" open your regex like : /^From: .*t...@mayengo.or.ug.*/ REJECT Regards -- Rodolphe Quiédeville - rodolp...@pilotsystems.net Pilot Systems - 9, rue Desargues - 75011 Paris Tel : +33 1 44 53 05 55 - www.pilotsystems.net Gérez vos contacts et vos newsletters : www.cockpit-mailing.com