ListPrune does not remove dead addresses from mailing list
-
\Logs\BadAddress.txt file is created with a large number of emails, but ListPrune does not remove dead addresses from the mailing list at midnight.
Option Settings – Remove undeliverable email addresses from list membership is enabled.
What is wrong?
-
Arron Staff
What version of MDaemon are you using?
Have you configured the "List's SMTP Bounce address"? (Mailing list manager / Select the list / Edit / Notifications)
The badaddress.txt can be used to help manually clean up the mailing lists, but is not used by the list pruner. You can find information on the badaddress.txt file in help file at https://help.mdaemon.com/MDaemon/en/log_mode.html
The option for "Remove undeliverable email addresses from list membership" now has "after this many consecutive failures" and defaults to 3. So by default, the list must see 3 failures in a row before the feature will remove the member from the list.
You'll also find that in order for list pruner to work, you must have also specified a local mailbox as the List's SMTP 'Bounce' address on the Notifications dialog. Each day MDaemon attempts to parse the bounce messages found in the bounce address configured to identify the address that bounced, and then it attempts to remove those members from the list.
You can find more information in the help file at https://help.mdaemon.com/MDaemon/en/ml_options.html
Lastly, what does the list prune log show is happening? It can be found in the MDaemon\Logs directory.
-
Thanks for reply.
MDaemon version 23.5.0 64 bit is used. The same was observed in previous versions.
"List's SMTP Bounce address" is of course configured to a local mailbox.
The example of the BadAddress.txt file is provided only to show that dead addresses are actually present in the mailing list and are detected by MDaemon.
Since version 23.5.0 is used, the "after this many consecutive failures" option does not exist.
Daily ListPrune log is empty:
[Wed 2025-01-15 00:00:33]---------- Opening Log----------
[Wed 2025-01-15 00:01:33]---------- Closing Log----------
-
Arron Staff
>"List's SMTP Bounce address" is of course configured to a local mailbox.
Are any bounce messages in the root of the mailbox?
Is the listprune log empty every day?
What values are set in the [ListPrune] section of the MDaemon\app\listprune.ini file?
If there are bounce messages in the root of the mailbox, open a command prompt and go to the MDaemon\app directory and run listprune.exe /d /s
Does it log anything?