I have a small email relay server that is used to allow IOT devices to send email. Some of those devices do not do authentication. I'd like to restrict the sender domain based on the IP.
I'm looking for something like smtpd_sender_login_maps, but for client IPs. Example of a smtpd_sender_login_maps: /@domain.tld/ account # Only 'account' can send email from @domain.tld Example of what I'm looking for: /@domain.tld/ 1.2.3.4,5.6.7.8 # Only list IPs can send email as @domain.tld. Bonus point if the solution can take CIDR notation in additions to IPs I've been re-reading the documents, but I don't see how to do this. Does anyone know how to do this?
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org