LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2014, 08:37 PM   #1
JacobvC
LQ Newbie
 
Registered: Feb 2014
Distribution: Linux Mint 16
Posts: 8

Rep: Reputation: Disabled
Setting Up A Home Mailserver


Hi,

I am trying to set up a home mailserver in my basement mostly for the learning experience. I am using postfix and am able to receive email, but not send. It seems like my outbound port 25 is blocked by my ISP and I've seen that the workaround is to use mail submission on 587. I set it up using various instructions on the internet but according to the log, my server is still trying to connect to the recipient's server using port 25. Why is that, shouldn't it be connecting using 587? Or is 587 just how the client connects to my mail server which then sends the mail to the recipient on 25 no matter what?

If that is the case, then I could use my ISP's (Rogers) smtp server to relay the mail I guess. I would connect to that using 587, and the ISP's server would connect to the recipient using 25?

Jacob
 
Old 06-02-2014, 09:48 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
The way it normally works is that mail submitted on port 587 may be relayed to any other mail server on the internet. Mail received on port 25 is only accepted for local, known recipients. Port 587 requires authentication to prevent abuse by spammers; port 25 does not.
 
Old 06-03-2014, 05:51 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,481

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Something that you should also be aware of is that many mail servers now check against known ISP IP ranges and may reject mail sent from a "residential" IP range.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting a mailserver - the best choice issey Linux - Newbie 2 01-23-2006 02:11 AM
setting a mailserver - the best choice issey Ubuntu 2 01-23-2006 02:07 AM
help setting up mailserver ilyash Linux - Software 0 08-20-2004 02:24 PM
setting up mailserver in mandrake 10 thegreggwong Linux - Networking 1 07-01-2004 03:53 PM
setting up a mailserver xone Linux - Software 7 04-26-2004 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration