From b855ce9452ed7b83d0f6f538a17755918cc4132f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 7 Feb 2020 13:44:29 +0100 Subject: Make SMTP port and authentication configurable Add more options to configure the smtplib implementation for sending notification emails. The port can be changed using the new smtp-port option. Encryption can be configured using smtp-use-ssl and smtp-use-starttls. Keep in mind that you usually also need to change the port when enabling either of these options. Authentication can be configured using smtp-user and smtp-password. Authentication is disabled if either of these values is empty. Signed-off-by: Lukas Fleischer --- conf/config.defaults | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'conf') diff --git a/conf/config.defaults b/conf/config.defaults index 23d46b06..b69d0312 100644 --- a/conf/config.defaults +++ b/conf/config.defaults @@ -49,6 +49,11 @@ window_length = 86400 notify-cmd = /usr/local/bin/aurweb-notify sendmail = smtp-server = localhost +smtp-port = 25 +smtp-use-ssl = 0 +smtp-use-starttls = 0 +smtp-user = +smtp-password = sender = notify@aur.archlinux.org reply-to = noreply@aur.archlinux.org -- cgit v1.2.3-24-g4f1b