Current time: 11-14-2024, 04:31 PM Hello There, Guest! (LoginRegister)


Post Reply 
Mail Auto respond and ispcp-arpl-msgr
Author Message
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #1
Mail Auto respond and ispcp-arpl-msgr
Hello!
I need help.
The mail auto respond didn't work .
In mail.log:
Jan 15 12:55:18 server postfix/virtual[26481]: 6740F18CAD7C: to=<robot@test.com>, relay=virtual, delay=16, delays=16/0.07/0/0.02, dsn=2.0.0, status=sent (
Jan 15 12:55:18 server postfix/pipe[26479]: 6740F18CAD7C: to=<robot@ispcp-arpl.test.com>, orig_to=<robot@test.com>,
relay=ispcp-arpl, delay=16, delays=16/0/0/0.19, dsn=5.3.0, status=bounced (Command died with status 255:
"/var/www/ispcp/engine/messenger/ispcp-arpl-msgr". Command output: Initialization vector must be exactly 8 bytes long when using the Blowfish cipher at
/var/www/ispcp/engine/messenger/ispcp-arpl-msgr line 414 )

Help me please.

ISPCP 1.0.3
Ubuntu 8.04
01-15-2010 10:20 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Mail Auto respond and ispcp-arpl-msgr
the value of $main::db_pass_iv in ispcp-db-keys.pl in the same folder must be exactly 8 chars long.

the file ispcp-db-keys.pl is the same as one folder above...

Check this...

/J
01-15-2010 10:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #3
RE: Mail Auto respond and ispcp-arpl-msgr
In my ispcp-db-keys.pl

$main::db_pass_key = '{KEY}';

$main::db_pass_iv = '{IV}';
What is KEY and IV?
Thanks!
IV and KEY from
/var/www/ispcp/engine/ispcp-db-keys.pl
copy to
/var/www/ispcp/engine/messenger/ispcp-db-keys.pl
(This post was last modified: 01-15-2010 10:55 PM by bsn.)
01-15-2010 10:51 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Mail Auto respond and ispcp-arpl-msgr
hm...

the same in the engine folder?

and in /ispcp/gui/include/ispcp-db-keys.php?

If yes -> how did you install this. If update -> do you have older versions of theese files...

/J
01-15-2010 10:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #5
RE: Mail Auto respond and ispcp-arpl-msgr
Update from 1.0.1 -> 1.0.3
Other server have same problem with ispcp-db-keys.pl.

Now,
I have new error in mail.log
<robot@ispcp-arpl.test.com> (expanded from <robot@test.com>): 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 529.
It's ok
cd /var/log/ispcp/ispcp-arpl-msgr
chown vmail.mail ispcp-arpl-msgr.stderr ispcp-arpl-msgr.stdout

Thanks!!!
(This post was last modified: 01-15-2010 11:23 PM by bsn.)
01-15-2010 11:08 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Mail Auto respond and ispcp-arpl-msgr
Can you tell us how you did the update?

update-script from ispcp?

was only the ispcp-db-keys.pl in the messenger folder "bad" or also the others?

Thanx

/J
01-16-2010 12:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #7
RE: Mail Auto respond and ispcp-arpl-msgr
I have cheсked third server.
I have same problem with messenger/ispcp-db-keys.pl
I have two files in messenger folder
# ls -la
total 32
drwxr-x--- 2 vmail mail 4096 2009-12-21 09:24 .
drwxr-xr-x 9 root root 4096 2009-12-21 09:24 ..
-r-xr-x--- 1 vmail mail 18069 2009-12-21 09:24 ispcp-arpl-msgr
-r-xr-x--- 1 vmail mail 1243 2009-12-21 09:24 ispcp-db-keys.pl

Update step.
# apt-get update
# apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)

# /etc/init.d/ispcp_daemon stop
# make -f Makefile.ubuntu install

# cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/
# cp -v /var/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/
# cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/
# cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/
# cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/
# cp -v /var/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/var/www/ispcp/gui/tools/webmail/data/

# rm -fR /var/www/ispcp/engine/messager/
# rm -fR /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/
# rm -fR /var/www/ispcp/gui/*.php

# cp -Rv /tmp/ispcp/usr/* /usr/
# cp -Rv /tmp/ispcp/var/* /var/

# mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
# cp -Rv /tmp/ispcp/etc/* /etc/

# cd /var/www/ispcp/engine/setup
# perl ispcp-update

# rm -fR /tmp/ispcp/
01-16-2010 03:02 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Mail Auto respond and ispcp-arpl-msgr
ah - maybe this is not ok

# cp -v /var/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/

# rm -fR /var/www/ispcp/engine/messager/

so - first a folder messenger is expected, and afterwards the same folder is expected to be named messager (as it was before 1.0.3)... seems this is the error. I'll open a ticket...

Thanx

/J
No... the update documentation is correct....

I don't know where's the error....

hm...
(This post was last modified: 01-16-2010 09:25 AM by joximu.)
01-16-2010 09:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bloombox.de Offline
Newbie
*

Posts: 6
Joined: Jul 2010
Reputation: 0
Post: #9
RE: Mail Auto respond and ispcp-arpl-msgr
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 ...
07-27-2010 07:30 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #10
RE: Mail Auto respond and ispcp-arpl-msgr
Please open new ticket for this issue.
07-27-2010 07:36 PM
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)