Is there some reason you aren't using one of the qmail (qmail-inject, sendmail) tools to inject the mail?
Even if you're not sending the mail from the qmail server host, you could still use the sendmail that comes with the UNIX you're running. Roland. ----- Original Message ----- From: "Nilesh Naik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 3:31 AM Subject: URGENT !!! very wiered qmail-smtpd problem > Hi All > > i am facing very wiered problem which , which i have > never faced with qmail.The problem explanation > follows. > > i have installed qmail with ldap patch , and the > system was working excellent till i realised the > problem. > > there is an IMP script which we are running , the > script telnet to my qmail-smtpd port 25 and sends smtp > commands & then it sends notification messages to our > internet users about the notification regarding that > account expire . > > this script was working fine with the iplanet mail > server which we were using earlier.but when i run this > script with qmail-smtpd qmail gives "STRAY NEW Line > char" in smtpd logs. so i changed my scripts "\n" to > "\r\n". but then it started working but then the mails > were without the From Address so another new problem. > > > so i used fixcrio prog which comes with > uscpi-tcpserver, my smtp start up script is like this > > LOGLEVEL=3 > export LOGLEVEL > /usr/local/bin/tcpserver -v -h -x/etc/tcp.smtp.cdb -u > 505 -g 504 0 smtp /usr/local/bin/fixcrio > /var/qmail/bin/qmail-smtpd 2>&1 | > /var/qmail/bin/splogger smtpd 2 & > > with above script i again replaced \r\n with \n as > i am using fixcrio now ,but when i used above script i > started getting "Read Error, Connection Closed" error > in the error log , > > The Sequence of commands which i am using in the > script to send is as follows > > Helo > mail from: from address > rcpt to: rcpt address > Data > to : from address > bcc: rcpt address > subject : my subject \n > > dear customer \n > message for the customer \n > > "." > "quit" > > can someone tells me what is the problem with > this. > some pls help me ASAP as m not able to send mails to > our customers and their account is getting disabled > > regards > Nilesh > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com
