[pfx] Re: Restrict Sender Domain for Relay

2024-09-16 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > On Mon, Sep 16, 2024 at 09:55:22AM -0500, Dan Lists via Postfix-users wrote: > > > > How many distinct sender domains are in scope? If it is just a small > > > handful, you can restriction classes: > > > > > > main.cf: > > > smtpd_restriction_class

[pfx] Re: Restrict Sender Domain for Relay

2024-09-16 Thread Viktor Dukhovni via Postfix-users
On Mon, Sep 16, 2024 at 09:55:22AM -0500, Dan Lists via Postfix-users wrote: > > How many distinct sender domains are in scope? If it is just a small > > handful, you can restriction classes: > > > > main.cf: > > smtpd_restriction_classes = > > require_sender_domain_a, > >

[pfx] Re: Restrict Sender Domain for Relay

2024-09-16 Thread Dan Lists via Postfix-users
On Fri, Sep 13, 2024 at 10:22 PM Viktor Dukhovni via Postfix-users < postfix-users@postfix.org> wrote: > On Fri, Sep 13, 2024 at 10:29:21AM -0500, Dan Lists via Postfix-users > wrote: > > > I have a small email relay server that is used to allow IOT devices to > send > > email. Some of those devi

[pfx] Re: Restrict Sender Domain for Relay

2024-09-13 Thread Viktor Dukhovni via Postfix-users
On Fri, Sep 13, 2024 at 10:29:21AM -0500, Dan Lists via Postfix-users wrote: > 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. How many distinct sender

[pfx] Re: Restrict Sender Domain for Relay

2024-09-13 Thread Dan Lists via Postfix-users
On Fri, Sep 13, 2024 at 10:50 AM Wietse Venema via Postfix-users < postfix-users@postfix.org> wrote: > Dan Lists via Postfix-users: > > 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 > > restri

[pfx] Re: Restrict Sender Domain for Relay

2024-09-13 Thread Wietse Venema via Postfix-users
Dan Lists via Postfix-users: > 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 clien