#include "uid_db.h"
+#ifdef HAVE_LIBPWMD
+#include <libpwmd.h>
+#endif
+
/* constants designating the various supported protocols */
#define P_AUTO 1
#define P_POP3 3
char *pidfile; /** where to record the PID of daemon mode processes */
const char *postmaster;
char *properties;
+#ifdef HAVE_LIBPWMD
+ int pinentry_timeout;
+#endif
int poll_interval; /** poll interval in seconds (daemon mode, 0 == off) */
flag bouncemail;
flag spambounce;
struct idlist *akalist; /* server name first, then akas */
struct idlist *localdomains; /* list of pass-through domains */
int protocol; /* protocol type */
- const char *service; /* service name */
+ char *service; /* service name */
int interval; /* # cycles to skip between polls */
int authenticate; /* authentication mode to try */
int timeout; /* inactivity timout in seconds */
char *password; /* remote password to use */
struct idlist *mailboxes; /* list of mailboxes to check */
+#ifdef HAVE_LIBPWMD
+ char *pwmd_socket; /* socket to connect to */
+ char *pwmd_file; /* file to open on the server */
+#endif
+
/* per-forwarding-target data */
struct idlist *smtphunt; /* list of SMTP hosts to try forwarding to */
struct idlist *domainlist; /* domainlist to fetch from */