JP Vossen on 1 Jun 2010 11:52:09 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Collegeville, PA FiOS now blocking outgoing port 25


I *think*...  I did not fully test it, but as of last night/early this 
morning, I was unable to connect to my hosted server on port 25.  The 
server was up and fine, sIMAP & SSH worked fine, and port 25 to that 
server worked from elsewhere (Comcast in NJ, among others).

The solution is easy enough, if slightly tedious:

1) On the server, vi /etc/postfix/master.cf and uncomment the 
"submission" line, then restart postfix.
1.1) Make sure 'submission' is defined in /etc/services:
	grep '^submission' /etc/services

2) Change all the client configs to use port 587 in the GUI 
(workstations) or the Nullmailler config (servers), e.g.:
	sudo sh -c "echo 'mail.example.com smtp --port=587' \				  > 
/etc/nullmailer/remotes" && cat /etc/nullmailer/remotes
	--or--
	vi etc/postfix/main.cf  # for internal postfix hub
		relayhost = mail.example.com:587


I'm not sure messing with /etc/postfix/master.cf is the *best* solution, 
since that will now collide with future package updates.  It wasn't 
obvious how to do that in main.cf, and this was quick & dirty & worked. 
  OTOH, that's what this says to do too:
https://help.ubuntu.com/community/Postfix#Using%20Port%20587%20for%20Secure%20Submission

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug