Problem Queue View

Hi Andreas,

I still had my old tar installation, the following lines

User_Alias DJIGZO_USERS = djigzo
Cmnd_Alias DJIGZO_COMMANDS = /usr/local/djigzo/scripts/do-execute-script.sh
DJIGZO_USERS ALL=(ALL) NOPASSWD: DJIGZO_COMMANDS

Now it works as intended :slight_smile:

Thanks for your help

Mit freundlichen Gr眉脽en / Best Regards

路路路

-----Urspr眉ngliche Nachricht-----
Von: lst_hoe02(a)kwsoft.de <lst_hoe02(a)kwsoft.de>
Gesendet: Mit 21 Januar 2015 10:11
An: users(a)lists.djigzo.com
Betreff: Re: Problem Queue View

Zitat von "Unger, Michael" <m.unger(a)no-timeout.de>:

Dear Ciphermail Community,

I get since reinstalling today WebIF following error message:

There was an error while talking to the spool manager. Message:
WebServiceCheckedException: ProcessException: Error running
[/usr/share/djigzo/scripts/execute-script.sh,postfix,postqueue,-p].
exit value: 1 (1), Class: class mitm.common.util.ProcessException

Here was asked for a similar problem manually run the command
https://lists.djigzo.com/pipermail/users/2014-July/001101.html

I get the following error message displayed

root(a)mailgw:藴# sudo -u djigzo
/usr/share/djigzo/scripts/execute-script.sh postfix postqueue -p
[sudo] password for djigzo:
Sorry, user djigzo is not allowed to execute
'/usr/share/djigzo/scripts/do-execute-script.sh postfix postqueue
-p' as root on mailgw.nachtfalke.biz.
root(a)mailgw:藴#

You are missing the required entries in /etc/sudoers. Here we have

User_Alias DJIGZO_USERS = djigzo
Cmnd_Alias DJIGZO_COMMANDS = /usr/share/djigzo/scripts/do-execute-script.sh
DJIGZO_USERS ALL=(ALL) NOPASSWD: DJIGZO_COMMANDS

Which should allow the user djigzo to excute the script with root
privileges needed to manage the Postfix queue.

Regards

Andreas

_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users