View previous topic :: View next topic |
Author |
Message |
revil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Oct 2002 Posts: 68 Location: Japan
|
Posted: Mon Feb 28, 2005 3:14 am Post subject: fetchmail daemon |
|
|
is there a way to get the fetchmail daemon to check the individual user accounts .fetchmailrc? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
angoraspruce Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Jan 2005 Posts: 193 Location: Minnesota, USA
|
Posted: Mon Feb 28, 2005 5:06 am Post subject: Re: fetchmail daemon |
|
|
revil wrote: | is there a way to get the fetchmail daemon to check the individual user accounts .fetchmailrc? |
Each user should launch their own fetchmail daemon, and it will use the ~/.fetchmailrc of the user that launched it.
HTH ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
revil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Oct 2002 Posts: 68 Location: Japan
|
Posted: Mon Feb 28, 2005 12:37 pm Post subject: |
|
|
i see, thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adsmith Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Tue Apr 12, 2005 1:16 pm Post subject: |
|
|
It's a cheap hack, but if you want it to start automaticvally on boot, then add something like
Code: |
sudo -H -u myuser fetchmail
|
to /etc/conf.d/local.start |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Sat May 21, 2005 2:33 pm Post subject: |
|
|
Some users uses Linux, some uses Windows, others uses Mac (OS 9 & 10), some...
I don't think fetchmail is what I'm looking for. I need something that will fetch remote mai accounts into a centralized imap server, and it must be flexible enough to let users specify that, and it must run on a remote box where the server lives.
Doe it exist or am i dreaming awake? _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adsmith Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Sat May 21, 2005 2:43 pm Post subject: |
|
|
If they are using an IMAP server, then it doesn't matter what kind of client they are using.
Run fetchmail on the IMAP server, and let them edit their own .fetchmailrc. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Sat May 21, 2005 11:15 pm Post subject: |
|
|
adsmith wrote: | If they are using an IMAP server, then it doesn't matter what kind of client they are using.
Run fetchmail on the IMAP server, and let them edit their own .fetchmailrc. |
But I was under the impression that the .fetchmailrc is parsed when the user logs in . The way I see it, the init.d/fetchmal scripts only parse /etc/fetchmailrc, and if the users only connect remotely to the imap server, I don't think it's sufficient to get the .fetchmailrc picked up. No? ![Confused :?](images/smiles/icon_confused.gif) _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adsmith Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Sat May 21, 2005 11:21 pm Post subject: |
|
|
.fetchmailrc is parsed whenever they run fetchmail (or the first time, if it runs as a daemon)
have fetchmail run just once and not daemonize (set daemon 0), then have cron call fetchmail for each user every couple minutes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tecknojunky Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50759924548a37faf359b7.gif)
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Sun May 22, 2005 1:40 am Post subject: |
|
|
I'm not sure I understand.
Users don't log to that machine. It is solely a mail server with courier-imap and qmail.
If I understand you well, you are saying to cron a script that, when run, will scan users .fetchmailrc and run fetchmail with it? Something like: Code: | for fetchmailrc in /home/*/.fetchmailrc
do fetchmail $fetchmailrc
done |
![Question :?:](images/smiles/icon_question.gif) _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adsmith Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Sun May 22, 2005 3:58 am Post subject: |
|
|
tecknojunky wrote: | I'm not sure I understand.
Users don't log to that machine. It is solely a mail server with courier-imap and qmail.
|
ah, then you have a problem, unless you could set up some web interface through which they could edit their settings.
Quote: |
If I understand you well, you are saying to cron a script that, when run, will scan users .fetchmailrc and run fetchmail with it? Something like: Code: | for fetchmailrc in /home/*/.fetchmailrc
do fetchmail $fetchmailrc
done |
![Question :?:](images/smiles/icon_question.gif) |
sure, something like that |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|