MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2015-04-25, 19:57:22

Title: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: Spacedust on 2015-04-25, 19:57:22
I've even runned /script/cleanup and it's gone ;)
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: MRatWork on 2015-04-25, 20:11:21
Read latest sendmail-wrapper to add 'sendmail-addons' (add another script, including sendmail-limiter). Kloxo-MR include sendmail-limiter files inside /usr/local/lxlabs/kloxo/file/qmail/var/qmail/bin
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: Spacedust on 2015-04-25, 20:15:56
Read latest sendmail-wrapper to add 'sendmail-addons' (add another script, including sendmail-limiter). Kloxo-MR include sendmail-limiter files inside /usr/local/lxlabs/kloxo/file/qmail/var/qmail/bin

So just create /var/qmail/control/sendmail-addons and put all scripts out there ?
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: MRatWork on 2015-04-25, 20:19:59
No put all scripts but path of the main script. Example: put '/usr/local/lxlabs/kloxo/file/qmail/var/qmail/bin/sendmail-limiter.pl'.
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: MRatWork on 2015-04-25, 20:24:09
In 'sendmail-addons' file possible add more then one script paths, example:
Code: [Select]
/opt/myscript/limit.pl
/bin/other.sh
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: Spacedust on 2015-04-25, 20:56:54
Done, but sendmail-limiter still does not work despite proper database config in /usr/local/lxlabs/kloxo/file/qmail/var/qmail/bin/sendmail-limiter.pl
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: MRatWork on 2015-04-26, 04:14:23
Done, but sendmail-limiter still does not work despite proper database config in /usr/local/lxlabs/kloxo/file/qmail/var/qmail/bin/sendmail-limiter.pl
I am not testing this limiter files work or not.
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: Spacedust on 2015-04-26, 14:19:14
I had to restore my previous system ;)

Which is /usr/sbin/sendmail -> /usr/sbin/sendmailwrapper/send_mail

Quote
#!/bin/bash

CWD=$PWD

cd /usr/sbin/sendmailwrapper
if ./smw_limiter $CWD
then
../../../var/qmail/bin/sendmail $*
fi

#eof
Title: Re: /var/qmail/bin/sendmail-limiter.pl file does not exists
Post by: MRatWork on 2015-04-26, 14:31:29
In Kloxo/Kloxo-MR, sendmail was symlink from qmail sendmail.

In Kloxo-MR, qmail sendmail renamed to sendmail.orig and then sendmail-wrapper (just sh file) will symlink to qmail sendmail.