afsmtp: add template options

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
afsmtp: check whether required options is set

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
afsmtp: timezone option error corrected

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
afsmtp: refactorized insert function to make the error handling readable

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
afsmtp: stat counter[stored] fix

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>