diff options
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -64,7 +64,7 @@ extern char * yytext; %token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL %token AUTHENTICATE TIMEOUT KPOP KERBEROS4 KERBEROS5 KERBEROS %token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA SMTPADDRESS -%token PRECONNECT POSTCONNECT LIMIT +%token SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT %token IS HERE THERE TO MAP WILDCARD %token BATCHLIMIT FETCHLIMIT EXPUNGE %token SET LOGFILE DAEMON SYSLOG INVISIBLE NETSEC INTERFACE MONITOR @@ -270,6 +270,7 @@ user_option : TO localnames HERE | FOLDER folder_list | SMTPHOST smtp_list | SMTPADDRESS STRING {current.smtpaddress = xstrdup($2);} + | SPAMRESPONSE NUMBER {current.antispam = $2;} | MDA STRING {current.mda = xstrdup($2);} | PRECONNECT STRING {current.preconnect = xstrdup($2);} | POSTCONNECT STRING {current.postconnect = xstrdup($2);} @@ -486,7 +487,8 @@ static void record_current(void) if (cmd_opts.smtphunt) current.smtphunt = cmd_opts.smtphunt; FLAG_FORCE(mda); - FLAG_FORCE(smtpaddress); + FLAG_FORCE(smtpaddress); + FLAG_FORCE(antispam); FLAG_FORCE(preconnect); FLAG_FORCE(postconnect); @@ -547,6 +549,7 @@ void optmerge(struct query *h2, struct query *h1) FLAG_MERGE(password); FLAG_MERGE(mda); FLAG_MERGE(smtpaddress); + FLAG_MERGE(antispam); FLAG_MERGE(preconnect); FLAG_MERGE(keep); |