Help with using ISP name for email
Jason Ish writes:
> I connect to the internet using my school PPP account which gives me a
> user name not very close to my real name and chose to use my first name to
> logon to my personal linux box. I would like to send email but have it
> come from my school email name and not my localhost name. I have already
> managed (using smail/mailx) to have the @hostname field changed but mail
> still comes from jason rather than jbi130 (my email username).
>
> To fix this I have starting using pine, I start it using sudo as user
> jbi130 on my home system but these becomes a pain (as far as file
> permissions) are concerned when add folders and deleting stuff and so on.
>
> Is there a better way to go about this. I use fetchmail ro retrieve from
> my POP3 server but I don't think this has any effect on the sending of the
> mail.
> Would a better solution maybe to sart using mh and exmh?
>
I like to send mail from home but want the return address to be valid
so need to change the username to the username I have at the ISP
(rather than the short username at home) and the host name to be the
ISP rather than the home machine. The problem was that I didn't
want this used on local mail. (No real reason to send myself mail,
but I wanted to be able to do it!!!) I also wanted to be able to change
both (differently) if I was sending mail to work.
I spend a while delving into sendmail and came up with a kludge with
sort of worked as far as local vs remote mail, but wasn't
satisfactory. Then I found qmail which very easily allows you to do
just these kind of things.
Then I found I needn't have bothered at all! Since as I send mail from
within Emacs all I have to do is have it automatically add the "From"
line at the top!
Richard (locally rs@sphere remotely rsharman@magmacom.com)
Reply to: