Stopping attachments getting saved in mailman

cPanel & WHM Version
86.0.21

boardtc

Member
Oct 3, 2019
5
1
3
Ireland
cPanel Access Level
Website Owner
I have 3 private email lists that my family uses for years, I want them to behave exactly like an email address except it goes to 2 email addresses instead of one.
I got my isp to delete 50MB of space held my the attachments in October 2019 and I set the below options to stop attachments getting saved and taking up space:
  • Nondigest option -> Scrub Nondigest -> No

  • Content Filtering - > Remove message attachments that don't have a matching content type.
    • Added
      - text/html
      - application/pdf
Now my MailingList1's usage is 13.68MB and MailingList2's is 6.36MB :-(

Before asking my isp to clear the attachments directory again what else do I need to do to stop them being saved?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
That's actually not a lot of space if there are a lot of messages. Are archives being saved/created? What might be best is to have your provider give you a breakdown of what data is being stored and consuming disk space.

Also, keep in mind that content filtering removes the attachments when they are received by the mailserver not when they are stored so you won't ever receive any attachments that are text/html (these will be converted to text/plain0 or application/pdf mime types.
 

boardtc

Member
Oct 3, 2019
5
1
3
Ireland
cPanel Access Level
Website Owner
I should have been clearer. I have 400MB for my account and have 350MB used as standard so 20MB is very significant for me.

My intention is to get all attachments and have nothing whatsoever saved - no archives are being saved. Most times I do get the attachments but on one list sometimes they are blocked - I have not spotted the config difference yet.

Other than requesting the attachment directory to be cleared out my ISP is not relevant here as I manage my own space. I can see on the disk usage app where space is being taken, though it can be difficult to pinpoint within mailing lists where exactly space is taken. Last year on the mailman forum the told me the issue was attachments being saved. Unfortunately, the configuration is so complex for having pass through mail imho. Does anyone have a detailed list of all the config needed to have all mail pass through on a list with no attachements saved ever?
 

tel2

Registered
Nov 9, 2020
1
1
1
NZ
cPanel Access Level
Website Owner
Hi broadtc,
I don't know the answer to your question, sorry, and I just signed up to this cPanel forum today.

Have you resolved this yet? If so, how?

If not, I suggest you check the archives of the Mailman 2.1 mailing list. Here I've searched that list for "attachments":
Mailman 3 Search results for "attachments" - Mailman-Users - python.org
Or, failing that, join that same list here:
https://mail.python.org/mailman3/lists/mailman-users.python.org/
then ask your question. If they can't answer your question, probably no one can. (Ignore the "mailman3" part of the above URL, which seems to relate to the version hosting the list, not the version being discussed in the list.)

If you would be willing to turn off archiving of messages completely, I could advise re that, and could tell you a painful way to clear the history of all messages. Let me know.
 
Last edited:
  • Like
Reactions: cPRex