Re: [exim] restrict to sending mails from only two ip adress…

Góra strony
Delete this message
Reply to this message
Autor: Dave Evans
Data:  
Dla: exim-users
Stare tematy: [exim] Exim
Temat: Re: [exim] restrict to sending mails from only two ip adresses
On Mon, Jan 25, 2010 at 10:36:21AM +0100, tower wrote:
> Hi
>
> How can I configure Exim's ACL for one account without password
> authorization with restrict to sending mails from only two ip adresses?


I'm not quite sure what you're asking.

Perhaps you're asking "How can I allow relaying from (only) two IP addresses,
without using SMTP AUTH?". If so:

If you're using something closely resembling the default configuration file,
just add those two IP addresses to the relay_from_hosts host list. Otherwise,
the answer depends on your configuration, but it probably involves adding
something like

  accept
    hosts = +relay_from_hosts


somewhere in your acl_smtp_rcpt, and of course defining the relay_from_hosts
hostlist.

Does that help?

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey