LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2004, 08:42 PM   #1
scarstens
LQ Newbie
 
Registered: Jan 2004
Location: MD
Distribution: RH 9.0
Posts: 6

Rep: Reputation: 0
Question Starting Fetchmail at Boot


I need to start fetchmail at boot but I need it to run for three different user/email accounts. What is the easiest way to do this without using cron?

Do I have one .fetchmailrc that references three different mail accounts or do I somehow start three different ones with the different user accounts.

Scenario: I have some software that accepts incoming emails and processes each one based on the email address (abc@123.com goes to the abc project, xyz@123.com goes into the xyz project and so on.) No one will ever login in with accounts abc or xyz but I need the email processed accordingly.

Any ideas? Thanks in advance!
 
Old 01-28-2004, 08:50 PM   #2
scarstens
LQ Newbie
 
Registered: Jan 2004
Location: MD
Distribution: RH 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Oh I've seen the other entries here for putting the relevant commands in rc.local - I just don't know what the command would be to start fetchmail for three different users/email accounts.
 
Old 01-30-2004, 02:56 PM   #3
scarstens
LQ Newbie
 
Registered: Jan 2004
Location: MD
Distribution: RH 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
In case anyone cares I got this working by doing the following...

Put the .fetchmailrc in /root
The .fetchmailrc file contains all three email accounts.
Added fetchmail -f /root/.fetchmailrc to rc.local
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent fetchmail starting during boot pracslipkerm SUSE / openSUSE 1 09-12-2005 08:39 AM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
dosfsck always starting at boot Emp202 Fedora 2 01-19-2004 09:42 AM
Problem in starting at boot Ricky Linux - Newbie 16 10-11-2003 01:19 AM
Starting at boot / port premissions / fetchmail Greg21 Linux - Newbie 3 02-27-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration