On Thu, Sep 24, 2020 at 04:42:22PM +0200, Hans van Zijst wrote:
> I'm building a relayhost that should accept e-mail from a whole bunch of
> internal mailservers, and relay it to the Internet, after scanning,
> DKIM-signing and rate limiting.
>
> But I don't want to give Postfix one list of all
What about having multiple different smtpd services on different
ports; then set up the LAN mail agents to send to whichever port is
appropriate for their access, and you can have entirely bespoke
settings for each one.
On Mon, 28 Sep 2020 at 10:02, Hans van Zijst wrote:
>
> Hi Nick,
>
> Thanks
Hi Nick,
Thanks for your reaction, it gave me some food for thought.
I can see how this works for a limited number of servers, but
unfortunately (?) our environment is a lot bigger than that.
I think my solution is to write a policy service:
http://www.postfix.org/SMTPD_POLICY_README.html
Hi Hans.
I'm not sure if there is an easier way, but one way to achieve this is
with a restriction class per server. (BTW I don't know much about LDAP
so the example below is based on files...)
main.cf:
indexed = ${default_database_type}:${config_directory}/
Is it possible to let Postfix decide which hosts to relay mail for,
based on the domain from which that mail is sent?
I'm building a relayhost that should accept e-mail from a whole bunch of
internal mailservers, and relay it to the Internet, after scanning,
DKIM-signing and rate limiting.
But I