# config.mk is generated by ./configure
include config.mk
-all: citserver setup ctdlmigrate sendcommand
+all: citserver setup ctdlmigrate sendcommand citmail
citserver: server/*.c server/modules/*/*.c config.mk server/*.h
cc ${CFLAGS} \
sendcommand: utils/sendcommand.c server/citadel_dirs.c utils/*.h server/*.h
cc ${CFLAGS} utils/sendcommand.c -lcitadel -o sendcommand
+citmail: utils/citmail.c server/citadel_dirs.c utils/*.h server/*.h
+ cc ${CFLAGS} utils/citmail.c -lcitadel -o citmail
+
config.mk: configure
./configure
-// This program attempts to act like a local MDA if you're using sendmail or
+// This program attempts to act like a local MDA if you're using postfix or
// some other non-Citadel MTA. It basically just contacts the Citadel LMTP
// listener on a unix domain socket and transmits the message. Really though,
// if your MTA supports LMTP then you definitely should be using that instead.
// is subject to the terms of the GNU General Public License, version 3.
// The program is distributed without any warranty, expressed or implied.
-#include "sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <stdarg.h>
#include <limits.h>
#include <libcitadel.h>
-#include "citadel.h"
-#include "citadel_dirs.h"
+#include "../server/sysdep.h"
+#include "../server/citadel.h"
+#include "../server/citadel_dirs.h"
int serv_sock;
int debug = 0;