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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: tower
Dátum:  
Címzett: Exim-Users
Tárgy: Re: [exim] restrict to sending mails from only two ip adresses
Dave Evans wrote:
> 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?
>
>


I've got something about 3 000 account with SMTP AUTH and need to
configure only one without authorization. I'm confused how to safely
exclude this account from SMTP AUTH.


Thanks for advise.