How to run SMTP on a different or additional port in Linux with Plesk
I apologize, but this post has been taken down.
-------------------------/* Plugin Name: Smart Update Pinger Plugin URI: http://www.daven.se/usefulstuff/wordpress-plugins.html Description: Replaces the built-in ping/notify functionality. Pings only when publishing new posts, not when editing. Author: Christian Davén Version: 2.0 Author URI: http://www.daven.se/usefulstuff/ */ # adds an options page to the options menu function SUP_add_options_page() { if(function_exists("add_options_page")) add_options_page("Smart Update Pinger", "Smart Update Pinger", 5, basename(__FILE__), "SUP_show_options_page"); } # shows the options page function SUP_show_options_page() { $ping = get_option("SUP_ping"); $uris = get_option("ping_sites"); $pingservicesnow = "Ping Services Now!"; if(isset($_POST["ping"]) && $_POST["ping"] == $pingservicesnow) { SUP_log("Forcing pings ..."); SUP_ping_services(); } elseif(isset($_POST["submit"])) { $uris = $_POST["uris"]; $ping = 0; if($_POST["ping"] == 1) $ping = 1; update_option("SUP_ping", $ping); update_option("ping_sites", $uris); echo '
Options saved.
The following services will automatically be pinged/notified when you publish posts. Not when you edit previously published posts, as WordPress does by default.
NB: this list is synchronized with the original update services list.
These are the lastest actions performed by the plugin.
'.SUP_get_last_log_entries(20).'
I apologize, but this post has been taken down.
-------------------------
January 13th, 2008 at 4:29 am
Awesome thanks too.
January 15th, 2008 at 2:30 am
Prior to performing this fix, I can receive ALL emails fine, I just can’t send via port 25 (since my ISP blocks it!)
Post performing this fix: I can send ALL emails just fine, but I can no longer receive emails from outside my domain.
Any suggestions or tips on why after doing this I can’t receive emails from outside my domain?
February 15th, 2008 at 3:29 am
Eric, you must have it listen on BOTH 25 AND the new port. Read the instructions a little closer.
Simply copy/paste the existing smtp line and change the name and port (we’ll use port 26 in this example).
Copy, then change
April 1st, 2008 at 5:22 am
Thanks for the tip. Did everything, netstat reports listening not problem. QMail however is not responding on this port. Should something also be changed in the QMail config. I am using Plesk 8
Thanks.
May 15th, 2008 at 11:00 am
I’m running Red Hat Linux, and I can’t figure out where to change my SMTP Port as my ISP Blocks 25?