msmtp icon indicating copy to clipboard operation
msmtp copied to clipboard

Indicate in documentation in which version certain options were introduced

Open bertvandepoel opened this issue 2 years ago • 3 comments

I'm switching over from ssmtp to msmtp to make it possible for my NAS to send me notifications if things go wrong and to keep me updated with daily logwatches. I've got it working just fine to send me emails, but the "From" header insists on rewriting based on whatever user is running a command that emails. This makes sense based on the documentation, but https://marlam.de/msmtp/msmtp.html offers several options to fix this. However, I keep running into problems such as sendmail: /etc/msmtprc: line 13: unknown command set_from_header. While looking at #51 I noticed quite a few of the options listed on the documentation are very recent, which would explain them missing from version 1.8.6 which is shipped with the latest Debian release. Perhaps it could be useful to mention when new options were introduced in the documentation, similar to how Postfix does this for example?

bertvandepoel avatar Aug 28 '22 17:08 bertvandepoel

I'll keep this in mind for future features. Regarding existing features, a patch would be welcome. Everything pre-1.8.0 is probably now irrelevant, but commands introduced in 1.8.x might get such a note.

marlam avatar Jan 23 '23 19:01 marlam

You mean a patch/PR for the documentation page? Or what do you mean?

bertvandepoel avatar Jan 23 '23 20:01 bertvandepoel

Yes, for the man page and the manual.

marlam avatar Jan 23 '23 20:01 marlam