David Levine <[email protected]> writes: > Jón wrote: > >> David Levine <[email protected]> writes: >> >> > Would adding a switch to skip that check and allow any filename >> > help? >> >> Not really. For my case, I wouldn’t want anything put into a >> subdirectory, and obeying anything beginning with .. would be a >> real nuisance! I just want to extract enough of the filename so >> that the sender can recognise it (with reasonably high >> probability :-) > > OK. Does the output from the (undocumented) mhstore -debug switch > help?
Again, for me it doesn’t output the filename, though I’m begining to be puzzled. For a message created by mh-e containing Content-Type: image/jpeg Content-Disposition: attachment; filename=scaled.jpeg Content-Transfer-Encoding: base64 mhstore -auto is ignoring the filename: $ mhstore -auto -debug little endian architecture MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Content-Type: text/plain Content-Type: image/jpeg storing message 8970 part 1 as file 8970.1.txt storing message 8970 part 2 as file 8970.2.jpeg -- Jón Fairbairn [email protected] _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
