From 1fb4c47ec521542f2cc13a92ce97b74031740bb0 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 21 Sep 2013 13:34:45 +0200 Subject: Added README --- mailremind.ini | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'mailremind.ini') diff --git a/mailremind.ini b/mailremind.ini index a4be249..59e9e2e 100644 --- a/mailremind.ini +++ b/mailremind.ini @@ -3,8 +3,9 @@ baseurl=http://localhost:8080 [securecookies] # Both auth and crypt must only contain hexadecimal characters. For best security: 64 Hex chars -auth=6e988360457b4f481a44a90515abeb53428aefdb6f99c34f23f631667b4542a8 -crypt=2a3b337386908b691e933f285b7b2f0b370abeed8e943fbd7be6d228d5fd6527 +# PLEASE DO NOT USE THE DEFAULT VALUES! +#auth=0000000000000000000000000000000000000000000000000000000000000000 +#crypt=0000000000000000000000000000000000000000000000000000000000000000 [net] laddr=:8080 @@ -15,16 +16,29 @@ tpls=tpls mailtpls=mails [db] +# mysql is currently the only driver. driver=mysql +# See https://github.com/go-sql-driver/mysql#dsn-data-source-name for valid conf options conf=mailremind:mailremind@tcp/mailremind [mail] -method=sendmail -addr=nobody@kch42.net +addr=nobody@yourdomain parallel=10 -exec=msmtp -arg1=-a -arg2=kch42 +# You need to set the 'method' variable here. Possible values are: +# sendmail +# mail will be sent using a sendmail-like program, that means it must... +# ...accept the from address with the -f option +# ...accept the to address as a parameter +# ...expect the mail on stdin (including all headers), terminated by EOF. +# The 'exec' variable determines the program to use. +# Optional the 'argX' variables can be used to provide additional parameters for the program. X is an ascending number, starting with 1. +# smtp +# mails will be sent through an smtp server. These additional variables are needed: +# addr - The address of the smtp server (go notation) +# user - Username +# passwd - Password +# crammd5 - Should CRAMMD5 (on) or PLAIN (off) be used? +# host - The expected hostname of the mailserver (can be left out, if crammd5 is on) [schedules] # How often should the schedules be checked? Unit is seconds. -- cgit v1.2.3-54-g00ecf