afsmtp: set value for success to avoid uninitialized value using for success

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
afsmtp: Drop MARK messeges

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
afsmtp: support retries() option

Signed-off-by: Juhász Viktor <jviktor@balabit.hu>
Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
afsmtp: add the smtp to stats

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
afsmtp: add template options

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>
Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
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>
Signed-off-by: Laszlo Budai <stentor.bgyk@gmail.com>
afsmtp: stat counter[stored] fix

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
afsmtp: afsmtp_dd_log_rcpt_status() fixed

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
affile, afsocket: Properly call the LogSrcDriver queue method

Since both the affile and afsocket sources are descendants of
LogSrcDriver, they both should call log_src_driver_queue_method(), so
that it can set the SOURCE macro appropriately, and do its other tasks.

The socket source was explicitly setting the queue method to NULL, for a
fallback to log_pipe_forward_msg(), while the file source was setting
its own properties, and failed to call the parents queue method.

The other sources were unaffected. This closes #186.

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
logwriter: throttle bug fixed

in log_writer_perform() we should use LW_FLUSH_NORMAL, otherwise
throttle won't work

flush_waiting_for_timeout renamed to waiting_for_throttle
- log_queue_check_items() set timeout_msec if throttle is used

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
Merge pull request #188 from lbudai/f/merge-proto-fix

logwriter: throttle bug fixed
Merge pull request #187 from algernon/f/3.6/source-queue-method-inheritance

affile, afsocket: Properly call the LogSrcDriver queue method
Merge pull request #177 from lbudai/f/afsmtp-pe

F/afsmtp pe
afsmtp: Minor formatting changes

This updates some copyright years, fixes formatting mistakes, and adds
driver ids to a couple of error messages.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>