diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-01-13 12:47:30 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-01-13 14:25:54 +0200 |
commit | f3a6014780f99091b197f32afeb7f0ec7ca361ce (patch) | |
tree | a5e454017db09efa8625b711c7a24d343c58a58c /configure.ac | |
parent | 7875612f049fa2fa39e3c7bbf2d82c2908052d77 (diff) | |
download | anubis-f3a6014780f99091b197f32afeb7f0ec7ca361ce.tar.gz anubis-f3a6014780f99091b197f32afeb7f0ec7ca361ce.tar.bz2 |
Delayed ESMTP authentication: initial implementation.
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 01340e2..8b24c99 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl configure.ac dnl dnl This file is part of GNU Anubis. dnl Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009, -dnl 2010 The Anubis Team. +dnl 2010,2011 The Anubis Team. dnl dnl GNU Anubis is free software; you can redistribute it and/or modify it dnl under the terms of the GNU General Public License as published by the @@ -20,7 +20,7 @@ dnl with GNU Anubis. If not, see <http://www.gnu.org/licenses/>. dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNU Anubis], [4.1.91], [bug-anubis@gnu.org]) +AC_INIT([GNU Anubis], [4.1.92], [bug-anubis@gnu.org]) AC_PREREQ([2.63]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([build]) |