diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-07 21:16:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-07 21:16:32 +0000 |
commit | b1b6ddf9079453caa64484f31887cb4273c045bc (patch) | |
tree | 1b373f96732a206faa0017de5dc82532f46a08cc /rcfile_y.y | |
parent | ad27c0a72aac927955335303e6cfab5f3ee58ad0 (diff) | |
download | fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.tar.gz fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.tar.bz2 fetchmail-b1b6ddf9079453caa64484f31887cb4273c045bc.zip |
Added LMTP support.
svn path=/trunk/; revision=2177
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 67 |
1 files changed, 34 insertions, 33 deletions
@@ -59,7 +59,7 @@ extern char * yytext; %token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL %token AUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS -%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP +%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP LMTP %token SMTPADDRESS SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT %token NETSEC INTERFACE MONITOR PLUGIN PLUGOUT %token IS HERE THERE TO MAP WILDCARD @@ -292,44 +292,45 @@ user_option : TO localnames HERE | IS localnames HERE | IS localnames - | IS STRING THERE {current.remotename = xstrdup($2);} - | PASSWORD STRING {current.password = xstrdup($2);} + | IS STRING THERE {current.remotename = xstrdup($2);} + | PASSWORD STRING {current.password = xstrdup($2);} | FOLDER folder_list | SMTPHOST smtp_list | SMTPADDRESS STRING {current.smtpaddress = xstrdup($2);} | SPAMRESPONSE num_list - | MDA STRING {current.mda = xstrdup($2);} - | BSMTP STRING {current.bsmtp = xstrdup($2);} - | PRECONNECT STRING {current.preconnect = xstrdup($2);} + | MDA STRING {current.mda = xstrdup($2);} + | BSMTP STRING {current.bsmtp = xstrdup($2);} + | LMTP {current.listener = LMTP_MODE;} + | PRECONNECT STRING {current.preconnect = xstrdup($2);} | POSTCONNECT STRING {current.postconnect = xstrdup($2);} - | KEEP {current.keep = FLAG_TRUE;} - | FLUSH {current.flush = FLAG_TRUE;} - | FETCHALL {current.fetchall = FLAG_TRUE;} - | REWRITE {current.rewrite = FLAG_TRUE;} - | FORCECR {current.forcecr = FLAG_TRUE;} - | STRIPCR {current.stripcr = FLAG_TRUE;} - | PASS8BITS {current.pass8bits = FLAG_TRUE;} - | DROPSTATUS {current.dropstatus = FLAG_TRUE;} - | MIMEDECODE {current.mimedecode = FLAG_TRUE;} - - | NO KEEP {current.keep = FLAG_FALSE;} - | NO FLUSH {current.flush = FLAG_FALSE;} - | NO FETCHALL {current.fetchall = FLAG_FALSE;} - | NO REWRITE {current.rewrite = FLAG_FALSE;} - | NO FORCECR {current.forcecr = FLAG_FALSE;} - | NO STRIPCR {current.stripcr = FLAG_FALSE;} - | NO PASS8BITS {current.pass8bits = FLAG_FALSE;} - | NO DROPSTATUS {current.dropstatus = FLAG_FALSE;} - | NO MIMEDECODE {current.mimedecode = FLAG_FALSE;} - - | LIMIT NUMBER {current.limit = NUM_VALUE($2);} - | WARNINGS NUMBER {current.warnings = NUM_VALUE($2);} - | FETCHLIMIT NUMBER {current.fetchlimit = NUM_VALUE($2);} - | BATCHLIMIT NUMBER {current.batchlimit = NUM_VALUE($2);} - | EXPUNGE NUMBER {current.expunge = NUM_VALUE($2);} - - | PROPERTIES STRING {current.properties = xstrdup($2);} + | KEEP {current.keep = FLAG_TRUE;} + | FLUSH {current.flush = FLAG_TRUE;} + | FETCHALL {current.fetchall = FLAG_TRUE;} + | REWRITE {current.rewrite = FLAG_TRUE;} + | FORCECR {current.forcecr = FLAG_TRUE;} + | STRIPCR {current.stripcr = FLAG_TRUE;} + | PASS8BITS {current.pass8bits = FLAG_TRUE;} + | DROPSTATUS {current.dropstatus = FLAG_TRUE;} + | MIMEDECODE {current.mimedecode = FLAG_TRUE;} + + | NO KEEP {current.keep = FLAG_FALSE;} + | NO FLUSH {current.flush = FLAG_FALSE;} + | NO FETCHALL {current.fetchall = FLAG_FALSE;} + | NO REWRITE {current.rewrite = FLAG_FALSE;} + | NO FORCECR {current.forcecr = FLAG_FALSE;} + | NO STRIPCR {current.stripcr = FLAG_FALSE;} + | NO PASS8BITS {current.pass8bits = FLAG_FALSE;} + | NO DROPSTATUS {current.dropstatus = FLAG_FALSE;} + | NO MIMEDECODE {current.mimedecode = FLAG_FALSE;} + + | LIMIT NUMBER {current.limit = NUM_VALUE($2);} + | WARNINGS NUMBER {current.warnings = NUM_VALUE($2);} + | FETCHLIMIT NUMBER {current.fetchlimit = NUM_VALUE($2);} + | BATCHLIMIT NUMBER {current.batchlimit = NUM_VALUE($2);} + | EXPUNGE NUMBER {current.expunge = NUM_VALUE($2);} + + | PROPERTIES STRING {current.properties = xstrdup($2);} ; %% |