indimail / indimail-mta

qmail fork with IPV6, TLS, DANE, DKIM, SRS2, SPF, daemontools, qmailanalog, mess822, & ucspi-tcp
https://github.com/indimail/indimail-mta/wiki/0-IndiMail-Wiki
GNU General Public License v3.0
12 stars 2 forks source link

use varargs for log, output and other functions #39

Closed mbhangui closed 1 year ago

mbhangui commented 1 year ago
  1. delivery_rate.c: use slog() with varargs for logging errors
  2. dossl.c, dossl.h: prototype change for quit function with varargs
  3. Makeflie: added varargs.h dependency for files using varargs
  4. qmail-smtpd.c, qmail-greyd.c: logerr(), out() changed to have varargs
  5. qmail-remote.c, starttls.c: quit() function changed to have varargs
  6. qmail-remote.c: handle auth smtp error codes using decode_smtpauth_err() as per RFC4954
  7. qmail-remote.c: Use env variable SMPTS to immediately start in encrypted mode
  8. qmail-send.c, qmta-send.c, slowq-send.c: use slog() function with varargs to log error messages
  9. slowq-send.c: use todo_log() function with varargs to communicate with todo process 10.qsutil.c: use slog() function with varargs to replace all log functions 11.todo-proc.c: use todo_log() function with varargs to log messages to qmail-send