There are a lot smarter people than me on this thread that will speak up if
I am wrong, but as I understand it, I *believe* this would work for what you
need.


Add a line into your rules.ima

T~localdomain!AND!F~blockeddomain:!BOUNCE!

i.e.

T~microsoft\.com!AND!F~sun\.com:!BOUNCE!


If you edit the rules file for the one local domain you host that wants this
foreign domain blocked, you could eliminate the T~localdomain!AND! part of
the rule.



If you are going for redundancy and double checking, you could also include
the foreign domain mail server IP(s) from their MX Records:

T~localdomain!AND!H~x\.x\.x\.x:!BOUNCE!

i.e.

T~microsoft\.com!AND!H~192\.18\.96\.3:!BOUNCE!



I believe this should bounce the email back, although it will show the IMAIL
bounce rule and thus "alert" them that your local hosted domain is blocking
their domain, not simply a failure notice as if it could not get through.

Probably the only way to do a complete block before it hits the IMAIL Server
is if every domain you host is on a separate IP and you block incoming Port
25 of the IP of their mail server at your router on that single IP.









-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Dodell
Sent: Friday, October 10, 2003 8:38 PM
To: Imail Mailing List
Subject: [IMail Forum] blocking a domain


I have a domain I want to block ... I know I can put it in the "Kill
File" in the SMTP security section.

However, I act as a primary MX for several domains that want to
receive mail from this domain.

Anyway I can selectively block mail from this domain going to certain
domains that I host, but allow it to pass through on others where I'm
just a mail relay?

Strange situation, I just don't want to filter and delete, I want to
refuse so the sending domain gets a refused connection and failure in
their logs / email bounce.

David


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/



To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to