Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Lionsanime Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-29-2006, 08:00 AM   #1 (permalink)
Inactive
 
istanbul's Avatar
 
Join Date: 05-29-06
Posts: 22
iTrader: 0 / 0%
Latest Blog:
None

istanbul is on the right pathistanbul is on the right pathistanbul is on the right path
Unhappy Plesk Linux server with qmail

How can I configure qmail to run on another port on my Plesk Linux server?

I made all these but not working.

In /etc/xinetd.d/ you will see this:

[root@root xinetd.d]# ls -l smpt*
-rw-r--r-- 1 root root 400 Jul 18 23:18 smtp_psa
-rw-r--r-- 1 root root 401 Jul 18 23:18 smtps_psa
[root@root xinetd.d]#


The contents of the files:


[root@root xinetd.d]# cat smtp_psa

service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

Copy one of these files to another file called something like "smtp2_psa", change the "service" name in the file, then add the service "smtp2" to /etc/services, corresponding to the NEW port number, such as 26.


[root@root xinetd.d]# cp smtp_psa smtp2_psa


Change the service line in the new file 'smtp2_psa" to be this:


service smtp2
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}


Edit /etc/services with your favorite editor and add the tcp and udp lines for this service the lines should look like this:

smtp2 26/tcp mail
smtp2 26/udp mail


After this restart xinetd:


[root@root xinetd.d]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]


And you should see smtp listening on ports 25, and 26:


[root@root xinetd.d]# netstat -anp | grep xinetd
****cut****
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6989/xinetd
tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 6989/xinetd
****cut****
[root@root xinetd.d]#


Make the appropriate changes if you want to run this second service on a port other than 26.
istanbul is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 09-25-2006, 03:17 AM   #2 (permalink)
Junior Member
 
thinksupport's Avatar
 
Join Date: 09-22-06
Posts: 19
iTrader: 0 / 0%
thinksupport is liked by many
Send a message via AIM to thinksupport Send a message via MSN to thinksupport
Not sure if you followed --
http://support.theplanet.com/knowled...ory_id=0&sid2=
__________________
Think Support Solutions - ThinkSupport.net
Thinking Of Support Solutions ? .. Think About us .. !
PH : (408) 9142 581 | AIM : ThinkingSupport | MSN : sales@thinksupport.net
thinksupport is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring Dedicated/Linux/Plesk/Pix501 for mult domains andheresjohnny Web Hosting Forum 0 01-01-2008 08:48 PM
Domain Parking [Linux, Plesk, Apache] Rob Dedicated Servers 0 03-20-2004 12:51 PM
[Plesk] View domain in Plesk before DNS has changed. QT_ Dedicated Servers 0 01-08-2004 07:30 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:17 PM.
© Copyright 2008 V7 Inc