MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: barrysmoke on 2017-08-24, 07:17:43

Title: /var/qmail/control/softlimit setting doesn't work with modified supervise/run
Post by: barrysmoke on 2017-08-24, 07:17:43
I was looking at softlimit, if it was needed to fix an imap problem I was having with outlook.
turned out to be an outlook bug, but in the process, I found setting /var/qmail/control/softlimit triggers these service start failures:
Code: [Select]
Aug 24 01:23:24 srv1 submission: ./run: line 68: exec: 64000000: not found
Aug 24 01:23:24 srv1 smtp: ./run: line 69: exec: 64000000: not found
Aug 24 01:23:24 srv1 pop3: envdir: fatal: unable to run 64000000: file does not exist
Aug 24 01:23:24 srv1 smtp-ssl: ./run: line 69: exec: 64000000: not found
Aug 24 01:23:24 srv1 pop3-ssl: envdir: fatal: unable to run 64000000: file does not exist
Aug 24 01:23:24 srv1 imap4: envdir: fatal: unable to run 64000000: file does not exist
I think /var/bin/softlimit is supposed to preceed your edits, but I'll let you look into it, and test it out.
Title: Re: /var/qmail/control/softlimit setting doesn't work with modified supervise/run
Post by: MRatWork on 2017-08-24, 07:33:48
Inform here 'cat cat /var/qmail/control/softlimit'.

By default, qmail no need for softlimit.
Title: Re: /var/qmail/control/softlimit setting doesn't work with modified supervise/run
Post by: barrysmoke on 2017-08-24, 08:50:10
right, I disabled again, but wanted you to know that in your scripts, it looks for the /var/qmail/control/softlimit file, and in troubleshooting, I discovered actually putting that there breaks things, so wanted you to know.

Title: Re: /var/qmail/control/softlimit setting doesn't work with modified supervise/run
Post by: MRatWork on 2017-08-24, 09:01:23
right, I disabled again, but wanted you to know that in your scripts, it looks for the /var/qmail/control/softlimit file, and in troubleshooting, I discovered actually putting that there breaks things, so wanted you to know.
1. Read '/var/qmail/supervise/submission/run' to know what's softlimit
2. Don't add 'enter' (char '\n') to softlimit file