Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting up Dovecot and Postfix between a firewall?

Posted on 2009-04-06
8
Medium Priority
?
579 Views
Last Modified: 2013-12-06
Hey I'm trying to setup a mail server between two computers on a network... I'm not even sure how to ask this question so please bear with me... I've got a basic understanding of Dovecot and Postfix, but am not sure I can do the following:

Computer A outside firewall and accesses the outside world, Computer B inside firewall and accesses all the users.  

 Can I install Postfix on computer A to relay emails to dovecot on computer B?  Or should it be vice versa?  Or should I have Dovecot on both computers with them talking to one another, then postfix on B?....and the bottomline question... why?

Any help or guidance would be amazing...thanks!
0
Comment
Question by:texastank98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 

Author Comment

by:texastank98
ID: 24083188
...anyone....? just a general idea even?
0
 
LVL 1

Accepted Solution

by:
SirTux earned 2000 total points
ID: 24085302
Well normally one would use 3 firewall segments, inside (LAN), outside (WAN), DMZ. The mailserver should be in the DMZ and the network flow could be managed by the firewall.

LAN users may access DMZ, and WAN
WAN has acces to DMZ mail ports (25,110,143, whatever needed) but not to LAN

HTH
0
 

Author Comment

by:texastank98
ID: 24090244
I'm avoiding the use of a DMZ, trying to lock it down as much as possible, so i've just got the first two segments.   outside, to inside, to workstations.
0
Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

 
LVL 1

Expert Comment

by:SirTux
ID: 24090704
why ?? you just need one interface more ...

well in this case you'll need to forward the ports from the router/firewall to the mailserver. theres no other option if you want be able to receive and send email.

I would not recomment this setup. If there's a hole in the server your whole LAN will be easily compromised. DANGEROUS

I really recommend you to put mail/web/allotherinternet servers in a DMZ.
0
 

Author Comment

by:texastank98
ID: 24092400
Ok... so maybe the no dmz was a bit preemptive.  I'm just not sure how a DMZ fits in the configuration/how to set one up.
0
 

Author Comment

by:texastank98
ID: 24092403
or where to find some documentation that actually helps
0
 
LVL 1

Expert Comment

by:SirTux
ID: 24094291
0

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question