summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailing.go2
-rw-r--r--mailremind.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/mailing.go b/mailing.go
index 0c2f26b..005bb8e 100644
--- a/mailing.go
+++ b/mailing.go
@@ -24,7 +24,7 @@ func Mail(to, from string, msg []byte) bool {
func initMailing() {
meth := confhelper.ConfStringOrFatal(conf, "mail", "method")
- MailFrom = confhelper.ConfStringOrFatal(conf, "mail", "addr")
+ MailFrom = confhelper.ConfStringOrFatal(conf, "mail", "from")
parallel := confhelper.ConfIntOrFatal(conf, "mail", "parallel")
if parallel <= 0 {
diff --git a/mailremind.ini b/mailremind.ini
index 59e9e2e..eab168d 100644
--- a/mailremind.ini
+++ b/mailremind.ini
@@ -22,7 +22,7 @@ driver=mysql
conf=mailremind:mailremind@tcp/mailremind
[mail]
-addr=nobody@yourdomain
+from=nobody@yourdomain
parallel=10
# You need to set the 'method' variable here. Possible values are:
# sendmail