int poll_interval;
flag use_syslog;
flag invisible;
+ char *postmaster;
};
struct idlist
flag skip; /* suppress poll in implicit mode? */
flag dns; /* do DNS lookup on multidrop? */
flag uidl; /* use RFC1725 UIDLs? */
+#ifdef SDPS_ENABLE
+ flag sdps; /* use Demon Internet SDPS *ENV */
+#endif /* SDPS_ENABLE */
+ flag checkalias; /* resolve aliases by comparing IPs? */
+
#ifdef linux
char *interface;
struct idlist *smtphunt; /* list of SMTP hosts to try forwarding to */
char *smtphost; /* actual SMTP host to point to */
char *smtpaddress; /* address we want to force in the delivery messages */
- int antispam; /* listener's antispam response */
+ struct idlist *antispam; /* list of listener's antispam response */
char *mda; /* local MDA to pass mail to */
char *preconnect; /* pre-connection command to execute */
char *postconnect; /* post-connection command to execute */
extern flag versioninfo; /* emit only version info */
extern char *user; /* name of invoking user */
extern char *home; /* home directory of invoking user */
-extern char *fetchmailhost; /* the name of the host running fetchmail */
extern int pass; /* number of re-polling pass */
extern flag configdump; /* dump control blocks as Python dictionary */
/* miscellanea */
struct query *hostalloc(struct query *);
int parsecmdline (int, char **, struct runctl *, struct query *);
-void optmerge(struct query *, struct query *);
char *MD5Digest (unsigned char *);
int POP3_auth_rpa(unsigned char *, unsigned char *, int socket);
int daemonize(const char *, void (*)(int));
char *visbuf(const char *);
char *showproto(int);
void dump_config(struct runctl *runp, struct query *querylist);
+int is_host_alias(const char *, struct query *);
+#ifdef SDPS_ENABLE
+char *sdps_envto;
+#endif /* SDPS_ENABLE */
void yyerror(const char *);
int yylex(void);
#endif
#define STRING_DISABLED (char *)-1
+#define STRING_DUMMY ""
/* fetchmail.h ends here */