diff options
Diffstat (limited to 'src/authmode.c')
-rw-r--r-- | src/authmode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/authmode.c b/src/authmode.c index f81a0fe..3e06d24 100644 --- a/src/authmode.c +++ b/src/authmode.c | |||
@@ -2,7 +2,7 @@ | |||
2 | authmode.c | 2 | authmode.c |
3 | 3 | ||
4 | This file is part of GNU Anubis. | 4 | This file is part of GNU Anubis. |
5 | Copyright (C) 2003-2014 The Anubis Team. | 5 | Copyright (C) 2003-2024 The Anubis Team. |
6 | 6 | ||
7 | GNU Anubis is free software; you can redistribute it and/or modify it | 7 | GNU Anubis is free software; you can redistribute it and/or modify it |
8 | under the terms of the GNU General Public License as published by the | 8 | under the terms of the GNU General Public License as published by the |
@@ -437,7 +437,6 @@ anubis_smtp (ANUBIS_USER * usr) | |||
437 | topt |= T_SSL_ONEWAY; | 437 | topt |= T_SSL_ONEWAY; |
438 | } | 438 | } |
439 | } | 439 | } |
440 | xdatabase_enable (); | ||
441 | 440 | ||
442 | return 0; | 441 | return 0; |
443 | } | 442 | } |
@@ -450,7 +449,9 @@ xdb_loop (void) | |||
450 | 449 | ||
451 | info (VERBOSE, _("Entering XDB loop...")); | 450 | info (VERBOSE, _("Entering XDB loop...")); |
452 | 451 | ||
452 | #ifdef USE_GNUTLS | ||
453 | asmtp_capa_add ("XDATABASE"); | 453 | asmtp_capa_add ("XDATABASE"); |
454 | #endif | ||
454 | while (recvline (SERVER, remote_client, &command, &s) > 0) | 455 | while (recvline (SERVER, remote_client, &command, &s) > 0) |
455 | { | 456 | { |
456 | switch (asmtp_kw (get_command_word (command))) { | 457 | switch (asmtp_kw (get_command_word (command))) { |