Jump to content

Sasl Mechanism For Email Access


Recommended Posts

We are currently programming an application to handle our email since commercial email programs (i.e. Outlook, etc.) don't cut it anymore for us. Does anyone know what security mechanism is required to make a successful connection via SMTP to ESMTP Exim 4.69?...

 

We've tried Indy 10's OTP, MD5 and SHA1 hashes, and use the same settings we have in Outlook, but we keep getting the following message when we try to connect to the SMTP server through our application (our account works fine with Outlook):

 

220-We do not authorize the use of this system to transport unsolicited, and/or bulk e-mail.

 

Any help, comment, hint will be appreciated...

 

Note: we are newbies at programming, please be kind...

 

This is the full response from the mail server:

 

Connected.

220-zeltros.tchmachines.com ESMTP Exim 4.69 #1 Thu, 01 Jan 2009 15:37:17 -0500

220-We do not authorize the use of this system to transport unsolicited,

220 and/or bulk e-mail.

EHLO mail.oursite.com

250-zeltros.tchmachines.com Hello mail.oursite.com [xxx.xxx.xx.xxx]

250-SIZE 52428800

250-PIPELINING

250-AUTH PLAIN LOGIN

250-STARTTLS

250 HELP

Link to post
Share on other sites
Welcome to the forum pimpirulando :surrender:

 

You need to authenticate yourself before sending email through the servers. I believe that is what the error is telling you.

 

Thanks Bruce.

 

We were authenticating before we've got the response. But we have found the problem and solved it. Your server still uses simple LOGIN through a SASL component. Once we removed the other hashes we were able to send emails, although the Indy component documentation says it will sort through all and pick the correct one...

 

Forums are just a great way to solve problems. Thanks for your time!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...