LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2011, 07:02 PM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31
Postfix MTA conceptual doubt


I'm studing and practicing on setting up a mail server.
I'd like to set up a postfix with mysql (for virtual mailboxes / domains) + courier (for pop3/imap) + sasl + TLS and may be a webmail and may be some other usefull tools lika spamassassin.

But I've got a basic "conceptual" doubt before putting my hand on this task:

In postfix configuration (main.cf) you define a network or hosts for which the MTA will relay mail, using MYNETWORK parameter.
sasl can add authentication and TLS privacy for the connection. So, eventually a MUA outside MYNETWORK -let's say somewhere in internet- could authenticate in a sure way and then use the MTA to send mail through it. Is this right?

Even MYNETWORK restricts the relay in order for MTA not to be an "open relay", let's suppose MYNETWORK=192.168.1.0/24, can others MTAs outside MYNETWORK deliver mail to my MTA? (Assuming that domains for final deliveries and their MX dns flags are well configured).

If this postfix is behind a firewall which ports should be opened? 25, 110, 143...?

Thanks!!
 
Old 03-21-2011, 12:04 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
So, eventually a MUA outside MYNETWORK -let's say somewhere in internet- could authenticate in a sure way and then use the MTA to send mail through it. Is this right?
yes. you just need to configure smtpd_*_restrictions correctly. mynetworks will not get in the way of that or in the way of final mail delivery to your system.

Quote:
If this postfix is behind a firewall which ports should be opened? 25, 110, 143...?
postfix itself only requires 25. other servers, e.g. imap, require other ports.
 
Old 03-21-2011, 08:03 PM   #3
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Berhanie,

Thanks clarifying my doubt!
I found that at my home internet connection my ISP has blocked incoming connections to port 25, so I'll have to do the installation in another environment. Or not to receive mail, just sending or relaying to another MTA.

Regards,
Matías
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MTA Suggestion (Exim -vs- Postfix) carlosinfl Linux - Software 1 02-26-2010 02:23 PM
Sendmail is installed as default MTA. How do I switch to Postfix as MTA? virtualpal Linux - Newbie 5 05-11-2009 02:10 AM
Fetchmail and postfix... or any MTA for that matterHelp cellist Linux - Software 4 01-27-2006 10:38 AM
Using postfix MTA and need help understanding some entries Stratholm Linux - Software 2 12-28-2005 12:37 PM
Selecting Postfix as MTA in RH9 Asdsl Linux - Networking 2 04-08-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration