]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/smtp/smtp_util.h
Integrated the DKIM signer into serv_smtpclient, but disabled it
[citadel.git] / citadel / server / modules / smtp / smtp_util.h
index d02a53fadcbbb91fe8e6f5ca99d6635fea22bca1..1a4e17162076fbade021b5567b0be6f4836db72d 100644 (file)
@@ -1,17 +1,7 @@
-/*
- * Copyright (c) 1998-2017 by the citadel.org team
- *
- * This program is open source software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
+// Copyright (c) 1998-2024 by the citadel.org team
+// This program is open source software.  Use, duplication, or disclosure is subject to the GNU General Public License v3.
 
-struct citsmtp {               /* Information about the current session */
+struct citsmtp {               // Information about the current session
        int command_state;
        StrBuf *Cmd;
        StrBuf *helo_node;
@@ -39,3 +29,4 @@ enum {
 
 void smtp_do_bounce(const char *instr, int is_final);
 char *smtpstatus(int code);
+void dkim_sign(StrBuf *email, char *pkey_in, char *domain, char *selector);