3.3.4.1 Purpose
The autoresponder.sh utility is designed for manipulating of mailname's autoresponders.
3.3.4.2 Usage
Usage: autoresponder.sh command <mail_name> [options]
Available commands and options:
| Command | Parameter | Action |
|---|---|---|
| --create or -c | <name> | create autoresponder |
| --update or -u | <name> | updates autoresponder parameters |
| --remove or -r | <name> | remove autoresponder parameters |
| --info or -i | <name> | retrieves autoresponder information |
| --attachments or -a | adds/removes files to/from attachments repository | |
| --on | <mail><domain> | switches all autoresponders on |
| --help or -h | displays help on the utility usage | |
| Option | Parameter | Note |
| <mail>@<domain> | he mail name this autoresponder is created for | |
| -status | <true|false> | switches on/off autoresponder with specified name (true) |
| -requires | <subj|body>:<string> or <always> | defines the condition for the autoresponder to be activated whether the specified pattern is encountered in the subject or body, or to respond always |
| -subject | <original|string> | the subject line to be set up into autoresponder ("Re: <incoming subject>") or a custom string |
| -replyto | <string> | return address that will be set up into the autoresponder's messages |
| -text | <string> | autoresponder message text |
| -attach | <add|del>:<file1[,file2]> | adds/removes autoresponder attachment files |
| -frq | <number> | defines the maximum number of responses to a unique e-mail address per day |
| -store | <number> | defines the number of unique addresses to be stored for autoresponder |
| -redirect | <addr> | defines the e-mail address to forward all incoming mail to |
| -files | <add|del>:<file1[,file2]> | adds/removes files to/from attachments repository |