Re: control/amime-footer-base64

Chris Knadle <[email protected]> Sat, 29 Nov 2025 23:34:47 -0500
Newsgroups org.mlmmj.mlmmj
Message-ID <[email protected]>
Hey, Ron.

Apparently mlmmj-amime-receive has also not been included in the Debian 
package for mlmmj either. The file is from 2008 and was committed to the 
Debian source package in 2012 with mlmmj 1.2.18.0.

Although it's in the Debian source package, it's not being shipped 
inside the Debian mlmmj binary package. It looks straightforward enough 
that it's probably safe to include it, as it's a simple wrapper script 
to pass parameters to altermime and then mlmmj-receive. I'd just like to 
know if it seems reasonable to go ahead and add that. Do you have an 
opinion? ;-)

    -- Chris

Chris Knadle
[email protected]

On 11/29/25 18:24, Chris Knadle wrote:
> Hey, Ron.
>
> I read the comments of contrib/mlmmj-amime-receive, I see it isn't 
> clear there, but I found some hints that I think answer the question.
>
> Looking through the code, as best I can tell mlmmj-amime-receive is a 
> pass-through program to grab parameters and send them to 
> /usr/bin/altermime and /usr/bin/mlmmj-receive.
>
> And the thing is that the Debian package for MLMMJ doesn't depend, 
> recommend, or suggest the altermime package. The MLMMJ 
> README.footers.md states that footer support is rudimentary, and 
> non-text footers are meant to be passed through alterMIME -- meaning 
> MIME-encoded footers require alterMIME.
>
> Looking through the mlmmj-amime-receive code, the execution aborts if 
> the file for the alterMIME binary isn't found. So based on this as 
> best I can tell amime-footer-base64 is meant to contain Base-64, and 
> MLMMJ won't act on it unless altermime is also available.
>
> Now that I know this, I think I'm going to add a "Suggests: altermime" 
> on the Debian package for MLMMJ -- this is to that users/admins of the 
> package get a "hint" for this, and I'm going to add some text to the 
> README.Debian file about it.
>
>    -- Chris
>
> Chris Knadle
> [email protected]
> Debian maintiner for MLMMJ
>
> On 10/12/25 21:07, Ron Guerin wrote:
>>
>> Apologies if this is a stupid question...
>>
>> But what am I supposed to put in
>>
>> control/amime-footer-base64
>>
>> When using the contrib/mlmmj-amime-receive script?  Is it plaintext, 
>> or should I be Base-64 encoding the contents?
>>
>> - Ron
>
>