💻 Software
how do I change postfix port from 25 to 587?
Fresh5 days ago
Mar 15, 2026105587 viewsConfidence Score0%
0%
Problem
I am total noob about Unix and CLI. after googling for almost 6 hours I came to know I should be editing postfix port from 25 to 587 for PHP mail() function to work. and here is the solution I got http://www.linuxmail.info/postfix-change-port/ but I am not sure how to change it. as already said I a…
Error Output
May 7 00:42:39 Ibrahim-Armars-MacBook-Pro postfix/pickup[4169]: DE2073F07C1: uid=501 from=<azhararmar> May 7 00:42:39 Ibrahim-Armars-MacBook-Pro po…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: how do I change postfix port from 25 to 587?
Low Risk
If you only want it running on port 587 (and I'm not sure you do; I'd think you'd want it running on both 25 and 587), then find the line in /etc/postfix/master.cf that looks like this: And change it to look like this: If you want it running on both…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix