Web Hosting Talk







View Full Version : Plesk Reconfigurator


Dylan
03-05-2001, 09:11 PM
Anybody used it? What does it do?

Tempting to try it but worried that once I start it, it might screw up.

Mirco
03-06-2001, 02:11 PM
Yep, it's mainly used for name-based hosting.
You'll be able to change hostname, ip address (used for name-based), domain name and admin email.

Hope it helps

Dylan
03-06-2001, 04:16 PM
Micro, maybe you'll know...

sendmail uses the correct hostname in the return path
BUT
sendmail.plesk doesn't.

It uses localhost.localdomain

How do you change it to the.proper.com?
me is right. hostname seems right.

Mirco
03-06-2001, 06:15 PM
sendmail.plesk is actually the default version that PSA disables upon install. So the operational sendmail version is /usr/sbin/sendmail or wherever you linked it to :)

Dylan
03-06-2001, 06:42 PM
I see!

Umm... okay, /usr/sbin/sendmail HAD to be deleted and now only /usr/sbin/sendmail.plesk is left.

/usr/sbin/sendmail had the return path as whatever@theproper.com

BUT

/usr/sbin/sendmail.plesk has the return path as something bogus like apache@localhost.localdomain or localhost@localhost.localdomain

How can I get it to use theproper.com (without renaming it to sendmail)???

Thanks

Mirco
03-07-2001, 02:24 PM
I actually don't see a reason for using sendmail.plesk
It's just been renamed. I wouldn't worry about it

btw: you didn't delete /usr/sbin/sendmail, did you?

Dylan
03-07-2001, 02:56 PM
I have to use /usr/sbin/sendmail.plesk as /usr/sbin/sendmail has been deleted.

What I don't get is why sendmail.plesk uses some bogus return path which makes the mailer-id invalid, and because the mailer-id is invalid alot of servers reject mail sent from my servers.

BUT, no need to worry, I discovered /usr/sbin/sendmail.bak and this reports the proper return-path and mailer-id.
(I think the techs renamed sendmail to this as we had someone sending out multiple spam.)

BUT, now it looks like PHP sendmail doesn't work properly.
Do you know where the PHP config file is that stores the sendmail location?

Mirco
03-07-2001, 03:01 PM
Note: PHP is compiled into Apache so there isn't a PHP config file.

Dylan
03-07-2001, 04:11 PM
mmm... so don't I have to change any files, not even apache?

Mirco
03-07-2001, 04:18 PM
Exactly :)

Dylan
03-07-2001, 04:35 PM
Thanks bunches!

Dylan
03-07-2001, 06:02 PM
Oh dear! Php sendmail is still not working.

As far as I know, Apache also doesn't contain the sendmail path, correct?

DHWWnet
03-07-2001, 06:14 PM
Im missing something here but where is the plesk configurator ?

thanks :)

elijaH

Dylan
03-07-2001, 07:27 PM
Should be /usr/local/plesk/reconfigurator.sh

Dylan
03-07-2001, 07:29 PM
Oh, also, if you made any modifications to the apache config file and then use the reconfigurator, you'll have to make the changes to the apache config again as the reconfigurator overrides it.

Dylan
03-07-2001, 07:32 PM
Micro where does the mail() function in php get the sendmail location from? That's what I need to change.

Dylan
03-07-2001, 07:37 PM
And, while I'm at it Micro, seeing that you know heaps about Plesk...

Plesk uses the GET request method.
I need to change it to POST.

I don't know if you've had the same problem, but alot of cgi's don't function with GET.

Somehow, if you edit the script to require POST, the request redirects to GET and in the process loses all the data.

So, I have to change the apache request method to POST.

Can you shed any light on this? Thanks.

DHWWnet
03-08-2001, 03:44 PM
Thanks dylan...

im also looking on that one :)...

elijaH

Dylan
03-08-2001, 03:53 PM
Which one? The post/get one?

Are you having the same problems?

DHWWnet
03-08-2001, 04:02 PM
The post/get , b4 changing the servers host name , it was localhost.localdomain and my scripts was working now that i changed the servers name , it stopped.

off topic stuff:why cant i get .htaccess to work on my rh6.2 box ? i tried almost everything and im still getting a 500internal server error any ideas what it might be ?

thanks :)

Dylan
03-08-2001, 04:25 PM
post/get , b4 changing the servers host name
So, you have 2 problems in one? I find your second problem very weird. more info?


why cant i get .htaccess to work
You have to change allowoverride in the apache config to "all"?

Remember that if you used the reconfigurator after making mods to apache, you need to make the mods again.

Dylan
03-08-2001, 04:30 PM
With regards to FTP, have you noticed with WS_FTP if you select ascii to upload a script it uploads in binary?

To overcome this you have to upload the first script in binary and then again in ascii.

Very annoying! Is there a fix?

DHWWnet
03-08-2001, 06:37 PM
Fixed :) i edited my scripts from !/sur/bin/perl to !/usr/sbin/sendmail

the htaccess prob is also fixed :) thanks dylan.

elijaH

DHWWnet
03-08-2001, 06:38 PM
Originally posted by Dylan
With regards to FTP, have you noticed with WS_FTP if you select ascii to upload a script it uploads in binary?

To overcome this you have to upload the first script in binary and then again in ascii.

Very annoying! Is there a fix?

i dont , i'll let you know if there is :)

Dylan
03-08-2001, 11:13 PM
from !/sur/bin/perl to !/usr/sbin/sendmail

?huh? You mean at the top of the script where you put the perl location, you put sendmail??? Very odd! I'm surprised it works.

DHWWnet
03-09-2001, 12:00 AM
!/usr/sbin/sendmail

this is what i put on there :) that is what the plesk dudes told me to either use /usr/local/plesk/qmail/bin or via symbolic link /usr/sbin/sendmail

:beer: