On Fri, Oct 2, 2009 at 1:43 PM, Cerephim <glidr_greg@???> wrote:
>
>
>
> Keith Martin-4 wrote:
>>
>>
>> What is happening is that we are using Exim (4.69) to relay email to
>> another
>> server, which requires SMTP authentication.
>>
>>
>
> I'm attempting to do a similar thing, but have no clue where to start. What
> did you have to do to set up smtp-authentication when Exim is a client.
> How do I set up smtp-authentication in Exim? Via the exim.conf file?
> Inline with the 'mail' command?
>
To authenticate to a remote SMTP server, use hosts_require_auth in
your transport configuration, e.g.
auth_smtp:
driver = smtp
interface = 10.0.0.1
hosts_require_auth = host1:host2
and in the authenticators section, specify your driver:
fixed_cram:
driver = cram_md5
public_name = CRAM-MD5
client_name = auth-user
client_secret = password
This worked for me using Exim as an inbound gateway.
Best,
Darton Williams