Re: [exim] Safe Hosts per domain

Pàgina inicial
Delete this message
Reply to this message
Autor: Shine, Gary
Data:  
A: 'Renaud Allard'
CC: exim-users
Assumpte: Re: [exim] Safe Hosts per domain
Many thanks

I have not used ACL's before so I please confirm this

deny
!hosts = 1.2.3.4 [Is this the antispam gateway IP?]
domains = dom1.tld : dom2.tld [Domains I want to restrict?]
message = Your mail must be sent through the antispam gateway

I assume this goes into the configure file?

Many thanks
Gary

-----Original Message-----
From: Renaud Allard [mailto:renaud@llorien.org]
Sent: 21 January 2007 02:55
To: gshine@???
Cc: exim-users@???
Subject: Re: [exim] Safe Hosts per domain



Shine, Gary wrote:
> We have now implemented an Anti-Spam gateway for our Exim servers. I
> want to be able to tell Exim to reject mail for any domains where mail
> MUST come through the Anti-Spam gateway, but as not all domains come
> through that gateway, I need exim to check on a per domain bassis.
>
> This way I can stop people talking directly to the Exim servers,
> rather than the Anti-Spam gateway.
>
> Can Exim do this?
>


An ACL like this one should work

deny
!hosts = gateway
domains = dom1.tld : dom2.tld
message = Your mail must be sent through the antispam gateway



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.netlink.info
**********************************************************************