A common question is how to set up a ``support'' mailing address (sometimes also called a ``generic'' or ``non-personal'' address) for a department or class. What is often desired is that:
In short, for e-mail purposes, the user will appear to have a second e-mail address without actually having a second account.
This is not hard to set up, assuming you're careful.
To be specific, we'll assume that the individual's real account is named joe. We'll assume the support address is generic.dept@unh.edu. And we'll assume the mailer in use is Pine, and that the editor you prefer for editing files is Pico. Substitute appropriately for your own case.
Here's what to do:
% pico .procmailrc
And put the following lines therein:
MAILDIR=$HOME/mail :0: * ^TOgeneric.dept IN.genericSave the file and exit from the editor.
This should be sufficient to get mail sent to generic.dept@unh.edu automatically saved in the IN.generic folder in joe's mail directory. It will show up with the other folders in that directory (typically sent-mail and saved-messages files).
The following step describes some things you can do to make this even nicer. Everything in this step is optional, and you can do it any time.
% cp .pinerc support.pinerc % pine -p support.pinercAt the main menu screen, type `s' (setup) and `c' (config). Follow Pine's rules to add/change values to get the effects you prefer. Some things you can do:
personal-name = The UNH Generic Department
inbox-path = mail/IN.generic
default-fcc = generic-sent-mail
read-message-folder = generic-saved-messages
signature-file = generic.signature(You'll want to use pico to create this file later, so remember the name.)
address-book = generic.addresses
customized-hdrs = From: The UNH Generic Department <generic.dept@unh.edu> Reply-To: generic.dept@unh.edu
Neat, yes? When you exit from the configuration screen, whatever changes you make are saved in the file support.pinerc. Then you can use
% pineas normal to read, respond to, and send your `personal' mail, and
% pine -p support.pinerc
to read, respond to, and send mail via the support address. If
you'd rather not type all that, make an alias in your source.in
file (creating a source.in file if necessary):
% pico source.inAdd the following line therein:
alias spine pine -p support.pinercThen (the next time you log in) you should be able to use:
% spineto read and respond to your support mail.
Last modified: 2005-08-05 10:07 EDT
Paul A. Sand, pas@unh.edu