add file getmail (or what else U want) un /etc/cron.d/ ------------------------------------------------------------------ tanna:/etc/network# cat /etc/cron.d/getmail ------------------------------------------------------------------ # /etc/cron.d/getmail: crontab fragment for getting mail #-- Get mail every 5 minutes. 0-59/5 * * * * root if [ -x /usr/bin/fetchmail ]; then /usr/bin/fetchmail -a --syslog 1> /dev/null 2>>/var/log/fetchmail.err; fi #-- U can filtered them before ! #0-59/5 * * * * root if [ -x /usr/bin/mailfilter ]; then /usr/bin/mailfilter 1> /dev/null 2>>/var/log/mailfilter.err; fi; if [ -x /usr/bin/fetchmail ]; then /usr/bin/fetchmail -a --syslog 1> /dev/null 2>>/var/log/fetchmail.err; fi ------------------------------------------------------------------------
and update /root/.fetchmailrc with any entry U nee poll <popserver_addr> protocol pop3 username <popserver_login> is <localuser> password <popserver_passwd> nokeep where - popserver_addr is the pop server name - popserver_login is the login used to get mail back from this server - popserver_passwd is the password used to get mail back from this server - localuser is the local user login !! Remove < and > . I only use this to enlight the variables parameters. The mails will be retreived from <popserver_login> account on <popserver_addr> and localy delivered in localuser mailbox in /var/spool/mail/localuser. Hope that can help ! François On Wed, 13 Mar 2002 00:30:13 -0300 Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Tue, 12 Mar 2002, stan wrote: > > I'm migrating mail services to individula user machines. > > > > I want to use fetchmail to retrieve the mail for each user (runing > > fetchmail as that user). > > > > What;s "The Debian Way" of starting up these user instances of fetchmail? > > There isn't one, but see the BTS entries for fetchmail (there is a bug there > with some ideas). > > Personally, I just run "while true; do fetchmail ; sleep 10m ; done" in a > detached "screen" (see the screen package). > > -- > "One disk to rule them all, One disk to find them. One disk to bring > them all and in the darkness grind them. In the Land of Redmond > where the shadows lie." -- The Silicon Valley Tarot > Henrique Holschuh > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >