I have a basic question for a mail setup which i have to implement.
We have an SMTP server (Postfix) in DMZ, which should receive and accept all mails for our internal users. Then we have a internal mail server which should provide all the mails to the users with IMAP.
The problem is, no connections from DMZ are allowed (except LDAP/s). So the internal mail server has download the mails from the server in the DMZ.
I'm not sure which tool stack to use and how to make the mails available for the internal server.
EDIT: So basically I have to do something like this with fetchmail on the internal server:
poll serverDMZ.domain.com protocol POP3 envelope "Delivered-To:" localdomains example.org user "*@example.org" there with password "Passw0rd!" is * here smtpaddress localhost ssl fetchall
But I don't now how to configure the SMTP Server in DMZ.