Sridhar Ranganathan rearranged electrons thusly:

> I just connected my linux box to the Net. I have a VSNL dial-up account. how 
> do i configure it to read mail?

http://www.hserus.net/dlhowto.html (fetchmail, sendmail, procmail, mutt)

> how do i put signatures on every out-going 
> mail from another file. 

use your mail client for that (pine / mutt etc)

> i need to get the signature from antoher program. 
> when i run that program, it retunrs some text. 

like fortune?  easy - write a wrapper around your mail client which creates
this shell script (or use mutt, which allows you to set your signature as a
program <= a shell script that uses this prog to generate your .sig)

#!/bin/sh
WHOAMI=`whoami`
if [ -f /tmp/sig.$USER ]
then
rm -f /tmp/sig.$USER
fi
cat $HOME/.signature > /tmp/sig.$USER
/usr/games/fortune -s >> /tmp/sig.$USER
pine

of course - set your signature in pine to /tmp/sig.sridhar <or whatever your
login is>

> every out-going mail. how do i do this?
 
in your mail program

        -s

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
"What separates normal people from kooks is how they react when people disagree
with them or tell them "NO"  <-- Ron Ritzman on news.admin.net-abuse.email


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to