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 to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org