Problem Queue View

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:~#

Mit freundlichen Grüßen / Best Regards

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

Hi Michael,

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:~#

The most likely reason is that there is something wrong with the sudoers
configuration. The "djigzo" user should be allowed to execute
do-execute-script.sh as root by configuring the sudoers file.

On which system did you install? (RedHat/Ubuntu...)

Please check the sudoers configuration (or send me the sudoers file
directly off list so I can check it).

Kind regards,

Martijn Brinkers

···

On 01/21/2015 10:06 AM, Unger, Michael wrote:

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail