@Jonathan11 Mailgun does not pass-on bounces to phplist, so it is not really possible to use the core phplist processing.
Mailgun uses “webhooks” to notify the sending system (i.e. phplist) of various events, such as bounces or other failures. I have some changes to the Mailgun plugin implementing a webhook that supports notification of bounces. The action taken is to blacklist the subscriber but that could be changed to delete the subscriber instead.
If you want to try that approach then I can build a new release of the plugin.
Another approach is to manually export bounced email addresses from Mailgun, then use phplist to mark them as blacklisted.
@Jonathan11 T he notifications from Mailgun are for permanent errors. It won’t send to those addresses even if phplist continues to try to, so the only sensible action is to either delete them or mark them as blacklisted immediately.