PDA

View Full Version : [ubuntu] esmtp command returning "No Error" message..how to solve it



priyaranjanmonu
June 7th, 2011, 07:49 AM
Hi, I have installed esmtp and libEsmtp manually in my system (Ubntu). I have configured the esmtprc file properly too, but I am not able to send the mail. It returns No Error.

hostname=smtp.gmail.com:587 (http://smtp.gmail.com:587/)
username=""
password=""
starttels=enabled
mda="/usr/bin/procmail -d %T"

I have installed the software in this way.

$ tar xvjf libesmtp-1.0.4.tar.bz2 $ cd libesmtp-1.0.4 $ ./configure --prefix=/usr/local $ make $ sudo make install $ cd .. $ tar xvjf esmtp-0.6.0.tar.bz2 $ cd esmtp-0.6.0 $ ./configure --prefix=/usr/local --with-libesmtp=/usr/local $ make $ sudo make install


When I was running the command esmtp to send a mail. It was returning "No Error"

$echo "Hello" | esmtp priyaranjan@silvanlabs.com -f priyaranjan@silvanlabs.com -C /etc/esmtprc

$No Error

Please send me any solution for this and how could I make it work properly.

--
Thanks & Regards,
Priyaranjan
System Design Engineer