An autoresponder (vacation reply) sends an automatic answer to people who write to an email address. /go/responder manages these on the server. It: The subject, message, active setting, and dates are not given on the command line. They are read from GoAdmio's autoresponder list (/var/lib/sqlite/responder.db). The autoresponse mail filter must be installed (see autoresponders). Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Create (or refresh) the autoresponder for info@example.com
/go/responder info@example.com add
Options
This command has no options. It takes the address and the action.
| Argument | Required | Notes |
|---|---|---|
<email> |
For add and delete |
The full email address, such as info@example.com. |
<action> |
For add and delete |
add or delete. The words are case-sensitive. |
Settings read from GoAdmio
For add and for the date check, the command reads these values for the address from the Responder table in /var/lib/sqlite/responder.db:
| Setting | Use |
|---|---|
Subject |
The subject line of the reply. |
Message |
The text of the reply. |
Active |
1 (or unset) switches the autoresponder on, 0 switches it off. |
StartDate |
The first day on which the autoresponder replies. |
EndDate |
The day on which it stops. The end date itself is not covered (see The date check). |
If there is no record for the address, the reply file is created with an empty subject and message.
Examples
# Create or refresh an autoresponder from its saved settings
/go/responder info@example.com add
# Delete an autoresponder that is switched on (disable it first)
autoresponse -d info@example.com
/go/responder info@example.com delete
# Run only the date check and the map rebuild
/go/responder
# See the reply files. A name ending in _DISABLED is switched off.
ls /var/spool/autoresponse/responses
Output
| Message | Meaning |
|---|---|
The autoresponder <email> was successfully created. |
The add steps ran. It is printed whether or not they worked. |
The autoresponder <email> was deleted. |
The delete steps ran. It is printed whether or not they worked, and see the note below. |
The autoresponse tool may print lines when the date check switches an autoresponder on or off. Every run is also recorded in /var/log/go/responder.log.
[!NOTE]
Deleting an autoresponder that is switched on does not remove its reply file, because of a typing error in the script. See Troubleshooting.
See the full reference at /go/responder and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
