著者: Sander Smeenk 日付: To: Exim CC: exim-users 題目: Re: [Exim] Relaying only for AUTHenticated users and localhost
Quoting Exim (exim@???):
> Is there a simple way to make exim behave in this way?
You must use ACL's to accomplish this.
You need to define an ACL for the RCPT command, there you add 'accept
authenticated = *' to allow relaying by all hosts that successfully used
the AUTH command. Ofcourse this accept line must be somewhere before the
relaying denied lines.
You can then create an ACL for the AUTH command to force AUTHenticating
users to use TLS, etcetera.
> Would this behavior be RFC compliant?
Yes.
> I don't want to allow sending emails by any other means...
> You must either be a process running in the server or use SMTP AUTH
> in your email client.
Just specify the correct IP's in a relay_hosts list and add 'accept
hosts = +relay_hosts' in your config. This line too needs to be above
the relaying denied lines.
Be sure only to allow trusted IP's, like your own && localhost.
Refer to the manual to find out how to create ACL's.
S.
-- | Thou shalt not weigh more than thy refrigerator
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D