Postfix's Transport Encryption under Control of the User
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mail_template.html 1.9KB

123456789101112131415161718192021222324252627282930313233
  1. <html>
  2. <body style="background: #eeeeee;">
  3. <table style="width: 100%; max-width: 630px; background: white; border: 1px solid #eaeaea; padding: 20px;">
  4. <tr>
  5. <td>
  6. <p style="font-size: 14px; font-weight: bold;">Hi!</p>
  7. <p style="font-size: 14px;">This is your mail server. I'm afraid, but I couldn't send the following email to the mentioned recipients securely:</p>
  8. <ul>
  9. <li style='font-size: 14px;'>Recipient(s): {{ recipients }}</li>
  10. <li style='font-size: 14px;'>Date: {{ date }}</li>
  11. <li style='font-size: 14px;'>Subject: {{ subject }}</li>
  12. </ul>
  13. <p style="font-size: 14px;">Please tell me how you want me to handle this case:</p>
  14. <p>
  15. <a href='https://{{postfix_tls_host}}:8080/?queue_id={{queue_id}}&action=redirect' style='text-decoration: none;'>
  16. <button style="font-size: 14px; color: white; cursor: pointer; margin-left: 0px; margin-top: 10px; color: white; border: 0; border-radius: 4px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); background: rgb(223, 166, 53); padding: 10px;">Send unencrypted</button>
  17. </a>
  18. <a href='https://{{postfix_tls_host}}:8080/?queue_id={{queue_id}}&action=delete' style='text-decoration: none;'>
  19. <button style="font-size: 14px; color: white; cursor: pointer; margin-left: 0px; margin-top: 10px; color: white; border: 0; border-radius: 4px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); background: rgb(28, 184, 65); padding: 10px;">Delete message</button>
  20. </a>
  21. </p>
  22. <p style='font-size: 14px; margin-top: 25px;'>If you have any questions, please contact your <a href="mailto:{{postfix_sysadmin_mail_address}}" style="color: black;">System Administrator</a>.</p>
  23. </td>
  24. </tr>
  25. </table>
  26. </body>
  27. </html>