bare lf problem
Ok, so I've got a command-line email utility that I'm running from DOS, and I'm trying to set up a qmail relay host. Most mail client software (Outlook Express, etc.) on my network is able to send mails through the relay, and I'm able to send mail successfully from the host itself, but not the utility; every time I tried the tcp connection ended with status 256 and nothing came through. I've discovered that this indicates the bare lf problem with some mailers, and so I'm trying to use fixcrio to resolve the problem since replacing all these non-compliant command-line utilities isn't really an answer. The script that starts qmail is: #!/bin/shQMAILUID=`id -u qmaild`NOFILESGID=`id -g qmaild`exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILUID -g $NOFILESGID 0 smtp /usr/local/bin/fixcrio \ /var/qmail/bin/qmail-smtpd 2>&1 Now when I send an email from the command-line utility, this is what comes up in the log (this is the entire log, starting with a restart of qmail): @40003a4c5aa605104d84 tcpserver: status: 0/40@40003a4c5ab805227dc4 tcpserver: status: 1/40@40003a4c5ab8052786d4 tcpserver: pid 1099 from 192.168.20.27@40003a4c5ab80538c8cc tcpserver: ok 1099 :192.168.20.16:25 :192.168.20.27::1228@40003a4c5abe3b4ea3dc tcpserver: end 1099 status 256@40003a4c5abe3b4f28ac tcpserver: status: 0/40 The interesting thing is, despite the fact that I'm still terminating with status 256 an email gets through, but it doesn't have any info in it (no from, no subject, no body). Any help is greatly appreciated.
Re: Bare LF problem
Justin Bell wrote: > > On Thu, Jun 10, 1999 at 10:58:08AM -0500, wrote: > # Yes! I've observed ColdFusion erroring this way whether relaying > # through qmail or sendmail, though. I think this is a ColdFusion > # problem. Search of the Cold Fusion archives mentions this problem, but > # not the cause (Well, it's an SMTP error.) or solution. > # > # -Original Message- > # From: Justin Bell [mailto:[EMAIL PROTECTED]] > # Sent: Thursday, June 10, 1999 10:36 AM > # To: Qmail Mailing List > # Subject: Re: Bare LF problem > # > # > # On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote: > # # Eric S . wrote/schrieb/scribsit: > # # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: > # # > > # # > > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... > # # > > ... I think. Just replace "qmail-smtpd" with > # "'fixcr|qmail-smtpd'". > # # > > # # > That didn't work. Any other suggestions? > # # > # # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'. > # # > # > # does anyone else have problems with that no closing the connection? > # "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting > # to > # close connection. - [PT_ERROR] General error (Timed out while waiting > # for > # SMTP command to complete) - " > # "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting > # to > # close connection. - [PT_ERROR] General error (Timed out while waiting > # for > # SMTP command to complete) - " > > when I telnet to port 25 it also does NOT close the connection after I hit > quit I change this $COMMAND with sh -c "fixcr|qmail-smtpd" but I have to type quit twice while I telnet to port 25. Any other idea to overcome this qualcomm eudora's problem? tcpserver -R -H $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT $RBL -t 2 $COMMAND \ Thanks Ayip. -- He knew the tavernes well in every toun. -- Geoffrey Chaucer
Re: Bare LF problem
On Thu, Jun 10, 1999 at 10:58:08AM -0500, wrote: # Yes! I've observed ColdFusion erroring this way whether relaying # through qmail or sendmail, though. I think this is a ColdFusion # problem. Search of the Cold Fusion archives mentions this problem, but # not the cause (Well, it's an SMTP error.) or solution. # # -Original Message- # From: Justin Bell [mailto:[EMAIL PROTECTED]] # Sent: Thursday, June 10, 1999 10:36 AM # To: Qmail Mailing List # Subject: Re: Bare LF problem # # # On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote: # # Eric S . wrote/schrieb/scribsit: # # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: # # > # # > > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... # # > > ... I think. Just replace "qmail-smtpd" with # "'fixcr|qmail-smtpd'". # # > # # > That didn't work. Any other suggestions? # # # # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'. # # # # does anyone else have problems with that no closing the connection? # "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting # to # close connection. - [PT_ERROR] General error (Timed out while waiting # for # SMTP command to complete) - " # "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting # to # close connection. - [PT_ERROR] General error (Timed out while waiting # for # SMTP command to complete) - " when I telnet to port 25 it also does NOT close the connection after I hit quit -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Pearson| Attention span is quickening.| |Developer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
RE: Bare LF problem
Yes! I've observed ColdFusion erroring this way whether relaying through qmail or sendmail, though. I think this is a ColdFusion problem. Search of the Cold Fusion archives mentions this problem, but not the cause (Well, it's an SMTP error.) or solution. -Original Message- From: Justin Bell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 10, 1999 10:36 AM To: Qmail Mailing List Subject: Re: Bare LF problem On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote: # Eric S . wrote/schrieb/scribsit: # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: # > # > > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... # > > ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". # > # > That didn't work. Any other suggestions? # # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'. # does anyone else have problems with that no closing the connection? "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting to close connection. - [PT_ERROR] General error (Timed out while waiting for SMTP command to complete) - " "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting to close connection. - [PT_ERROR] General error (Timed out while waiting for SMTP command to complete) - " -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Pearson| Attention span is quickening.| |Developer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
Re: Bare LF problem
On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote: # Eric S . wrote/schrieb/scribsit: # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: # > # > > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... # > > ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". # > # > That didn't work. Any other suggestions? # # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'. # does anyone else have problems with that no closing the connection? "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting to close connection. - [PT_ERROR] General error (Timed out while waiting for SMTP command to complete) - " "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting to close connection. - [PT_ERROR] General error (Timed out while waiting for SMTP command to complete) - " -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Pearson| Attention span is quickening.| |Developer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
Re: Bare LF problem
Eric S . wrote/schrieb/scribsit: > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: > > > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... > > ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". > > That didn't work. Any other suggestions? Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'. Stefan
Re: Bare LF problem
> On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: > > Balazs Nagy wrote: > > > A very good answer is at the tips and advice section at > > > http://www.qmail.org/top.html by Dan himself. A tricky and cool > > > answer actually. > > > > How to Run fixcr using tcpserver? > tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... > ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". > -- > Regards: Kevin (Balazs) That didn't work. Any other suggestions? Regards, Eric
Re: Bare LF problem
On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote: > Balazs Nagy wrote: > > A very good answer is at the tips and advice section at > > http://www.qmail.org/top.html by Dan himself. A tricky and cool > > answer actually. > > How to Run fixcr using tcpserver? tcpserver 'fixcr|qmail-smtpd' 2&>1 | cyclog... ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'". -- Regards: Kevin (Balazs)
Re: Bare LF problem
Balazs Nagy wrote: > > On Tue, 18 May 1999, John Gonzalez/netMDC admin wrote: > > > The question is now how to fix it. > > A very good answer is at the tips and advice section at > http://www.qmail.org/top.html by Dan himself. A tricky and cool > answer actually. How to Run fixcr using tcpserver? Thanks Ayip. -- Come quickly, I am tasting stars! -- Dom Perignon, upon discovering champagne.
Re: Bare LF problem
On Tue, May 18, 1999 at 11:09:18PM +0200, Balazs Nagy wrote: # On Tue, 18 May 1999, John Gonzalez/netMDC admin wrote: # # > The question is now how to fix it. # # A very good answer is at the tips and advice section at # http://www.qmail.org/top.html by Dan himself. A tricky and cool # answer actually. is that the fixcr pipe? one problem with that is that it doesn't terminate the session correctly, the socket never closes after the quit command is issued, at least on my Solaris box at iq-ss5.iquest.net port 80025 -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Pearson| Attention span is quickening.| |Developer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
Re: Bare LF problem
On Tue, 18 May 1999, John Gonzalez/netMDC admin wrote: > The question is now how to fix it. A very good answer is at the tips and advice section at http://www.qmail.org/top.html by Dan himself. A tricky and cool answer actually. -- Regards: Kevin (Balazs)
Bare LF problem
ftp://koobera.math.uic.edu/www/docs/smtplf.html We've gotten ahold of the techs at zianet, and were trying to work this problem out. Everybodies hunch about the linefeeds was correct. The question is now how to fix it. He turned on an option in his mail program that basicly, as i understand it no longer allows the mail server to accept mail with bare linefeeds, so any new email that his server accepts will be rfc conforming. But he has 75MB of mail in the queue will stray linefeeds still. What would be the best way to get this mail to us? I thought maybee hacking a perl script to cure the problem, but what other suggestions are there? Also, is there patch to qmail to allow it to accept the bare linefeeds? ___ _ __ _ __ /___ ___ /__ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [-[system info]---] 3:40pm up 102 days, 22:43, 3 users, load average: 0.06, 0.09, 0.09