Fetchmail: Start/stop

From FVue
Jump to: navigation, search

Problem

How do I start/stop the fetchmail deamon?

Solution

Debian

sudo /etc/init.d/fetchmail start
sudo /etc/init.d/fetchmail stop

See also

Debian Reference - 9.6.2 Fetching mail – Fetchmail

SuSE

/etc/init.d/rcfetchmail start
/etc/init.d/rcfetchmail stop

Journal

20080104

Be sure to specify the correct path to /etc/init.d/fetchmail, otherwise you'll receive this error:

$/etc/init.d> sudo fetchmail start
fetchmail: WARNING: Running as root is discouraged.
Enter password for root@start:

This is because /usr/bin/fetchmail is executed. Instead specify:

$/etc/init.d> sudo ./fetchmail start
Starting mail retriever agent: fetchmail.

Comments

blog comments powered by Disqus