[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetchmail





Jamie Griffin wrote:
# /etc/init.d/fetchmail restart
Restarting mail retriever agent: fetchmailfetchmail: no mailservers have been specified.
 failed!
Did you run it as root? and have you entered all the required info in
/etc/fetchmailrc?

Sorry, that took so long. :-( Had been busy.

* Yes I run '/etc/init.d/fetchmail restart' as root and fetchmail daemon has been set to run by SysV-init scripts.
* My /etc/fetchmailrc is empty
* /home/[USER_ACCOUNT]/.fetchmailrc has:
	set postmaster [USER_ACCOUNT]
	set bouncemail
	set daemon 300

You should have the server information in /etc/fetchmailrc not ~/.fetchmailrc if you want to run the program as root.

Jamie



Isn't it possible to run fetchmail as root and then one process fetches the mail of all users with help of ~/.fetchmail?

If no, is there any script that executes daemon automatically for every user that has .fetchmailrc?


Tero Mäntyvaara


Reply to: