aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/test/testrc
blob: 7520f8d4db6f49ef4fb006d464c9f5d22f64febd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Configuration created Thu Oct 23 20:13:55 2003 by fetchmailconf
set syslog
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
poll pop.whosey.net with proto POP3
       user 'foo' there with password '*' is 'me' here
       user 'bar' there with password '*' is 'her' here
       user 'baz' there with password '*' is 'that' here

poll mail.whatsey.ca with proto POP3 interval 60
       user 'nimble' there with password '*' is 'her' here
lts". A fetchmailrc file containg hosts and # passwords for all local users should be placed in /root # and should contain a line of the form "set daemon <nnn>". # # To remove the service, delete /etc/init.d/fetchmail and run # "update-rc.d fetchmail remove". DAEMON=/usr/bin/fetchmail set -e test -f $DAEMON || exit 0 case "$1" in start) echo -n "Starting mail retrieval agent: " if start-stop-daemon --start --quiet --exec $DAEMON; then echo "fetchmail." else echo "fetchmail already running."; fi ;; stop) echo -n "Stopping mail retrieval agent: " start-stop-daemon --stop --quiet --exec $DAEMON echo "fetchmail." ;; force-reload|restart) echo -n "Restarting mail retrieval agent: " start-stop-daemon --stop --quiet --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON echo "fetchmail." ;; *) echo "Usage: /etc/init.d/fetchmail {start|stop|restart}" exit 1 ;; esac exit 0