Postfix: outgoing only smtp for trusted networks (as smart host)
-
hi there
I thought i understand smtp somehow but i got lost in the configuration items the postfix packages offers to me.
Running pfSense 2.0.3 with Postfix Forwarder 2.10.0 pkg v.2.3.5 (installed through packet management) I'm actually not interested in filtering incoming spam, but just letting my internal servers relay/send mails to the outside. e.g. configure servers and applications to use pfsense as 'smart host'/smtp server to contact in case of sending mail to world. No incoming mails, but just outgoing from trusted servers on behalf of multiple domains.
simplified i'd like to allow 192.168.x.y/24 to send mails to the wide world, on behalf of a finite list of domains. e.g.
Server2 -> From: app@domainxxx.com to: someone@gmail.com
Server1 -> From: xzy@domainxyz.com to: someone@somewhere.org, etcAs the some applications don't support SSL neither authentication i'd have to relay on the dmz ip range origin.
DNS zones and 'trustworthiness' is not subject of pfsense, only accepting such mails from trusted internal servers and forwarding them on behalf of domainxxx.com to the appropriate peer in the internet.
how to to get started / which parameters would i follow up in the webgui?
sorry for the naive question,
maldex -
sorry for the naive question,
Fill mynetworks acl field with your hosts and configure your internal servers to send a good smtp header to avoid problems.
-
that was the right starting point. thanks for the hint