acme.sh
acme.sh copied to clipboard
Notify mail envelope and body from tweak
See related issue Neilpang/acme.sh#2496.
https://github.com/Neilpang/acme.sh/blob/909441bc5770df6da1e986ec9cf9ceb11078f108/notify/mail.sh#L101
If $MAIL_FROM
is matching pattern ^.*<\(.*\)>$
(Name <email@address>), then string between angle brackets is used as envelope.
Is this only valid for sendmail
?
Is this only valid for
sendmail
?
No. It's a standard: https://tools.ietf.org/html/rfc5322#section-3.4
please make sure you have tested all the supported MAIL_BIN, and then please update the usage here: https://github.com/Neilpang/acme.sh/wiki/notify
Is this only valid for
sendmail
?
Actually it is used only with sendmail command.
@honzahommer
Can we support it for all the MAIL_BIN ?
We can have another new env variable, like: MAIN_FROM_NAME
it's up to you.
Thanks.