• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Postfix Mail Server will not start! Tried to change postfix smtp port. Help!

dalearyous

Senior member
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line:

smtp inet n - n - - smtpd -o

and replace it with

587 inet n - n - - smtpd (587 being the port i want to use)

somewhere along the lines postfix server stopped running and now i cannot get it to start. if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens. plz help me.
 
i have poured through the logs, they are either all empty (its a new VPS) or have nothing to do with mail ... am i not looking in the right place?

/var/logs/messages is blank

rsyslog service wasn't running, ill post back the error in a sec
 
Last edited:
Oct 4 17:45:37 ip-xxx postfix/master[20147]: fatal: /etc/postfix/master.cf: line 6: missing "transport type" field

sooo, what?

**edit**

wow, all this is supposed to be on 1 line:

smtp inet n - n - - smtpd -o content_filter=spamassassin

man, now my solution should work?

***edit***

yay this worked!

# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd -o content_filter=spamassassin
587 inet n - n - - smtpd -o content_filter=spamassassin
 
Last edited:
Where did you go to learn how to setup a postfix mail server? Are there any sites or forums that you recommend that explain the process? I'd like to set one up for practice.
 
Last edited:
Back
Top