diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-02-15 19:22:50 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2005-02-15 19:22:50 +0000 |
commit | 583741ac138fa6983ae8b201b3c51bad9ef2ef05 (patch) | |
tree | 3e6ff5477193935b3e0508c55afe3c27bda3529e /parser.y | |
parent | 7bbad4f8de74ef60f19137230c38100787fd982b (diff) |
Allow to set helo-name. Allow to send out local mail as remote mail by adding a
qualifying domain name. Allow forcing envelope-from and Sender headers. Drop
possible admin-added sgid priveleges to be dropped after reading the config.
(Bernhard Link)
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -64,7 +64,7 @@ void yyerror (const char *s); char *sval; } -%token IDENTITY DEFAULT HOSTNAME USERNAME PASSWORD STARTTLS CERTIFICATE_PASSPHRASE PRECONNECT POSTCONNECT MDA +%token IDENTITY DEFAULT HOSTNAME USERNAME PASSWORD STARTTLS CERTIFICATE_PASSPHRASE PRECONNECT POSTCONNECT MDA QUALIFYDOMAIN HELO FORCE SENDER REVERSE_PATH %token MAP @@ -112,6 +112,10 @@ statement : HOSTNAME map STRING { identity->host = xstrdup($3); SET_DEFAULT_IDEN | CERTIFICATE_PASSPHRASE map STRING { identity->certificate_passphrase = xstrdup($3); SET_DEFAULT_IDENTITY; } | PRECONNECT map STRING { identity->preconnect = xstrdup($3); SET_DEFAULT_IDENTITY; } | POSTCONNECT map STRING { identity->postconnect = xstrdup($3); SET_DEFAULT_IDENTITY; } + | QUALIFYDOMAIN map STRING { identity->qualifydomain = xstrdup($3); SET_DEFAULT_IDENTITY; } + | HELO map STRING { identity->helo = xstrdup($3); SET_DEFAULT_IDENTITY; } + | FORCE REVERSE_PATH map STRING { identity->force_reverse_path = xstrdup($4); SET_DEFAULT_IDENTITY; } + | FORCE SENDER map STRING { identity->force_sender = xstrdup($4); SET_DEFAULT_IDENTITY; } | MDA map STRING { mda = xstrdup($3); } | DEFAULT { default_identity = identity; } ; |