Zitat von "Unger, Michael" <[email protected]>:

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@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@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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users

Reply via email to