--- /etc/conf.d/fetchmail 2011-11-08 16:37:35.000000000 +0700 +++ fetchmail.new 2011-11-08 19:07:22.000000000 +0700 @@ -8,3 +8,46 @@ # Directory where the pid file is kept pid_dir="/var/run/fetchmail" + +# Fetchmail configuration + +# If fetchmail_config is defined, the initscript will use the contents of fetchmail_config, and ignore the +# fetchmail_rc variable +# +# WARNING: Be careful of quotes! If there are no single quotes in the password, you're recommended to use +# single quotes as the delimiter +# +# Default: +#fetchmail_config='' + +# Example (will be ignored by the initscript): +fetchmail_config_example=' + set postmaster "admin@example.com" + poll "mail.example.com" + envelope "Envelope-to" + proto IMAP + timeout 300 + + user "catchall" there + password "OpenSesame" + is * here + ssl + fetchall + idle +' + +# If fetchmail_rc is not empty, while fetchmail_config is empty, +# the initscript will use the file referred in the fetchmail_rc variable. +# +# NOTE: 1. The full path must be specified! +# 2. If the file does not exist, initscript will terminate with error! +# Default: +#fetchmail_rc="" + +# If neither fetchmail_config nor fetchmail_rc are set, then the initscript +# will first try to find the file /etc/${RC_SVCNAME}.rc +# Failing that, it will 'fallback' to the older naming system of +# /etc/${RC_SVCNAME}rc (i.e., without the dot) +# +# Failure in finding either version of the rc-file, initscript terminates +# with error.