[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 599
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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