Karthik Vishwanath wrote:
> 
> fetchmail is working fine now and I am able to receive all mail on this
> machine. Again as I mentioned earlier, my name on the mail-server and the
> local machine are karthikv, and karthik respectively. So on replying to
> the mail I get, the 'from' field in the msg I send gets set as
> [EMAIL PROTECTED] while I want it to be [EMAIL PROTECTED] How
> do I configure that? Is this a local setting in pine or is it a setting
> to be changed someplace else?
> 
<snip>

You can set the from field in your pine/netscape/kmail/etc and in the
configuration of your MTA (sendmail/smail/qmail/etc). It goes like this:
If the user application (eg. pine) supplies a from: field in the
headers, it is used unchanged by the MTA. If it is missing, it is
generated as
From: $USER@$from_header_fqdn
where $from_header_fqnd is the fully qualified domain name of your host
(or the one that receives mail for you).
If it is not missing, but not complete either, e.g. mmutz@hrz, where the
correct mail address would have been [EMAIL PROTECTED], the MTA
can optionally look up that host (via the search list in
/etc/resolv.conf) and replace the from line with the FQDN version.

So usually, you want to configure the from line in your user
application.

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>        http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to