aboutsummaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)AuthorFiles
2020-06-11Rewrite testsuite in autotestSergey Poznyakoff75
* Makefile.am (SUBDIRS): Replace testsuite with tests. * configure.ac: Initialize autotest-based testsuite. * src/env.opt: New option -S * src/headers.h (T_PASSFD): New flag. * src/main.c (main): New mode (-S) for interaction with the testsuite. * tests/Makefile.am: New file. * tests/anustart.c: New tool. * tests/mta.c: Move from testsuite. * testsuite/data: Move to tests/data (with edits). * tests/atlocal.in: New file. * tests/testsuite.at: New file. * tests/anubisusr.at: New file. * tests/badd.at: New file. * tests/bmod.at: New file. * tests/cond.at: New file. * tests/empty.at: New file. * tests/fadd.at: New file. * tests/gpgcrypt.at: New file. * tests/gpgse.at: New file. * tests/gpgsign.at: New file. * tests/hadd00.at: New file. * tests/hadd01.at: New file. * tests/hadd02.at: New file. * tests/hdel00.at: New file. * tests/hdel01.at: New file. * tests/hdel02.at: New file. * tests/hdel03.at: New file. * tests/hmod.at: New file. * tests/mime00.at: New file. * tests/mime01.at: New file. * tests/mult.at: New file. * tests/no-backref.at: New file. * tests/paolo.at: New file. * tests/parse.at: New file. * tests/remailer.at: New file. * tests/rot-13.at: New file. * tests/tlsoneway.at: New file. * tests/trigger.at: New file. * testsuite/: Delete.
2020-06-06Version 4.2.90Sergey Poznyakoff62
2020-06-06Fix typecasts in mta.cSergey Poznyakoff1
2020-06-06Testsuite fixSergey Poznyakoff2
* testsuite/etc/Makefile.am: Build user.rc * testsuite/etc/user.in: New file.
2020-06-06Fix the GPG test.Sergey Poznyakoff4
Newer GPGME can't list keys by abbreviated ID. * src/gpg.c (create_key_array): Improve diagnostics. * testsuite/mta.c: Likewise. * testsuite/etc/gpgcrypt.pat: Use anubis-dev as key ID * testsuite/etc/gpgse.pat: Likewise. * testsuite/etc/gpgsign.pat: Likewise.
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 Poznyakoff61
2014-05-16Update for the recent automake versionSergey Poznyakoff1
* gint: Upgrade. * lib/.gitignore: Add new files. * src/Makefile.am: Use AM_CPPFLAGS instead of the obsolete INCLUDES. * testsuite/Makefile.am: Likewise.
2011-01-13Delayed ESMTP authentication: initial implementation.Sergey Poznyakoff1
Anubis can be instructed to postpone ESMTP authentication until MAIL command is issued by the client. This allows for changing authentication credentials in the SMTP section, depending on the envelope information supplied by the client. * src/headers.h (T_ESMTP_AUTH_DELAYED): New flag. (rcfile_call_section): Change signature. * src/mda.c: Update calls to rcfile_call_section. * src/rc-gram.y (rc_run_section): Take additional argument specifying the class of the section to run. (rc_call_section): Remove. All callers changed to use rc_call_section instead. (rc_run_section_list): Remove unused function. * src/rcfile.c (parse_esmtp_kv): New static. (control_parser): Call parse_esmtp_kv as a part of the default handling. (control_kw): New keyword esmtp-auth-delayed. (smtp_rule_parser,smtp_rule_section_init): New functions. (rc_system_init): Call smtp_rule_section_init. (rcfile_call_section): Take additional argument specifying the class of the section to run. * src/rcfile.h (rc_run_section): Change signature. (rc_call_section): Remove. * src/smtprepl.c (smtp_reply_free): Do nothing if argument is NULL. * src/tunnel.c (ehlo_reply): New static. (handle_ehlo): Save reply in ehlo_reply. Don't attempt authentication if T_ESMTP_AUTH_DELAYED is set... (transfer_command): ... do it here instead. * configure.ac: Version 4.1.92 * NEWS: Update. * doc/anubis.texi: Document esmtp-auth-delayed and the use of esmtp-* statements in SMTP sections.
2010-08-03Fix detection of GNU TLS and the corresponding code.Sergey Poznyakoff3
* am/libgnutls.m4: Remove. * am/gnutls.m4: New file. * configure.ac: Set version number 4.1.91. Remove gnutls checking, use ANUBIS_CHECK_TLS instead. (TLS_COND): New condition. * src/Makefile.am [TLS_COND] (TLS_C): New variable. (libanubisdb_a_SOURCES): Use TLS_C. (INCLUDES): Replace LIBGNUTLS_CFLAGS with LIBGNUTLS_INCLUDES. * testsuite/Makefile.am (INCLUDES): Replace LIBGNUTLS_CFLAGS with LIBGNUTLS_INCLUDES. * testsuite/etc/Makefile.am: Add missing AM_V_GENs. * src/anubisusr.c: Uniformly use USE_GNUTLS to protect tls-specific parts of code. * src/anubisusr.h: Likewise. * src/headers.h: Likewise. * src/help.c: Likewise. * src/main.c: Likewise. * src/quit.c: Likewise. * src/rcfile.c: Likewise. * testsuite/mta.c: Likewise. * src/tls.c: Likewise. (print_x509_certificate_info): Use gnutls_fingerprint instead of the deprecated gnutls_x509_fingerprint. * src/smtprepl.c (smtp_reply_read): Fix coredump. * NEWS: Update.
2009-11-11Pacify gccSergey Poznyakoff1
* bootstrap.conf (NLS_MARKERS): Add parse_error and tracefile. * src/log.c (tracefile): Take into account T_LOCATION_COLUMN bit. * src/logport.c: Shut gcc warning. * src/misc.c (get_port_number): Port is unsigned. Improve error checking. * src/rc-lex.l: Initialize column to 1. * src/rcfile.h (parse_error,tracefile): Mark as printflike. * src/tls.c, src/xdatabase.c, testsuite/mta.c: Shut up gcc warnings.
2008-12-16Switched to Git repository.Wojciech Polak3
* m4: Rename to am. * README-alpha, README-hacking: Reflect the switch. * */.cvsignore: Rename to .gitignore, update. * ChangeLog: Rename to ChangeLog-CVS-old.
2008-10-13Fix leftover RCPT TOSergey Poznyakoff1
2008-10-13Fix MAIL FROM and RCPT TO commands on the fly.Sergey Poznyakoff26
* src/tunnel.c (transfer_command): Ensure outgoing mail from and rcpt to commands don't have whitespace after the colon. * NEWS, configure.ac: version 4.1.1 * doc/anubis.texi: Minor fix. * guile/entire-msg.scm: Use (ice-9 rdelim) * testsuite/mta.c (check_address_command): New function (ported from mailfromd). (smtp): Improve RFC compliance. * testsuite/etc/add-body-file.pat: Fix to reflect changes to transfer_command. * testsuite/etc/add-body.pat: Likewise. * testsuite/etc/add1.pat: Likewise. * testsuite/etc/add2.pat: Likewise. * testsuite/etc/add3.pat: Likewise. * testsuite/etc/cond.pat: Likewise. * testsuite/etc/del1.pat: Likewise. * testsuite/etc/del2.pat: Likewise. * testsuite/etc/del3.pat: Likewise. * testsuite/etc/del4.pat: Likewise. * testsuite/etc/empty.pat: Likewise. * testsuite/etc/gpgcrypt.pat: Likewise. * testsuite/etc/gpgse.pat: Likewise. * testsuite/etc/gpgsign.pat: Likewise. * testsuite/etc/mime1.pat: Likewise. * testsuite/etc/mime2.pat: Likewise. * testsuite/etc/mod-body.pat: Likewise. * testsuite/etc/mod-header.pat: Likewise. * testsuite/etc/mult.pat: Likewise. * testsuite/etc/no-backref.pat: Likewise. * testsuite/etc/paolo.pat: Likewise. * testsuite/etc/remail.pat: Likewise. * testsuite/etc/rot-13.pat: Likewise. * testsuite/etc/tlsoneway.pat: Likewise. * testsuite/etc/trigger.pat: Likewise.
2007-10-31Remove obsolete usage of regex flags before the equals sign.Sergey Poznyakoff2
2007-10-31Do not display "be patient"Sergey Poznyakoff1
warning. Things have become faster nowadays.
2007-08-06Relicense under GPLv3+Sergey Poznyakoff14
2007-08-06Include string.hSergey Poznyakoff1
2007-07-29OpenSSL support has been droppedWojciech Polak4
2005-06-06(sasl-allowed-mech): Only CRAM-MD5 for testing purposes.Sergey Poznyakoff1
2005-05-15Updated the FSF's postal address.Wojciech Polak57
2005-01-02UpdatedSergey Poznyakoff1
2005-01-02New testSergey Poznyakoff3
2004-12-17 (run_in_authmode): Fix message textSergey Poznyakoff1
2004-12-17Use WITH_GNUTLS instead of WITH_SSLSergey Poznyakoff2
2004-12-17Minor fixSergey Poznyakoff1
2004-12-16(sanubis_pat): Fix TLS/GSASL usageSergey Poznyakoff1
2004-12-16Conditionally include -c and -k.Sergey Poznyakoff1
2004-12-16Change $(RCFILES) std.pat:Sergey Poznyakoff1
2004-12-16minor indentation fixSergey Poznyakoff1
2004-12-03(anubis_init): Do not pass -s option to anubisSergey Poznyakoff1
2004-12-03dependency $(RCFILES) std.pat: Makefile.amSergey Poznyakoff1
2004-10-29Add "no-backref" testSergey Poznyakoff2
2004-10-29Test for 'Paolo syndrome'Sergey Poznyakoff3
2004-09-22Use logfile directiveSergey Poznyakoff2
2004-09-17(anubis_pat): Updated to support the recent changes (2004-09-13)Sergey Poznyakoff1
2004-08-14UpdatedSergey Poznyakoff1
2004-08-14(update_config): Return -1 ifSergey Poznyakoff1
res is an empty list. Set anubisusr verbose mode only if $verbose > 2 (run_in_authmode): Declare unsupported test if anubis is configured without GSASL (default_anubis_stop,anubis_exit): New procedures (anubis_test_file): Call remote_close (anubis_pat): Call default_anubis_stop
2004-08-14New fileSergey Poznyakoff1
2004-08-13UpdatedSergey Poznyakoff3
2004-08-13Added support for authmode testing.Sergey Poznyakoff1
2004-08-13Added new filesSergey Poznyakoff5
2004-08-13New fileSergey Poznyakoff8
2004-08-13Moved std.pat to abase.expSergey Poznyakoff1
2004-08-13New file. It should be called before base.exp, hence its name.Sergey Poznyakoff1
2004-08-13Added to the repositorySergey Poznyakoff1
2004-07-11Indent with GNU style.Wojciech Polak1
2004-05-21Changed LIST to ANUBIS_LIST to resolve name clash with the recent MySQL ↵Sergey Poznyakoff1
distributions
2004-05-20Added cond.patWojciech Polak1
2004-05-20Added cond test.Wojciech Polak1

Return to:

Send suggestions and report system problems to the System administrator.