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 :) Thanks for your help Mit freundlichen Grüßen / Best Regards -----Ursprüngliche Nachricht----- Von: [email protected] <[email protected]> Gesendet: Mit 21 Januar 2015 10:11 An: [email protected] Betreff: Re: [Djigzo users] Problem Queue View 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 _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users
