RE: [qmailtoaster] tcprules: fatal: unable to parse this line:

2014-02-27 Thread Linux
Amit,

Yes, it working for me.. Thanks

 

 

Regards,

 

Vivek Patil

system admin

 

 

 

From: Amit Dalia [mailto:a...@ikf.co.in] 
Sent: Thursday, February 27, 2014 11:20 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] tcprules: fatal: unable to parse this line: 

 

Vivek,

 

Kindly run below command and it should solve.

 

1)  dos2unix /etc/tcprules.d/tcp.smtp

2)  qmailctl cdb

 

With Regards,

Amit Dalia  

 

From: Linux [mailto:li...@ikf.co.in] 
Sent: 27 February 2014 11:13
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] tcprules: fatal: unable to parse this line: 

 

Hi All,

When I ran qmailctl cdb I got the tcprules error, please find following
error and guide how to fix it. What is the bad effects of the same.

 

 

[root@email ~]# qmailctl cdb

tcprules: fatal: unable to parse this line:
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONG
RCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/contro
l/domainkeys/%/private,NOP0FCHECK=1

Reloaded /etc/tcprules.d/tcp.smtp

Reloaded /var/qmail/control/badmimetypes.cdb

Reloaded /var/qmail/control/badloadertypes.cdb

Reloaded /var/qmail/control/simversions.cdb

Reloaded /var/qmail/control/simcontrol.cdb

 

 

  _  


 http://www.avast.com/ Image removed by sender.

This email is free from viruses and malware because avast!
http://www.avast.com/  Antivirus protection is active. 

 

~WRD000.jpg

RE: [qmailtoaster] tcprules: fatal: unable to parse this line:

2014-02-26 Thread Amit Dalia
Vivek,

 

Kindly run below command and it should solve.

 

1)  dos2unix /etc/tcprules.d/tcp.smtp

2)  qmailctl cdb

 

With Regards,

Amit Dalia  

 

From: Linux [mailto:li...@ikf.co.in] 
Sent: 27 February 2014 11:13
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] tcprules: fatal: unable to parse this line: 

 

Hi All,

When I ran qmailctl cdb I got the tcprules error, please find following
error and guide how to fix it. What is the bad effects of the same.

 

 

[root@email ~]# qmailctl cdb

tcprules: fatal: unable to parse this line:
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONG
RCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/contro
l/domainkeys/%/private,NOP0FCHECK=1

Reloaded /etc/tcprules.d/tcp.smtp

Reloaded /var/qmail/control/badmimetypes.cdb

Reloaded /var/qmail/control/badloadertypes.cdb

Reloaded /var/qmail/control/simversions.cdb

Reloaded /var/qmail/control/simcontrol.cdb

 



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


RE: [qmailtoaster] tcprules

2009-08-19 Thread Phil Leinhauser
Thanks Ganesh.   That did it but I'm not sure what it did other than
removing the blank lines.  I rebuilt it with my settings and it still
worked.

I didn't have the blanks in the tcp.smtp file.  They showed up when I pasted
it.  I'm assuming they were causing the problem.  Now I need to figure out
how they got in there.

 

Phil

 

From: Ganesh.payelkar [mailto:ganesh.payel...@gmail.com] 
Sent: Wednesday, August 19, 2009 1:30 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] tcprules

 

Dear Phil,

  Try this tcp.smtp and after compare with your tcp.smtp 


127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,R
BLSMTPD=,NOP0FCHECK=1
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONG
RCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/contro
l/domainkeys/%/private,NOP0FCHECK=1

Regards,
Ganesh
 

On Wed, Aug 19, 2009 at 8:46 AM, Phil Leinhauser p...@teqknow.com wrote:

OK, I just did a qmailctl cdb and I'm getting unable to parse errors.
Here's the tcp.smtp:

10.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

127.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

:allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT
=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,NOP0FC
HECK=1

It apparently hasn't been working for a while.  Maybe since the last
newmodel.

Any clues what's up?  Mail is flowing normally so I'm really confused.

Phil



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!

-
Please visit qmailtoaster.com for the latest news, updates, and
packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



 



RE: [qmailtoaster] tcprules

2009-08-19 Thread Phil Leinhauser
This one is for Jake:

OK, I found how it's getting the spaces.  If you save it from QControl it
will no longer parse correctly.

 

 

From: Phil Leinhauser [mailto:p...@teqknow.com] 
Sent: Wednesday, August 19, 2009 6:32 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] tcprules

 

Thanks Ganesh.   That did it but I'm not sure what it did other than
removing the blank lines.  I rebuilt it with my settings and it still
worked.

I didn't have the blanks in the tcp.smtp file.  They showed up when I pasted
it.  I'm assuming they were causing the problem.  Now I need to figure out
how they got in there.

 

Phil

 

From: Ganesh.payelkar [mailto:ganesh.payel...@gmail.com] 
Sent: Wednesday, August 19, 2009 1:30 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] tcprules

 

Dear Phil,

  Try this tcp.smtp and after compare with your tcp.smtp 


127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,R
BLSMTPD=,NOP0FCHECK=1
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONG
RCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/contro
l/domainkeys/%/private,NOP0FCHECK=1

Regards,
Ganesh
 

On Wed, Aug 19, 2009 at 8:46 AM, Phil Leinhauser p...@teqknow.com wrote:

OK, I just did a qmailctl cdb and I'm getting unable to parse errors.
Here's the tcp.smtp:

10.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

127.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

:allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT
=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,NOP0FC
HECK=1

It apparently hasn't been working for a while.  Maybe since the last
newmodel.

Any clues what's up?  Mail is flowing normally so I'm really confused.

Phil



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!

-
Please visit qmailtoaster.com for the latest news, updates, and
packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 



Re: [qmailtoaster] tcprules

2009-08-19 Thread Jake Vickers

Phil Leinhauser wrote:


This one is for Jake:

OK, I found how it's getting the spaces.  If you save it from QControl 
it will no longer parse correctly.


 

 



Hmm. I'll look into that one. If that's the case then I know where it's 
coming into play.




Re: [qmailtoaster] tcprules

2009-08-19 Thread Eric Shubert
What did you use to edit the file? Is it possible that you had some CR 
characters in with your LF characters (DOS format)? You would see the 
CRs in the vi editor.


Phil Leinhauser wrote:
Thanks Ganesh.   That did it but I’m not sure what it did other than 
removing the blank lines.  I rebuilt it with my settings and it still 
worked.


I didn’t have the blanks in the tcp.smtp file.  They showed up when I 
pasted it.  I’m assuming they were causing the problem.  Now I need to 
figure out how they got in there.


 


Phil

 


*From:* Ganesh.payelkar [mailto:ganesh.payel...@gmail.com]
*Sent:* Wednesday, August 19, 2009 1:30 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] tcprules

 


Dear Phil,

  Try this tcp.smtp and after compare with your tcp.smtp


127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1

Regards,
Ganesh


On Wed, Aug 19, 2009 at 8:46 AM, Phil Leinhauser p...@teqknow.com 
mailto:p...@teqknow.com wrote:


OK, I just did a qmailctl cdb and I'm getting unable to parse errors.
Here's the tcp.smtp:

10.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

127.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

:allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT
=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,NOP0FC
HECK=1

It apparently hasn't been working for a while.  Maybe since the last
newmodel.

Any clues what's up?  Mail is flowing normally so I'm really confused.

Phil




--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] tcprules

2009-08-18 Thread Eric Shubert
The tcp.smtp file isn't used to run, only the tcp.smtp.cdb file. As long 
as there's a .cdb file, it should at least run.


I've never seen blank lines in a tcp.smtp file, but that doesn't mean 
they're not ok. I'd get rid of them if they're there. I'd start taking 
things out one at a time.


Looking for information about tcp.smtp? Try:
# mansfor ucspi-tcp-toaster
Pretty cool. ;)

Phil Leinhauser wrote:

OK, I just did a qmailctl cdb and I'm getting unable to parse errors.
Here's the tcp.smtp:

10.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

127.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

:allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT
=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,NOP0FC
HECK=1

It apparently hasn't been working for a while.  Maybe since the last
newmodel.

Any clues what's up?  Mail is flowing normally so I'm really confused.

Phil


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com






--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] tcprules

2009-08-18 Thread Ganesh.payelkar
Dear Phil,

  Try this tcp.smtp and after compare with your tcp.smtp


127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1
:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1

Regards,
Ganesh


On Wed, Aug 19, 2009 at 8:46 AM, Phil Leinhauser p...@teqknow.com wrote:

 OK, I just did a qmailctl cdb and I'm getting unable to parse errors.
 Here's the tcp.smtp:

 10.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1

 127.:allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1


 :allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT

 =50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,NOP0FC
 HECK=1

 It apparently hasn't been working for a while.  Maybe since the last
 newmodel.

 Any clues what's up?  Mail is flowing normally so I'm really confused.

 Phil



 -
 Qmailtoaster is sponsored by Vickers Consulting Group (
 www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

 -
 Please visit qmailtoaster.com for the latest news, updates, and
 packages.

  To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com