-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the reply but the problem was:
I had a ~/.fetchmailrc. It worked so long as I started fetchmail myself. If I tried to start fetchmail thus (as root) "/etc/init.d/fetchmail start" or if I started up MCC and then tried to start fetchmail from xservices I got the same result: failure. In my logs I would get a message that there was no mailserver specified. I DID have a mailserver specified in my .fetchmailrc. I then opened up webmin and saw my personal fetchmail entry there yet fetchmail service would not start for "lack" of a mailserver to poll. Only after I copied my personal .fetchmailrc to /etc/fetchmailrc could I start fetchmail as a daemon in xservices and have it run properly at each startup. It didn't seem to care at all that I actually did have a valid ~/.fetchmailrc file and that it did contain a valid mailserver. This is why I asked the original question about how to get /etc/fetchmailrc setup instead of ~/.fetchmailrc (the latter wasn't working). - From your reply, I assume I should never have received the error I received - that fetchmail should have started up as a daemon without problem and simply used my personal .fetchmailrc. But it didn't. praedor On Wednesday 08 October 2003 12:03 pm, David Guntner wrote: > Praedor Atrebates grabbed a keyboard and wrote: > > Thanks all, I have it working in a desireable fashion now. [...] > > A new question now. Fetchmail gave me a bit of a fit at first. I ran > > fetchmailconf as user and then ran fetchmail as user and this was fine, > > except I'd rather not have to start fetchmail myself every time I start > > my laptop up - I'd rather have it run as a daemon. I DID get the > > fetchmail daemon working eventually, but only after manually editing > > /etc/fetchmailrc. [...] > From the man page for fetchmail: > > 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 [...] - -- "What influence in fact have Christian ecclesiastical establishments had on civil society? In no instance have they been seen as the guardians of the liberties of the people. Rulers who wished to subvert the public liberty have found in the clergy convenient auxiliaries. A just government, instituted to secure and perpetuate liberty, does not need the clergy." - --James Madison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/hEbCaKr9sJYeTxgRAt+xAJ9niWejNDzp8R+HUD8fG+Ul6nNS+gCgtNlH V9i1N+CP7F78Igt24zKYoI8= =W7TL -----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
