dehydrated-email-notify-hook icon indicating copy to clipboard operation
dehydrated-email-notify-hook copied to clipboard

Wouldn't send e-mail, fixed

Open branhendricks opened this issue 7 years ago • 1 comments

I had trouble getting this script to send e-mail. There were two causes. In the main dehydrated file, on line 225, there is an export command with a list of variable to be exported for use by the hook script. CONTACT_EMAIL is not one of them and needs to be added. (I set CONTACT_EMAIL in the config file.) In this script, in the deploy_challenge and clean_challenge functions, RECIPIENT is set as a previous RECIPIENT variable. RECIPIENT needs to be set to CONTACT_EMAIL. After those changes, were made, my e-mails were going though. Prior to that they were going to root@server.

branhendricks avatar Jun 02 '17 20:06 branhendricks

CONTACT_EMAIL is the contact address for the account on the ACME server, and should not be assumed to be the destination for the emails produced by the hook script.

txr13 avatar Mar 14 '18 16:03 txr13