First of all we get fetchmail working for us ... This is a all you need to
get fetchmail to grab your mail:
all you should need to do in this example is to add your password and
username and mail servers.

set daemon 60   # Poll at 1-minute intervals
defaults
#       interface "sl0/10.0.2.15"       # SLIRP standard address
        user fontenot is fontenot fetchmail-friends magic-numbers here
        fetchall
# Use this for production
poll pop.primenet.com protocol POP3:
        no dns, aka smtp.primenet.com primenet.com;
        password my_password;


Second we get CRON bringing up and shutting down our connection. This
example shows CRON working
from 8AM (Gone to work) to 5PM (Home from work) Monday through Friday

# This is the format for this file ...
#
# * * * * *
# |  |  |  |  |_ Day of week (0 - 6, 0 = Sunday)
# |  |  |  |___ Months (1 - 12)
# |  |  |_____ Days (0 - 31)
# |  |_______ Hours (0 - 23)
# |_________ Minutes (0 - 59)
#
# Any field with an * in it means ALL possible
# values are assumed
#
# And here is my CRONTAB file ...
#
# Every hour checking the mail
0 8/17 * * 1/5 /sbin/ifup ppp0
5 8/17 * * 1/5 /sbin/ifdown ppp0


You will also need CRON to call fetchmail, after all it's only a 5 minute
window. This CRONTAB is for user
fontenot. Makes things easier that way. Fontenot gets Fontenots' mail.

# Every hour, two minutes past the hour ...
2 * * * * /usr/bin/fetchmail


And other than that, just load imap-4.1.BETA-8.i386.rpm.

Then you sit back and let your system take care of your mail. Imapd get
called from inetd so nothing to do there.


I have an NT 4.0 machine that uses Microsoft outlook to check my mail on the
Linux box all the above is on. Looks
like this:

NT 4.0 ------ 386 DX/40 (firewall, ip masq, imapd, samba, etc ...) ------
MODEM ----'NET
                           |
PPC 7200/90 - |

I would also like to help out with this project you have in mind. The HOWTO.

-Paul

    |
<-+------------- ---- - - - - -- -   - --  - -
    |  Linux .. The choice of a GNU Generation
    ;
    .


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to