Hi I wrote this script: http://pastebin.com/BZGNDcdn which is configured in postfix in transport_maps like this: emailtocatcherr...@example.com myCustomScript:dummy and is supposed to catch emails that return errors ("Undelivered Mail Returned to Sender") when emailtocatcherr...@example.com sends emails. (btw I'm sending 100% legit traffic, nothing spammy here)
It works very well but if I try to send an email to emailtocatcherr...@example.com it loops 10 times and then gives up (554 5.4.0 Error: too many hops). I'm seeking community or professional support to fix this issue. Thanks for your attention, regards and have a nice day, Mike