Re: qmail cdb problem

2000-05-10 Thread James

Dave Sill wrote:
:See:
:http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/en
:Which almost certainly contains the fix for this problem.

Ah!.. well, at least it was as you described, in DOS format.  So I changed
it as suggested on the page, only now I get this error when trying to
issue the line /usr/local/sbin/qmail cdb:

tcprules: fatal: unable to parse this line: 127.:allow,RELAYCLIENT=""
/usr/local/sbin/qmail cdb (that's all on one line)
Reloaded /etc/tcp.smtp.

How do I fix this?

Thanks for your help.

james




RE: qmail cdb problem

2000-05-10 Thread Dave Sill

James [EMAIL PROTECTED] wrote:

Then, when I try to enter the second line(/usr/local/sbin/qmail) I get
this message:

"bash: /usr/local/sbin/qmail: No such file or directory."

See:

  http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/en

Which almost certainly contains the fix for this problem.

-Dave



RE: qmail cdb problem

2000-05-10 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10 May 00, at 8:31, Dave Sill wrote:

 See:
 
   http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/en

Accidentally, that entry is wrong. You don't want to delete LF (octal 
'\012'); you want to delete CR (octal '\015'). Doh.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBORlJ5lMwP8g7qbw/EQJkpQCfeEGJ/UzhiTwyoqrtri2k6zLEIRAAoNII
VHcngL2aFImbKzLMJy31pxis
=mu+J
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



qmail cdb problem

2000-05-09 Thread James

In one of the steps on "Life With Qmail" it suggests this:

"Allow the local host to inject mail via SMTP:
echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp
/usr/local/sbin/qmail cdb"

The first line (starting with echo) worked.. but the second line (starting
with /usr) gave me an error when I entered it.  Does this need to be one
long line instead of two?

james




Re: qmail cdb problem

2000-05-09 Thread Manfred Bartz

James [EMAIL PROTECTED] writes:

 In one of the steps on "Life With Qmail" it suggests this:
 
 "Allow the local host to inject mail via SMTP:
 echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp
 /usr/local/sbin/qmail cdb"
 
 The first line (starting with echo) worked.. but the second line (starting
 with /usr) gave me an error when I entered it.  Does this need to be one
 long line instead of two?

You can also edit /etc/tcp.smtp with any text editor.
It should have one line looking like this:

127.:allow,RELAYCLIENT=""

Then you can compile it using this command:

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp

I can't look at ``Life With Qmail'' at the moment, there are some
network problems between qmail.org and here.

-- 
Manfred




Re: qmail cdb problem

2000-05-09 Thread Dave Sill

James [EMAIL PROTECTED] wrote:

In one of the steps on "Life With Qmail" it suggests this:

"Allow the local host to inject mail via SMTP:
echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp
/usr/local/sbin/qmail cdb"

The first line (starting with echo) worked.. but the second line (starting
with /usr) gave me an error when I entered it.  Does this need to be one
long line instead of two?

No. What error did you get?

-Dave



Re: qmail cdb problem

2000-05-09 Thread spacetask
Did you symlink qmail to /usr/local/sbin?

James wrote:

 In one of the steps on "Life With Qmail" it suggests this:

 "Allow the local host to inject mail via SMTP:
 echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp
 /usr/local/sbin/qmail cdb"

 The first line (starting with echo) worked.. but the second line (starting
 with /usr) gave me an error when I entered it.  Does this need to be one
 long line instead of two?

 james


RE: qmail cdb problem

2000-05-09 Thread James

Greg Owen wrote:
:If you entered the second line with that " mark, that's your
:problem.  Do it without the " mark.

I didn't enter it with the " mark.


:If you didn't actually use the " mark, then make sure you've created
:the symlink from /usr/local/sbin/qmail to /etc/rc.d/init.d/qmail, as is
:described in LWQ.

Well, when I try to create the symlink for /usr/local/sbin/qmail I get
this message:

"ln: /usr/local/sbin/qmail: File exists"

Then, when I try to enter the second line(/usr/local/sbin/qmail) I get
this message:

"bash: /usr/local/sbin/qmail: No such file or directory."

So... when I actually go to /usr/local/sbin/qmail I see a file there
called qmail@  When I do an ls -la it shows me this:

qmail - /etc/rc.d/init.d/qmail*

What do I need to do?  Did I miss a step somewhere?  I tried to follow
Life With Qmail step for step.

Thanks.

james