1 |
Jean Magnan de Bornier wrote: |
2 |
> Le 21 juin à 00:42:33 Robert Persson <ireneshusband@××××××××.uk> écrit notamment: |
3 |
> |
4 |
> | I want to run fetchmail as a service and I am confused about how this works. I |
5 |
> | simply want to have something that will quietly fetch and deliver mail to |
6 |
> | maildirs to users' home directories, but that can also be disabled easily |
7 |
> | when I need that bit of extra performance for something. |
8 |
> |
9 |
> To enable fetchmail as demon: |
10 |
> # /etc/init.d/fetchmail start |
11 |
> |
12 |
> To have fetchmail start automatically at boot: |
13 |
> # rc-update add fetchmail default |
14 |
> |
15 |
> To suspend fetchmail: |
16 |
> # /etc/init.d/fetchmail stop |
17 |
> |
18 |
> | I assume that fetchmail will first look at /etc/fetchmailrc. Will it then look |
19 |
> | at each user's $HOME/.fetchmailrc? |
20 |
> |
21 |
> Yes |
22 |
> |
23 |
> |
24 |
> |
25 |
> | If so, can I assume that it will deal with each user's .procmailrc suid |
26 |
> | that user? |
27 |
> |
28 |
> |
29 |
> |
30 |
> Yes; have a look at the fetchmail manual (-mda command) |
31 |
> |
32 |
> regards |
33 |
> |
34 |
> |
35 |
When I tried it, this didn't seem to work for me. I tried using an empty |
36 |
/etc/fetchmailrc because I wanted fetchmail to go straight to the |
37 |
~/.fetchmailrc's, but it complained that no server was specified. |
38 |
|
39 |
I'm not panicked about this any more because I have decided to use the |
40 |
relatively painless webmin to configure the ~/.fetchmailrc's and |
41 |
schedule cron jobs. even though it isn't exactly what I wanted. That |
42 |
said, if anyone knows what I should have done to get the fetchmail |
43 |
service to use the ~/.fetchmailrc's rather than /etc/fetchmailrc I would |
44 |
appreciate it. |
45 |
|
46 |
Many thanks. |
47 |
Robert |
48 |
-- |
49 |
gentoo-user@g.o mailing list |