Skip to content
Snippets Groups Projects
Commit 5ce9e938 authored by rswindell's avatar rswindell
Browse files

Document the new_message_text_filename (%n) and log_text_filename (%d) stuff

added back in 2009 (mailsrvr.c, r1.459).
parent be823026
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,12 @@
; followed by a list of optional "key = value" pairs.
; If no "Eval" or "Command" key value is specified, the mail processor name
; will be used as teh command-line to execute.
; will be used as the command-line to execute.
; Non-JavaScript mail processors (i.e. native executables), must have the
; "native" key set to "true" (e.g. "native = true").
; For a mail processor to only process mail received for a specific name,
; For a mail processor to only process mail received for specific name(s),
; it must have a "To" key with a comma-separated list of destination names.
; Example: "To = listserver, listserv" would cause a mail processor to only
; process mail received for either "listserver" or "listserv".
......@@ -33,11 +33,15 @@
; Each of the strings in these lists may use the Synchronet .can-style wildcards.
; The filenames referenced below may all be modified or created by the mail processor.
; Additional (read-only) variables available to JavaScript mail processors:
;
; message_text_filename // filename contains complete message header and body
; new_message_text_filename // completely new message header and body (optional)
; recipient_list_filename // list of all SMTP recipients for this message (.ini format)
; processing_error_filename // a filename that if created will reject this message with an SMTP error
; log_text_filename // an optional filename that if created will include debug log output
; hello_name // the "HELO" name specified by the sender during the SMTP session
; sender_name // the name of the sender, possibly the same as the sender_address
; sender_address // sender's email address (e.g. "user@domain.com")
......@@ -57,8 +61,10 @@
; (native or JavaScript mail processor):
;
; %m mail message (header and body text) path/filename
; %n new message (header and body text) path/filename, in case you can't modify the original
; %l recipient list path/filename
; %e processing error path/filename (put error text in this file)
; %d processing debug log output path/filename
;
; %h sender's host name
; %i sender's IP address
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment