Version 0.2 of sendmail alias is out. It fixes a couple of bugs, is more
modular and works with vsnl as well. Accepts recipients in the To, cc and
bcc fields. It rewrites the From: field based on aliases set in
/etc/mail/outgoing.aliases
The format of this file is:
localuser@localhost:realuser@realhost
where localuser@localhost is what pine puts in the from line and
realuser@realhost is what you actually want it to put.
eg:
[EMAIL PROTECTED]:[EMAIL PROTECTED]
You can put the file anywhere, just make sure it has perms:
-r-xr-x-r-x
Then, in /etc/pine.conf or /etc/pine.conf.fixed add or change the line:
sendmail-path=/usr/bin/sendmail.alias
That's it. You can change the default mail host (set to localhost) and
port (set to 25) by editing the source. There are two variables called
$mailhost and $mailport that need to be set.
Tell me if it works or not and tell me if I have missed anything. I
haven't looked at the rfc while doing this, so cannot be sure that it is
compliant.
Philip
===========
The computer is to the information industry roughly what the
central power station is to the electrical industry.
-- Peter Drucker
sendmail.alias.gz