Knowledgebase

plesk mail server question

Posted by koppan, 05-02-2007, 01:18 PM
Can we enable different outgoing port in qmail? If anybody knows, please let me know.

Posted by FirmbIT, 05-02-2007, 01:57 PM
Yes there is. The example below will allow you to send through port 2525. You can replace that with any number you want of course. 1. Make a copy of /etc/xinetd.d/smtp_psa, for this walkthrough the new filename we'll use is smtp_nonstandard. A command like this should work: cp /etc/xinetd.d/smtp_psa /etc/xinetd.d/smtp_nonstandard 2. Add these lines to the copy you just made: type = UNLISTED port = 2525 and change the service name to match the name of the file. A sample smtp_nonstandard looks like this: service smtp_nonstandard { type = UNLISTED socket_type = stream protocol = tcp port = 2525 wait = no disable = no user = root instances = UNLIMITED server = /var/qmail/bin/tcp-env server_args = -Rt0 /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 } 3. Restart xinetd: /etc/init.d/xinetd restart

Posted by koppan, 05-02-2007, 04:06 PM
Thank you.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Staminus down? (Views: 610)


Language:

Client Login

Email

Password

Remember Me

Search