Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

Setting up Dovecot and Postfix between a firewall?

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
texastank98
Asked:
texastank98
  • 4
  • 3
1 Solution
 
texastank98Author Commented:
...anyone....? just a general idea even?
0
 
SirTuxCommented:
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
 
texastank98Author Commented:
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
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
SirTuxCommented:
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
 
texastank98Author Commented:
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
 
texastank98Author Commented:
or where to find some documentation that actually helps
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now