Summary: | Mail messages sent by IPFire for testmail and wio cause email clients to show attachment icon | ||
---|---|---|---|
Product: | IPFire | Reporter: | Adolf Belka <adolf.belka> |
Component: | --- | Assignee: | Adolf Belka <adolf.belka> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Aesthetic Issue | ||
Priority: | Will affect an average number of users | CC: | michael.tremer, peter.mueller |
Version: | 2 | ||
Hardware: | all | ||
OS: | Unspecified |
Description
Adolf Belka
2023-02-20 14:04:54 UTC
acct.pl sends a pdf attachment with its messages therefore this must stay with multipart/mixed. mail.cgi and wio-lib.pl only send a single text message with no attachments or separate sections of different content. These two usages, if changed to multipart/alternative stop Thunderbird or Roundcube from showing the attachment icon with those messages. I have tested this change out and confirmed that changing from multipart/mixed to multipart/alternativce for these two usages fixes the problem of the attachment icon being shown in Thunderbird or Roundcube. Oh sorry for being too fast with assigning this to someone :) Bug fix created and tested out. Changed multipart/mixed to multipart/alternative in mail.cgi and wio-lib.pl Patches submitted to dev mailing list and patchwork. https://lists.ipfire.org/pipermail/development/2023-February/015469.html https://lists.ipfire.org/pipermail/development/2023-February/015470.html https://patchwork.ipfire.org/project/ipfire/list/?series=3408 Thank you very much for these! https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=670981e64870b43981617560ce96b41db3a462fb https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=c151ca241bfea1ea84b92269cd824971aabea732 This has been tested on my vm testbed with CU174 Testing. Sending a test email from the Mail Service page in the WUI no longer results in an attachment icon being shown for the message. This confirms that the bug has been fixed. |