aboutsummaryrefslogtreecommitdiff
path: root/src/usr.opt
AgeCommit message (Collapse)AuthorFiles
2024-01-05Update copyright yearsSergey Poznyakoff1
2020-06-06Version 4.2.90Sergey Poznyakoff1
2014-05-18Support for MySQL options file.Sergey Poznyakoff1
* NEWS: Document the use of MySQL options file. * doc/anubis.texi: Document all anubisusr options. Describe the use of MySQL options file. * src/mysql.c (mysql_db_open): Use MySQL options file. Two new URL parameters: options-file and options-group. * src/usr.opt: New option --tls-priorities.
2014-05-18More fixes.Sergey Poznyakoff1
* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Enable everything. * src/anubisusr.c [USE_GNUTLS] (tls_cafile): Remove. [USE_GNUTLS] (secure): New global. (starttls): Update start_ssl_client invocation. * src/usr.opt (tls-cafile option): Set secure.cafile. * src/authmode.c (asmtp_ehlo): Update call to start_ssl_server. * src/getopt.m4 (version_etc_copyright): Update copyright years. * src/gpg.c (gpg_proc): Remove useless preprocessor checks. * src/headers.h: Likewise. * src/rc-gram.y (yyerror): Argument is const char *. * testsuite/mta.c: Remove the use of deprecated gnutls types and functions.
2014-05-16Update copyright years.Sergey Poznyakoff1
2008-12-18Use new SASL callback interface.Sergey Poznyakoff1
* src/anubisusr.c: Use new SASL callback interface. * src/esmtp.c: Likewise. * src/gsasl_srv.c: Likewise. * src/authmode.c: New keywords sasl-service, sasl-hostname, sasl-realm * src/extern.h (anubis_sasl_service,anubis_sasl_realm) (anubis_sasl_hostname): New globals. * usr.opt, adm.opt: Bugfix.
2008-12-11Fix option handling, memory leaks and fixed buffer size bugs.Sergey Poznyakoff1
* src/Makefile.am (anubisadm_SOURCES): Add new files. (anubisusr_SOURCES): Add new files. * src/anubisadm.h: New file. * src/adm.opt: New file. * src/anubisusr.h: New file. * src/usr.opt: New file. * src/anubisadm.c: Remove command line option parsing. See adm.opt. * src/anubisusr.c: Remove command line option parsing. See usr.opt. (smtp_get_reply): Use stream_getline, this fixes buffer size problems. * src/env.opt: Fix argument quoting. * src/errs.c (hostname_error): Argument is const. * src/gdbm.c, src/gpg.c, src/guile.c, src/proclist.c, src/transmode.c: Minor change. * src/getopt.m4: Import from Dico. * src/headers.h (stream_getline): New prototype. (hostname_error): Argument is const. * src/main.c (copyright): Remove. (xalloc_die): Call abort to pacify gcc. * src/net.c (recvline): Rewrite using stream_getline. This also fixes memory leak. * src/stream.c (stream_readline): Do not insert \r before \n. This is impossible to do correctly without a proper buffering scheme. (stream_getline): New function. * src/tunnel.c: Remove CRLF after a call to recvline. (transfer_command): Compensate for this.

Return to:

Send suggestions and report system problems to the System administrator.