LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2004, 02:22 PM   #1
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Where can i find a fetchmail how-to


Hi everyone...

I want to know how can i make fetchmail run in daemon mode? I just know to fetch mail from the pop3/server using the fetchmail -v command, however, I would like fetchmail to query the server every n minutes for new mails....how do i do that? and If someone can direct me to a detailed how-to on fetchmail as well as how-to on procmail, i'll be highly thankful....and by the way, is fetchmail an MDA or MUA ??? on what basis do we say that its an MDA or MUA?

Regards,

amit
 
Old 01-11-2004, 03:10 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
this is very clearly detailed in the man page for fetchmail

http://www.linuxquestions.org/questi...hreadid=133725

Quote:
DAEMON MODE

The --daemon <interval> or -d <interval> option runs fetchmail in dae-
mon mode. You must specify a numeric argument which is a polling
interval in seconds.

In daemon mode, fetchmail puts itself in background and runs forever,
querying each specified host and then sleeping for the given polling
interval.

Simply invoking

fetchmail -d 900

will, therefore, poll all the hosts described in your ~/.fetchmailrc
file (except those explicitly excluded with the `skip' verb) once every
fifteen minutes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fetchmail kudos Linux - Software 4 11-23-2003 12:37 PM
fetchmail plisken Linux - Software 2 04-29-2003 03:56 PM
fetchmail bdu Linux - General 0 02-22-2002 09:41 AM
fetchmail lilapause Linux - Networking 2 12-26-2001 07:19 AM
Fetchmail philfighter Linux - Networking 3 08-02-2001 05:19 PM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration