Hello.

I remember when we used to complain about people having HTML e-mail signatures and email was done using UUCP.  You can use ip route as fast effective way of permitting access.

IE:

ip route add blackhole 1.2.3.0/24

This would block all accesses to the local server. Otherwise, you might consider using fetchmail to isolate your SMTP server. Then you could internally route your email using Postfix, without it being publicly accessible. You would just need an external 3rd party for your primary MX, such as a $5 VPS.

Thank you.

Matthew

On 12/26/2022 4:18 PM, mats wrote:
First statement: I'm new to Postfix
Second statement: I'm old enough that a 30mb harddrive was big then I started 
working with computers ......
The Challenge
I want to be able to run my own "idp" type script when someone tries to connect 
to my mailserver. Basically I want to refuse them even a tcp connection to smtpd if the 
connecting ip is in our internal blacklist.
I'm doing it today with an old HMailserver and it's very effective so I would 
like to port that functionality

Reply via email to