+ olli <[EMAIL PROTECTED]>:

| Sorry for a noise.I've the following problem:
| /etc/tcp.smtp file as follows: [...]
| as in FAQ I do:
| cat /etc/tcp.smtp | /usr/local/tcpserver/bin/tcprules /etc/tcp.smtp.cdb  
|~/tcp.smtp.tmp

Bad idea.  The cdb file and the tmp file must be on the same
filesystem.  Your invocation would also have earned you a "Useless use
of cat" award in comp.unix.shell; you can simplify to

< /etc/tcp.smtp /usr/local/tcpserver/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp

| tcprules: fatal: unable to parse this line:
| 192.168.0.1:allow,RELAYCLIENT=" "
| 
| What could be wrong? 

Good question.  tcprules parsed your file without difficulty when I
tried it, so maybe there is a hidden control character in there.  A
return character at the end of the line yields this error, for
example.

| PS: I can make .cdb file by cdb itself

Yes, but it's not a straightforward translation from the rules file.
Better make tcprules work right.

Russell has pointed out your more obvious error already, so I'll leave
it at that.

- Harald

Reply via email to