Linux Consultant
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy

Email – If port 25 is blocked

Home Email – If port 25 is blocked
June 21, 2018February 24, 2019 | by Scott Kilroy | No comments

Email – If port 25 is blocked

If your isp blocks port 25 (it should)
redirect traffic coming in on port 2525 to port 25
/sbin/iptables -t nat -I PREROUTING -p tcp –dport 2525 -j REDIRECT –to-port 25
# make it so that this command runs on server boot up.
if ! grep -qai 2525 /etc/rc.local; then
echo ‘/sbin/iptables -t nat -I PREROUTING -p tcp –dport 2525 -j
REDIRECT –to-port 25’ >> /etc/rc.local
fi

no related pages

email
« Prev

Search

Recent Posts

  • Anthropic’s Claude for OSS Program Adds Codenotary’s immudb
  • DistroWatch Weekly, Issue 1184
  • Linux App Release Roundup (July 2026)
  • Distribution Release: AerynOS 2026.08
  • FOSS Force’s Top Five Articles — For the Week Ending July 31, 2026
  • Rhythmbox 3.5.0 Released with Multistream Backend By Default
  • GNOME to Support Uninstalling Apps Directly from App Grid
  • BSD Release: NetBSD 11.0
  • Distribution Release: Archcraft 2026.08.01
  • Synex 13 u11 Released With Multiple Desktop Options

Tags

AI AlmaLinux Android app Apps App Updates aws beginner's guide blog C++ Debian 11 Debian 12 desktop environment Developer Discord distro distros docker Firefox FOSS free software git gnome extensions GNU/Linux Howtos HTML install instructions JavaScript kde KDE Plasma LF Platinum Member Content Linux distribution Linux tutorial new release News Raspberry Pi release RHEL Rocky Linux security The Linux Foundation tutorial Tutorials ubuntu 22.04 windows os

Copyright © 2021 Linux Consultant