05-07-2013 01:37 AM
We have sendmail 8.11 in our setup
Our service provider is saying we need to enable smtp authentication in our setup.
When we are trying to send mails we are getting ;
email@example.com.... Connecting to [202.162234.222] via relay...
220 ESMTP ESMTP
>>> EHLO dccbsr01.xx.in
250-AUTH LOGIN PLAIN
250 2.1.0 Ok
>>> RCPT To:firstname.lastname@example.org
554 5.7.1 <email@example.com>: Recipient address rejected: Access denied
250 2.0.0 Ok
tejachau... Connecting to local...
Closing connection to [188.8.131.52]
221 2.0.0 Bye
What is to be done now ??
05-07-2013 02:30 AM
Your provider seems to allow two authentication methods: LOGIN and PLAIN.
LOGIN is mainly used by Microsoft Outlook, and PLAIN by many other email programs.
Both methods send the password in plain-text, so anyone monitoring the network would get to know your email password, which would not be a good thing.
So the first step needed would be to enable SSL/TLS encryption to protect your authentication information. (If your service provider has set up things securely, trying to send the AUTH command without encryption would probably cause another error message, telling you that encryption is also required.)
To do that, you may need to update your sendmail version to 8.13.3 first:
This document, titled "Sendmail 8.13.3 Secure Mailing Solution" includes HP-UX specific procedures for configuring Sendmail 8.13 for SSL/TLS and authentication.
In particular, you should pay attention to the chapter titled "Using Sendmail 8.13.3 with AUTH", starting from page 25.
You will probably need to install the SASL libraries listed in the previous chapter, but you might not need to configure your sendmail to _require_ authentication unless it is visible to the internet. But your service provider requires that your server must be able to _provide_ authentication information to their email gateway... and that's exactly what the "Using Sendmail 8.13.3 with AUTH" chapter describes.
05-27-2013 04:47 AM
Hi Matti ,
We are using following sendmail version;
root #/ >swlist -l product|grep -i sendm
PHNE_35951 1.0 sendmail(1M) 8.11.1 patch
My mail service provider is saying we need to send mails using SMTP AUTH.
They use PLAIN method.
But m not able to find sendmail.mc here.
Should i generate it using /usr/newconfig/etc/mail/cf/cf/generic-hpux10.mc