Re: [Exim] disabling outgoing mail

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [Exim] disabling outgoing mail
On 8 Jul 2004 at 15:21, vadik wrote about
    "Re: [Exim] disabling outgoing mail":


| Fred Viles wrote:

|...
| >acl_check_rcpt:
| >
| ># Added to deny all outgoing via SMTP, even from the local network:
| >
| >    deny    message = No non-local delivery
| >        !domains = +local_domains

|...
| I tried to play with acl_check_rcpt, but I anded up not receiving any
| email, so I wanted to double check. These two lines deny all connection
| when someone want to send email to any addresses other than local
| domain.


Right. That's assuming local_domains has been defined as in the
example, a list of the domains for which the server accepts email for
local delivery.

| Can I deny possibility or relaying email to local domain?


Accepting mail for the local domains is not called relaying.

I don't understand what you mean. If you don't want to accept
outgoing messages (messages addressed to non-local domains) and you
don't want to accept incoming messages (messages addressed to local
domains), just what messages *do* you want to accept?

- Fred