Re: [exim] Allow/Deny messages based on Sending IP ?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: Adrian, 'Exim-users'
Υ/ο: 
Αντικείμενο: Re: [exim] Allow/Deny messages based on Sending IP ?
Adrian wrote:

> How do I tell Exim on the final server to only allow messages
> from (a) the gateway machine, and (b) the client IPs so they
> can send mail out - these are already stored on a file.


Put this after acl_check_rcpt:

deny hosts = ! 1.2.3.4 : ! /list/of/your/clients
      message = Please deliver through MX


(where 1.2.3.4 ist the ip address of your MX)