Mail from ILUG-BOM list (Non-Digest Mode)
Sometime Today, Manish Jethani assembled some asciibets to say:
> Just tell me whether I am right, and correct me otherwise -
>
> the command, roughly...
> ``fetchmail -p POP3 -k [EMAIL PROTECTED] -d 180''
Ya, but better off creating a .fetchmailrc file in your home directory and
using that:
[philip@tae philip]$ cat .fetchmailrc
set postmaster "postmaster"
set bouncemail
set properties ""
#set daemon <seconds>
poll giasbma.vsnl.net.in with proto pop3
user "tellis" there with password "<password>" is philip here
> If I am correct, then how do I let Pine know that the mail is in
> /var/spool/mail/manish? Which option should I set?
Pine already knows that. By default, it looks into /var/spool/mail/$USER
> Is popclient a better way to get pop mail?
No. fetchmail is a descendent of popclient. In fact, Eric Raymond took
over maintainence of popclient because he needed something similar. He
then modified it to the extent that it handled much more than pop, so
renamed it to fetchmail. Read the fetchmail history at tuxedo.org
> I think while sending mail, Pine will use the local smtp server.
Nope, pine writes the mail to `sendmail -bs' ie, it spawns a new sendmail
process that runs the smtp protocol at the command line, and pine pipes
its output to this new process.
> In that case, I hope sendmail (or whichever) is auto-configured
> at the time of installation, so I don't have to touch it.
You may have to set a smarthost, because your sendmail won't know routing
information. I think you can use yast to do this, otherwise, edit
sendmail.cf and add these lines somewhere at the top of level 8 (read
comments):
# Smart host
DSbom3.vsnl.net.in
# Use this mailer to reach the Smart host
DNsmtp
You will still have problems because pine will use the email address on
your local machine which is most likely something like
[EMAIL PROTECTED] or something better if you have renamed it,
but definitely not something with a reverse dns entry because you don't
have a static public ip on your machine and a domain name.
To fix this, you have to add masquerading in sendmail:
Right at the bottom, add lines like this:
# Masquerading rules
S1
Rphilip<@tae.tellis.home> $@ philip.tellis < @ iname.com>
Rphilip<@tae.tellis.home.> $@ philip.tellis < @ iname.com.>
Rtellis<@tae.tellis.home> $@ tellis < @ giasbma.vsnl.net.in>
Rtellis<@tae.tellis.home.> $@ tellis < @ giasbma.vsnl.net.in.>
This is your local address This is your real address
HTH
Philip
--
Your business will assume vast proportions.
_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://www.ilug-bom.org.in/mailman/listinfo/linuxers