Re: [exim] relay_domains not being honored?

Góra strony
Delete this message
Reply to this message
Autor: Darren Jacobs
Data:  
Dla: exim users
Temat: Re: [exim] relay_domains not being honored?
My config is pretty much stock.

How would I have a list of domains (not hosts) be accepted by the
acl_check_rcpt so that they could use the exim box as a smarthost? I
want the workstations in those domains to be able to send mail
anywhere they want.

Darren....



On 21-Sep-07, at 3:38 AM, Peter Bowyer wrote:

> On 20/09/2007, Darren Jacobs <dhj@???> wrote:
>> I'm getting a "relay not permitted" error on RCPT of a mail message I
>> send from my workstation to a foreign destination via my exim 4.68
>> server.
>>
>> The mail is catching on the section in exim.conf:
>>
>> --
>>   require message = relay not permitted
>>           domains = +local_domains : +relay_domains
>> --

>>
>> I've put the domain of the workstation I'm testing from into the
>> "domainlist relay_domains =" directive but I'm still getting the
>> "relay not permitted" message dropped in my log. Also added it to
>> local_domains but still couldn't get past the above domain check.
>
> In the default config, relay_domains and local_domains are tested as
> destination domains. So adding the domain of the workstation sending
> the mail isn't going to do very much. There's a hostlist called
> relay_from_hosts that would be a better place to put the hostname or
> IP of the workstation if you want to allow relay access from there.
>
> If you don't have a default config, you'll need to post what you do
> have.
>
> Peter
>
> --
> Peter Bowyer
> Email: peter@???
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/