|
If you have a dialup-connection to the internet the eMail sent
to you is remote on a computer of your provider. To retrieve this
remote mail you need a program which fetches the email from your
provider's computer. There are various programs for collecting
eMail using POP or IMAP and forwarding via port 25 to the local
SMTP listener (here sendmail), enabling all the normal
forwarding/filtering/aliasing mechanisms that would apply
to local mail or mail arriving via a full-time TCP/IP
connection.
I recommend fetchmail
by E. Raymond for that purpose.
Installing and configuring fetchmail
- Since fetchmail is updated regularly install it by using a
port.
- Generate a .fetchmailrc file in your home directory
containing
poll provider.com with proto POP3
user "sam_miller" there with password
"your_password" is sam here options fetchall
- Now you can test your installation (if you are connected via
ppp) by calling:
fetchmail -v
(-v for verbose)
- If it works put a line like:
!bg su sam -c fetchmail
after the label for your provider in /etc/ppp/ppp.conf. This will
trigger fetchmail after having been connected to your
provider.
|