Tips for the Majordomo list administrator
The email list's settings file must include approve_passwd. This is activated as follows:
- Go to http://majordomo.helsinki.fi
- Sign in with your own user name and password
- Enter the name of the list in section List Name (without quotation marks and the @helsinki.fi part of the name)
- Enter the administration password in section Admin Password
- In section Modify What?, select Configuration Options
- In the drop-down menu on the top of the page, select All keywords
- Find approve passwd and enter a suitable password, although not a very important one
- Finally, click Apply
- The answer will arrive to the address marked in the adjacent field.
Read more instructions from Detailed help tab.
Messages sent to a list may be sent to the administrator for approval when, for instance:
- the message matches the list's own filters or Majordomo's general filters;
- the message has been sent by someone outside the list and mail is only allowed for subscribers;
- the list is moderated, in which case all messages pass through the administrator;
- the message is too long (the default is set at 40,000 characters);
- the message's header is exceptionally long (most often a lengthy list of recipients).
The BOUNCE message's header will indicate why the message was bounced, as in the following examples.
BOUNCE email@example.com: Non-member submission from [firstname.lastname@example.org]
BOUNCE email@example.com: taboo body match "/\.pif/" at line 7
BOUNCE firstname.lastname@example.org: global taboo header: /^subject:\s*FREE/i
BOUNCE email@example.com: taboo header: m%content-type:.*text/html%i
BOUNCE firstname.lastname@example.org: Message too long (>40000 chars)
BOUNCE email@example.com: Approval required
BOUNCE firstname.lastname@example.org: Header field too long (>1024)
The BOUNCE message usually arrives in the address email@example.com. The message is approved by adding the following line to the top (as the first line) of the headers:
and forwarding the message to the list's address.
When the message includes the Approved header and the correct password, it will get through the filters to the list.
There are two ways to achieve this effect:
- Manual approval in the email client
- Using the approve command in Unix email clients
The header of the original message intended for the list will be visible at the beginning of the BOUNCE message's body text. The aforementioned Approve line must be added immediately before the original headers, without an empty line.
The procedure is identical regardless of the reason for the BOUNCE message.
Correspondingly, by adding the Approve line at the beginning of his or her message, the administrator of a moderated list can send mail directly to the list, without separate approval. In this situation, there must be an empty line between the Approve line and the text.
The field in which the message to be sent is edited is fairly narrow, due to which the ends of any long lines may be moved to the next line. This is particularly true in the case of long headers.
Long lines should be removed or edited into a briefer form. Since texts that have been moved to the following line are somewhat difficult to distinguish from regular lines of text, it is worthwhile remaining alert.
This problem usually pertains to long Received headlines with multiple lines (messages' transmission data) and the Subject field. The Received lines should be removed altogether, rather than editing them. The Majordomo program interprets incorrect header lines erroneously, letting a mess of text that no one wants to read to pass through to the list.
It is also worth noting that Webmail adds the text End of forwarded message at the end of the message and possibly your own signature as well. Remember to remove these as well.
Approval by means of the approve command
Using the approve command for the approval of BOUNCE messages requires a license for the IT Center's Unix systems. In addition, the list's administrator should use the Pine or Elm clients for reading mail.
Begin by creating a .majordomo file in your home directory (note the dot preceding the word). Add a text line to the file.
list-name password firstname.lastname@example.org
If an administrator is in charge of more than one list, he or she may maintain separate lines for different lists.
Find the message you need to process from the email client's messages list and press the | character (vertical bar, AltGr + > on your keyboard), type in approve and press Enter. Majordomo's approve command takes care of the message's cleanup and approval.
If you have trouble approving messages, check for the following:
- The list's settings include approve_passwd. If this is missing, the entire Approved: heading, including its password and other header data, are transmitted to everyone subscribing to the list.
- The password is spelled correctly. Both the list's password and the approve_passwd password are suitable for the purpose, but use the latter so as to avoid risks.
- The email client you use (particularly Webmail) is not cutting lines that are too long.
- You sent the approved message to the list's address at email@example.com, and not to Majordomo at firstname.lastname@example.org.
- The Approved: password is the first line in your message.
- The word Approved begins with a capital letter, while the following letters are small. The word should also begin precisely at the beginning of the line and there should be a space after the colon.
- There are no empty lines above or below the Approved line.
The instructions site of the University of Helsinki's IT Helpdesk helps you with IT-related issues related to your work. Let us know how we can improve our instructions. We greatly appreciate your feedback!How would you improve these instructions?