Hi!

michael jones <[EMAIL PROTECTED]> wrote:

> i want to get my mail from my isp, pop3, scan it
> and sort according to sender, and forward
> important stuff to my cell phone.  my isp is
> dial-up, so i want to set up a chron job to dial
> in, right? is there a way to know wether the
> connection is made, what if the line is busy??
> what would be the best way to scan the mail for
> sender info?

I can't help you to set up a cron job.  Perhaps
anybody can.  But I can tell you how to sort
incoming messages.

You need your computer to be on, dial-up to your
ISP from time to time, and fetch the messages from
the server.

You can run fetchmail as a daemon, even if you are
not the root.  But perhaps you prefer to put a
fetchmail command in the script you will use to
dial-up.

Once the messages are fetched from the server, you
need procmail to sort the messages and forward the
messages you want.  I presume that your cell phone
has an email address, of course.

Put the following in your ~/.procmailrc :

        :0 fw
        * ^From.*[EMAIL PROTECTED]
        {
            :0 c
            ! your-phone-number@your-phone�com.com
        }               

It will forward the messages from
[EMAIL PROTECTED] to
[EMAIL PROTECTED] and still keeps
a copy in your Linux box.

Hope this helps. :-)

-- 
Daniel Gonz�lez Gasull       o          "Language is a virus
mailto:[EMAIL PROTECTED]     o  __/|_ ,  from another planet."
PGP RSA key 1024/EEA93A69  o  /o    \/  -- William Burroughs
                              \__~__/\  
                                 `      
Protect privacy, boycott Intel: http://www.bigbrotherinside.org

Reply via email to