Re: email questions...
Mario Flores wrote:
Hi:
I can read my ISP's email using mozilla (POP mail account), I can read
my local email using 'mail' (with exim being the mta). But I cannot
send emial from my local mail account to the rest of the world or to
my ISP's email address. How can I do that?
For me, it "just works." You need to do a little exploration and find
messages that show what's wrong. Log files in /var/log are good places
to look.
In addition, how can I send emial via a script? That is to set up a
cron job to send an email locally or to someone on the internet (using
my ISP email account since I don't have a valid DNS name). I tried
'mail' but could not get a message to be sent with a single command line.
Attend to the first part first. Then the mail command should work much
like this:
ls -lR | mail -s "I have these files" me@example.com
I have read that fetchmail can retrieve POP mail, but I could not find
a program that does the opposite without being interactive.
You should be able to use the sendmail directly if the mail command as
above is unsatisfactory. Once you have the first problem sorted out.
If you want a cheap domain name, go see www.dyndns.org and get one of
their free subdomains.
--
Cheers
John
-- spambait
1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
Reply to: