Hi there,
I do have the following situation, similiar to others as I expect:
ispcp Omega 1.0.5 on debian lenny, amavis activated and autoresponder not working. It fails with the following message in the error log:
Code:
Jul 27 09:41:05 xxxxxxxx postfix/pipe[13968]: D9770EEC87F: to=<xxxxxx@ispcp-arpl.xxxxx.de>, orig_to=<xxxxxxxxxxx@xxxxxxxx.de>, relay=ispcp-arpl, delay=0.64, delays=0.48/0/0/0.16, dsn=5.3.0, status=bounced (Command died with status 13: "/var/www/ispcp/engine/messenger/ispcp-arpl-msgr". Command output: Can't redirect stdout at /var/www/ispcp/engine/messenger/ispcp-arpl-msgr line 530. )
This does NOT happen with ispcp Omega 1.0.3!
So I looked at the different rights like /var/www/ispcp/engine/messenger:
Code:
drwxr-x--- 2 1000 mail 4096 12. Jul 15:56 messenger
or
/var/www/ispcp/engine/messenger/*
Code:
-r-xr-x--- 1 vu2000 mail 19283 12. Jul 15:56 ispcp-arpl-msgr
-r-xr-x--- 1 vu2000 mail 1273 12. Jul 15:57 ispcp-db-keys.pl
but changing this to user vmail.mail doesn't fix the problem. The real problem seems to be the following with directory /var/log/ispcp/ispcp-arpl-msgr:
Code:
drwxr-x--- 2 1000 mail 4096 12. Jul 15:42 ispcp-arpl-msgr
Changing the rights to vmail.mail for this directory allows the script to write logs in there:
Code:
xxxxxx:/var/www/ispcp/engine# dir /var/log/ispcp/ispcp-arpl-msgr/
insgesamt 4
-rw------- 1 vmail mail 0 27. Jul 11:22 ispcp-arpl-msgr.stderr
-rw------- 1 vmail mail 84 27. Jul 11:22 ispcp-arpl-msgr.stdout
And an autoreply is generated as expected:
Code:
Jul 27 11:22:41 xxxxxxxx postfix/pipe[16160]: D453AEEC874: to=<xxxxx@ispcp-arpl.xxxxxxxx.de>, orig_to=<xxxxxxxx@xxxxxxx.de>, relay=ispcp-arpl, delay=0.17, delays=0.04/0/0/0.13, dsn=2.0.0, status=sent (delivered via ispcp-arpl service)
Hope this helps.
Best regards,
Jens
@bsn: As I had a new install and not an upgrade, I had to chown the directory itself to vmail.mail, not the log files ...