Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

SMTP authentication problem

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


keith.martin at voice-commerce

Feb 22, 2009, 9:47 PM

Post #1 of 3 (802 views)
Permalink
SMTP authentication problem

I've tried looking through the docs for any clues on this problem, but not
sure I even know the right phrase to search for...

What is happening is that we are using Exim (4.69) to relay email to another
server, which requires SMTP authentication. That all works fine, except if
for some reason there is an error or something else that causes the mail to
be queued. What then seems to happen is that the queue system tries to
delivery the email later on, but on the retry it does not authenticate, so
the other server rejects the connection.

If the mail is delivered with no queuing, then it works perfectly every
time. It's only when something causes the mail to be queued that later
delivery attempts fail (connection rejected by the other server as not
authorised). There is only one host so no change in IP details etc during
delivery attempts.

Can someone point me in the right direction on this?

Regards,
Keith.



--
## 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/


glidr_greg at yahoo

Oct 2, 2009, 10:43 AM

Post #2 of 3 (639 views)
Permalink
Re: SMTP authentication problem [In reply to]

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.

My Linux servers are in a corporate environment, using Exchange as the
corporate mail server. I'm using the Exchange server as a smarthost and
relaying all email to the Exchange server. I'm not downloading any mail.
Mostly I'm mailing out log files, and alerts.

The Exchange admin wants the users on the Linux box to use
smtp-authenication to authenticate to the Exchange box prior to sending
email to the destination (India) via the internet.

How do I set up smtp-authentication in Exim? Via the exim.conf file?
Inline with the 'mail' command?

Thanks in advance!
--
View this message in context: http://www.nabble.com/SMTP-authentication-problem-tp22155889p25719651.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## 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/


dartonw at gmail

Oct 4, 2009, 7:20 PM

Post #3 of 3 (636 views)
Permalink
Re: SMTP authentication problem [In reply to]

On Fri, Oct 2, 2009 at 1:43 PM, Cerephim <glidr_greg [at] yahoo> 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

--
## 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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.