#1 (permalink)  
Old 11-23-2006, 08:08 AM
Registered User
 
Join Date: Sep 2004
Posts: 499
bsasninja is on a distinguished road
Problem using this Exim ACL

There is a ACL for blocking hostnames with "localhost" in it posted in several sites, but the problem is that if the machine of the person sending the email is called "localhost" the mail will not arrive.

For example, if you use WinXP try setting your machine name to localhost then send an email with this rule in your server... it will be filtered.

deny message = You are hardly local, fool
log_message = HELO/EHLO localhost
condition = ${if match {$sender_helo_name}{localhost}{yes}{no}

Is there a way to filter the sender "server" host if its called localhost instead of the name of the sender´s machine?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:15 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc