1 // Copyright (c) 1998-2024 by the citadel.org team
2 // This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License v3.
4 struct citsmtp { // Information about the current session
11 int number_of_recipients;
13 int message_originated_locally;
17 StrBuf *preferred_sender_email;
18 StrBuf *preferred_sender_name;
21 #define SMTP ((struct citsmtp *)CC->session_specific_data)
23 // These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
30 void smtp_do_bounce(const char *instr, int is_final);
31 char *smtpstatus(int code);
32 void dkim_sign(StrBuf *email, char *pkey_in, char *domain, char *selector);
34 void dkim_check_advisory(char *inetcfg_in);
35 EVP_PKEY *dkim_import_key(char *pkey_in);
36 char *dkim_get_public_key(EVP_PKEY *pkey);