Jay / Alexander,
No!! Don't use fixcr (ucspi-tcp-0.84 and others), because fixcrio (ucspi-tcp-0.88
and others), its replacement, is *much* nicer: fixcr needs a shell call (as per
Alexander's post), whereas fixcrio uses an exec call, much like the
qmail-popup/checkpassword/qmail-pop3d sequence for POP3 that you may
be using for POP3.
Going back to Jay's command line, change,
tcpserver -q -c 500 -x /etc/smtp.cdb -H -l mail.marketwatchmail.com
-R -u 503 -g 503 0 smtp /usr/local/bin/fixcrio |
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
to
tcpserver -q -c 500 -x /etc/smtp.cdb -H -l mail.marketwatchmail.com
-R -u 503 -g 503 0 smtp /usr/local/bin/fixcrio
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
(all that's changed is that the pipe symbol has been removed). I'm assuming that the
above is all one line, by the way, or if not, that continuation characters are added
at the end of lines.
cheers,
Andrew.
----------
From: Alexander Jernejcic[SMTP:[EMAIL PROTECTED]]
Sent: 28 October 2000 12:31
To: Qmail
Subject: RE: fixcrio
hi,
i am using a little shell-wrapper:
/var/qmail/bin/qmail-smtp.sh:
#!/bin/bash
/usr/local/bin/fixcr | /var/qmail/bin/qmail-smtpd
and call it with tcpserver instead of qmail-smtpd. just one way of doing it...
;) a
==============================================
Alexander Jernejcic
email:[EMAIL PROTECTED]
begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end
==============================================
-----Original Message-----
From: Austad, Jay [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 28, 2000 4:10 AM
To: '[EMAIL PROTECTED]'
Subject: fixcrio
I'm calling tcpserver with this line:
tcpserver -q -c 500 -x /etc/smtp.cdb -H -l mail.marketwatchmail.com -R -u 503 -g 503 0
smtp /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/splogger smtpd 3 &
I need to use fixcrio to fix stupid emailers that put stray <lf>'s in their messages.
How do I integrate fixcrio into this? Do I
just do:
tcpserver -q -c 500 -x /etc/smtp.cdb -H -l mail.marketwatchmail.com -R -u 503 -g 503 0
smtp /usr/local/bin/fixcrio |
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
Jay