Munpack on my Debian/Linux to extract attachments from incoming emails.
(For additional context,
Getmail fetches the emails and pipes it to
Procmail recipe then pipes it to
| munpack -q -C directory/
For some reason, when I get emails with (a) inline attachments (usually
images) AND (b) document attachments (usually
.csv files are completely ruined.
(Note that this issue doesn't arise when there is only one attachment, which typically is a
Is there a way to configure Munpack to:
1. Save **ONLY** attachments with the `.csv` extension in the email. 2. Make sure that the **.csv** files are saved as is.