We need to create a mail server to send mail for our Portal application using Liferay. The mail account will be an administrative account to maintain the portal.
I was able to send mail successfully using sendmail. But when sending mail through Liferay, mails are not sent and could see the following error in the mail log file with
grep ': r5R5jcf9031963: ' /var/log/maillog:
Jun 27 11:15:38 testser sendmail: r5R5jcf9031963: [192.168.12.12] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Some system information:
$ rpm -q sendmail sendmail-8.13.8-8.el5 $ cat /etc/redhat-release CentOS release 5.5 (Final)
For configuring mail in Liferay, I entered the following information: SMTP Server, SMTP port, username and password.
But if I keep "Username and Password" blank in the Liferay portal settings, mails are sent successfully. In that case mails are sent from the default
test Liferay user. But I want the mail to be sent from the user which I configured using sendmail rather than from the default Liferay user.