rhordern
May 15 2002, 03:33 AM
Hi,
I have got a big problem. My resellers as they sell for more than us, we give them their own ip's for nameservers and tell them to set up a catchall email address so that their customers can't see who we are but now we have got another problem the writing that comes up when you connect to ftp says our hostname. I tried renaming it to something anonimous like plesk.server.net but the email stopps working when I do this !
So is there a way to change the text so that it doesn't show our hostname?? And if not, is there a way to change the hostname to somthig that doesn't exist without stopping the email from working????
Please help it is urgent !!!
Richard
Rich2k
May 15 2002, 03:40 AM
You can block the host name from appearing in the FTP login simply by editing the ftpd.conf file (there is documentation on what you can put here in the ftpd website).
However to permanently change your hostname you can do so through the plesk reconfigure command line utility. There are a few other places you need to change it which someone else mentioned before all the threads got lost!
rhordern
May 15 2002, 03:44 AM
thanks for the ftp !! I'll give it a go but as I said I have already changed the hostname but if I choose a domain that does not exist then email stopps working !
rhordern
May 15 2002, 03:48 AM
I've just had a go but I couldn't find a ftpd.conf but I found a proftpd.conf but it had no text like at the beginning of ftp in it... where should I be looking?
rhordern
May 15 2002, 03:53 AM
and what is the ftpd site name ? I tried
www.ftpd.com and it was not this ...
rhordern
May 15 2002, 03:57 AM
seems it is proftpd that I'm supposed to add something to but what am I supposed to add and where can I get the doc? (I don't know what their site url is)
rhordern
May 15 2002, 04:05 AM
This is what I want to change :
220 ProFTPD 1.2.4 Server (ProFTPD) [plesk.mydomain.com]
I don't want mydomain.com to appear ! but how?
rhordern
May 15 2002, 04:42 AM
I have just found
www.proftpd.org, now I have also found the line that I should add in the doc. It says to add:
ServerIdent "Ftp server ready"
I have done this at the beginning of proftpd.conf and at the end but each time I can't connect to the server with ftp any more ! It just says could not connect.
It seems that there must be another one somewhere as it comes up with "ServerIdent ProFTPD [version] Server [hostname]" when I enter or maybe this is just the default setting, but how can I get this function to work?
I have got plesk 2.5, linux 7.1 and proftp 1.2.4
please help !
Rich2k
May 15 2002, 05:20 AM
I don't know about Plesk 2.5 (should be the same though) but on Plesk 2.0 ftpd conf file is located in /usr/local/psa/ftpd/etc/
and is called proftpd.conf
I edited this using Pico and mine looks something like this
CODE
ServerName "My FTP Server"
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on
Port 21
Umask 022
MaxInstances 30
Include /usr/local/psa/ftpd/etc/proftpd.include
TimeoutNoTransfer 900
ServerIdent on "FTP server ready..."
DisplayConnect /usr/local/psa/ftpd/etc/onconnect.txt
There are a couple of extras I added there such as DisplayConnect
The whole list of options can be found on the proftpd website.
Rich2k
May 15 2002, 05:26 AM
Additionally one option you might like to add is
CODE
LsDefaultOptions "-a"
This forces a complete directory listing rather than the default option of hiding 'dot' files such as .htaccess
rhordern
May 15 2002, 05:45 AM
thannks ! actually I had just found the doc I needed in
www.proftpd.org and I will add the code that you have just given me ,
thanks !
Richard
Squire
May 15 2002, 06:46 AM
Another thing you might want to consider tweaking is the DefaultTransferMode. The ProFTPD default sets this to binary, which seems to cause trouble for some folks when they're uploading .cgi or .pl files unless they make sure their local ftp software is set to force those to ascii upload mode. I found it easier to just change that to ascii server wide in my proftpd.conf file and avoid the trouble in the first place.
Squire
Rich2k
May 15 2002, 06:54 AM
Especially as the LE version of WS_FTP has a bug in it relating to selecting ASCII mode manually. The Pro version is fine though
rhordern
May 15 2002, 04:06 PM
yes but with text mode as default will images still upload right in auto mode?
Rich2k
May 15 2002, 05:40 PM
Yes
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.