Alternate aliasing (.mailrc) file ?

Alternate aliasing (.mailrc) file ?

Post by David R. Thro » Fri, 10 Dec 1999 04:00:00

I'm running /lusr/bin/mail, the 'version' command gives:
  Mail User's Shell (7.2.6 beta(3) 11/17/96)

By default, this uses ~/.mailrc as my alias file.  I'd like to set up
an alternative alias file (I'm handling several overlapping mail lists
and it's just less confusing to have different ones in different

Is there an enviornment variable I can set?

Meta-question - was there a FAQ that covered this?  I went through all
the FAQs in comp.mail.misc (searching for mailrc and alias) and didn't
find anything helpful.  Ditto with '% man mail'.

David Throop


Alternate aliasing (.mailrc) file ?

Post by Sergio Mendoz » Fri, 10 Dec 1999 04:00:00


   Just put this in your ~/.mailrc

source your-mail-address-file



1. alias in .mailrc

Hello everyone,

How do you set up an alias in .mailrc file so that you can send mail
to a group of users, I can only set an alias to send mail to a single user.
Any help will be greatly appreciated, please email me since I've posted
in several newsgroups.


they do not reflect those of my employer |  Pairgain Techonologies
//// Phone# (714)832-9922, Ext# 2885        FAX# (714)832-9924 ////

2. Redhat 7.2 - Setting network device aliases/routes at startup

3. How to use .mailrc without aliases being expanded?

4. Web sites on unix

5. How to read UNIX ~/.mailrc aliases?

6. Routing and IP-Addresses

7. Netscape 1.1N UNIX ~/.mailrc alias lines not used

8. X Windows

9. expand .mailrc alias and return it to non-mail program?

10. Any way to get "tin" to use ".mailrc" alias addresses?

11. How do I create a .mailrc file?

12. mailrc file

13. Question re "mailx" and ".mailrc" startup file