Re: [exim] Authentication and Relaying

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Christopher Molnar
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Authentication and Relaying
Never mind, I found it. Outlook has a broken AUTH line. Looked at the
Debian config template and was able to uncomment a section and make
it work.

-Chris

On Feb 25, 2006, at 8:27 AM, Christopher Molnar wrote:

> Thanks for your response. Seems to work with any client that is not
> an OUTLOOK client. Any thoughts?
>
> -Chris
>
> On Feb 25, 2006, at 4:59 AM, Marek Maj(c)herek Majchrowski wrote:
>
>> Do you have:
>> auth_advertise_hosts = *
>>
>> Try to replease yours accepts to:
>>
>>
>>   accept  hosts         = +auth_relay_hosts
>>               authenticated = *

>>
>> where
>> hostlist auth_relay_hosts = *
>>
>> And if yours authenticators are good, it should work...
>>
>>
>> 2006/2/25, Christopher Molnar <molnarc@???>:
>>>
>>> I have tried to read the docs and find a good example, however I am
>>> at a loss. I have tried to set up the ability for authorized
>>> users to
>>> relay through our smtp server. Anytime a user tries to connect and
>>> login and send messages thorugh to a "non-local hosted domain" we
>>> get
>>> a 501 - Relay Denied. I would appreciate any help someone can give.
>>> From my config:
>>>
>>>
>>> acl_check_rcpt:
>>>    accept
>>>      hosts = :
>>>      accept authenticated = *

>>>
>>>
>>>
>>>    accept
>>>      hosts = +relay_from_hosts
>>>          accept  authenticated = *

>>>
>>>    accept
>>>      authenticated = *

>>>
>>>
>>>
>>>
>>> begin authenticators
>>>
>>> plain_saslauthd_server:
>>>     driver = plaintext
>>>     public_name = PLAIN
>>>     server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}
>>>     server_set_id = $2
>>>     server_prompts = :
>>>     server_advertise_condition = yes
>>> login_saslauthd_server:
>>>     driver = plaintext
>>>     public_name = LOGIN
>>>     server_prompts = "Username:: : Password::"
>>>     server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
>>>     server_set_id = $1
>>>     .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
>>>     server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
>>>     .endif

>>>
>>> plain:
>>>    driver = plaintext
>>>    public_name = PLAIN
>>> .ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
>>>    client_send = "${if !eq{$tls_cipher}{}{\
>>>                       ^${extract{1}{::}\
>>>                         {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}}\
>>>                       ^${extract{2}{::}\
>>>                         {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}}\
>>>                     }fail}"
>>> .else
>>>    client_send = "^${extract{1}{::}{${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}}^${extract{2}{::}{${lookup
>>> {$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}"
>>> .endif

>>>
>>> login:
>>>    driver = plaintext
>>>    public_name = LOGIN
>>> .ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
>>>    client_send = "${if and{\
>>>                            {!eq{$tls_cipher}{}}\
>>>                            {!eq\
>>>                                {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}\
>>>                                   {$value}fail}}\
>>>                                {}}\
>>>                           }\
>>>                        {}fail}\
>>>                   : ${extract{1}{::}\
>>>                          {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}} \
>>>                   : ${extract{2}{::}\
>>>                       {${lookup{$host}lsearch*{CONFDIR/ 
>>> passwd.client}
>>> {$value}fail}}}"

>>>
>>> .else
>>>    client_send = "${if !eq\
>>>                            {${lookup\
>>>                              {$host}lsearch*{CONFDIR/passwd.client}\
>>>                              {$value}fail}}\
>>>                            {}\
>>>                        {}fail}\
>>>                   : ${extract{1}{::}\
>>>                          {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}} \
>>>                   : ${extract{2}{::}\
>>>                          {${lookup{$host}lsearch*{CONFDIR/
>>> passwd.client}{$value}fail}}}"
>>> .endif

>>>
>>>
>>> --
>>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>>> ## Exim details at http://www.exim.org/
>>> ## Please use the Wiki with this list - http://www.exim.org/
>>> eximwiki/
>>>
>>
>>
>>
>> --
>> Marek Maj(c)herek Majchrowski
>> <majherek@???>Linux Counter reg#: 147586
>> --
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-
> users## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/