Thanks.
I had been working on smtpd_milters but just couldn't find the key to
that specific block without breaking the flow. Was hoping for something
more specific or examples.
Will get back to it as it involves a relay compromise that will likely
raise its head on many systems some time.
Reg.
------------------------------------------------------------------------
*From:* Wietse Venema via Postfix-users [mailto:postfix-users@postfix.org]
*Sent:* Tuesday, March 19, 2024, 5:55 PM
*To:* Postfix users
*Subject:* [pfx] Re: smtpd filter orig_client
Reg Inaldo via Postfix-users:
Hi
I am seeing an issue with relaying and am looking for a way to filter on
a specific smtp line but can't find a way to make it work:
In the transaction (eg):? mta-k postfix/smtpd[23771]: 97F808837:
client=localhost[127.0.0.1], orig_client=localhost[127.0.0.1]
I want to reject anything on the "orig_client" basis where:
*orig_client**=localhost*[127.0.0.1]
Use smtpd_milters (and non_smtpd_milters) instad of content_filter.
Wietse
All of the standard submissions to the MTAs include the originating
server, eg:? client=localhost[127.0.0.1],
orig_client=m236-67.mailgun.net[159.135.236.67]
The fact that they are all coming via 'client=localhost' makes it
difficult to just use that term.
Any suggestions are welcomed.
Thanks
Reg
_______________________________________________
Postfix-users mailing list --postfix-users@postfix.org
To unsubscribe send an email topostfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list --postfix-users@postfix.org
To unsubscribe send an email topostfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org