forked from pool/fetchmail
This commit is contained in:
commit
32d8d6938e
25
.gitattributes
vendored
Normal file
25
.gitattributes
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
fetchmail.xpm filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
fetchmail-6.3.5.tar.bz2
Normal file
3
fetchmail-6.3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0af641629fc1b7ee2561eccd5ecd0efea20fea935656d155886061c530114f2b
|
||||
size 1237821
|
359
fetchmail.changes
Normal file
359
fetchmail.changes
Normal file
@ -0,0 +1,359 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 25 19:36:22 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- Fixed problems caused by calling daemon as non-root (#207305).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 17:07:33 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.3.5:
|
||||
* Bug fixes.
|
||||
* Translation updates.
|
||||
* Logging behavior changes.
|
||||
* fetchmail now supports foo@example.org=bar user mappings for
|
||||
multidrop boxes.
|
||||
* Bouncing improvements.
|
||||
* Improved IMAP and SDPS behavior.
|
||||
* See NEWS for deprecated features and major incompatible change
|
||||
advance warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 21 15:01:29 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Run automake.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 16:43:40 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- By default run as non-root user fetchmail (159764#c1).
|
||||
- Implemented "oneshot" in the init script (159764#c8).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 17:09:42 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- Backported fixes for two crashes (159764#c9, 159764#c10).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:35:51 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 12:49:11 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.3.2 (fixes CVE-2006-0321).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 10 17:01:49 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.3.1 (fixes #140475).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 20:07:59 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.3.0 (fixes #131232).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 27 19:21:35 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.2.5.2 (#97555).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 17:13:23 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Prevent lost mails with NULL envelope (#80331).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 01:46:25 CET 2005 - ro@suse.de
|
||||
|
||||
- fix build on older distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 17:02:11 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Turned on GSSAPI, SOCKS and RSAREF support.
|
||||
- Fixed implicit declaration and random result warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 15:25:30 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added more sysconfig options for init script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 14:31:43 CEST 2004 - aj@suse.de
|
||||
|
||||
- Remove wrong definition.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 31 13:41:00 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added sendmail to Required-Start/Stop (#44500).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 05 13:21:08 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added sysconfig variable for polling interval (#39777).
|
||||
- Init script adapted to conform latest LSB.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 01:26:21 CEST 2004 - ro@suse.de
|
||||
|
||||
- fix missing return value in pop2.c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 30 12:35:25 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added /etc/fetchmailrc to file list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 18:43:11 CET 2004 - mmj@suse.de
|
||||
|
||||
- Add postfix to # neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 14:20:07 CET 2004 - sbrabec@suse.cz
|
||||
|
||||
- Set fetchsizelimit for APOP and RPOP (bug #35555).
|
||||
http://lists.ccil.org/pipermail/fetchmail-friends/2003-October/003958.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 04 17:13:20 CET 2004 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.2.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 16:55:44 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 14:27:10 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- Remove wrong requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 07 15:41:46 CEST 2003 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.2.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 11:52:16 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Fix typo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 26 15:58:20 CET 2003 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.2.2.
|
||||
- Created startup script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 11:38:02 CET 2003 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.2.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 19:50:23 CET 2002 - mmj@suse.de
|
||||
|
||||
- Update to 6.2.0 which has security fix for rfc822.c and some
|
||||
translations plus an SMTP timeout patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 19:09:32 CET 2002 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 6.1.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 14:32:34 CET 2002 - sbrabec@suse.cz
|
||||
|
||||
- Spec file cleanup (bug #21912).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 18:47:33 CEST 2002 - sbrabec@suse.cz
|
||||
|
||||
- Update to version 6.1.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 01 18:39:16 CEST 2002 - sbrabec@suse.cz
|
||||
|
||||
- Removed --with-included-gettext and re-enabled NLS.
|
||||
- OPIE/OTP fixes.
|
||||
- Spec file cleanup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 10:38:05 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Update to 6.1.0 including since 5.9.13:
|
||||
o Support for STARTTLS over IMAP
|
||||
o Cleanups and bugfixes
|
||||
o Translation update
|
||||
o Fix for potential remote vulnerability in multidrop mode,
|
||||
which according to the author is an important security fix.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 19:56:29 CEST 2002 - jreuter@suse.de
|
||||
|
||||
- more spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 17:19:19 CEST 2002 - jreuter@suse.de
|
||||
|
||||
- added /etc/logrotate.d/fetchmail (Bugzilla #17279)
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 19:58:31 CEST 2002 - jreuter@suse.de
|
||||
|
||||
- removed /usr/share/locale/*/LC_MESSAGES/fetchmail.mo from file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 13:18:49 CEST 2002 - jreuter@suse.de
|
||||
|
||||
- updated to version 5.9.13
|
||||
- disabled NLS support because it doesn't compile and esr is about
|
||||
to remove it anyway
|
||||
- complete changelog: http://tuxedo.org/~esr/fetchmail/NEWS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 23 15:51:48 CET 2002 - kukuk@suse.de
|
||||
|
||||
- Fix fetchmailconf (wrong python widget destroy calls) [Bug #15391]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 17 15:49:17 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- minor fixes in README.SUSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 23:07:12 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 5.9.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 12 16:51:45 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 5.8.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 15 01:12:08 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- patch to prevent buffer overflow due to long headers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 13:07:18 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 5.8.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 18:51:02 CET 2001 - ro@suse.de
|
||||
|
||||
- added split-aliases as provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 14 12:36:44 CET 2001 - bjacke@suse.de
|
||||
|
||||
- updated to 5.6.5 (fixes #6245)
|
||||
- fix fetchmailconf nospambounce problem
|
||||
- enable RPA protocol
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 16:30:40 CET 2001 - bjacke@suse.de
|
||||
|
||||
- disabled IPv6 support for the time being to fix bug #5111
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 16:37:10 CET 2000 - garloff@suse.de
|
||||
|
||||
- pass --enable-NTLM to configure in order to enable M$ Exchange
|
||||
compatible auth proto
|
||||
- explicitly specify the directories with --mandir etc ...
|
||||
- Use DESTDIR= instead of prefix to pass RPM_BUILD_ROOT
|
||||
- add %{?suse_update_config}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 15:25:28 CET 2000 - bjacke@suse.de
|
||||
|
||||
- some spec file fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 14:25:01 CET 2000 - ro@suse.de
|
||||
|
||||
- Fix requires for fetchmailconf (again)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 13:14:36 CET 2000 - bjacke@suse.de
|
||||
|
||||
- merged ssl stuff from fetchmailssl to fetchmail package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 10:53:39 CET 2000 - bjacke@suse.de
|
||||
|
||||
- updated to 5.6.0
|
||||
- adjust README to new boot concept
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 22:04:35 CET 2000 - bjacke@suse.de
|
||||
|
||||
- updated to version 5.5.5
|
||||
- switched to long names
|
||||
- added README.SuSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 3 14:57:40 CEST 2000 - bjacke@suse.de
|
||||
|
||||
- update to fetchmail-5.5.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 14:14:35 CEST 2000 - bk@suse.de
|
||||
|
||||
- moved fetchmailconf man page to subpackage fetchmcf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 10:40:20 CEST 2000 - bk@suse.de
|
||||
|
||||
- update to fetchmail-5.4.0, new major version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 18:22:35 CET 2000 - werner@suse.de
|
||||
|
||||
- Fix config.guess selection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 15:24:19 CET 2000 - dipa@suse.de
|
||||
|
||||
- update to fetchmail-5.3. update to fetchmail-5.3.00
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 03:36:31 CET 2000 - bk@suse.de
|
||||
|
||||
- update to fetchmail-5.2.8, that's the code freeze release for 5.3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 02:53:41 CET 2000 - bk@suse.de
|
||||
|
||||
- update to fetchmail-5.2.7, Eric's changelog to 5.2.6 is very small:
|
||||
* Updated FAQ and
|
||||
* Updated es.po.
|
||||
* Disable mail notification on server unreachable. This turned out to
|
||||
be a very bad idea.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 09:23:01 CET 2000 - ro@suse.de
|
||||
|
||||
- specfile typo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 00:36:53 CET 2000 - ro@suse.de
|
||||
|
||||
- create man directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 19:39:32 CET 2000 - bk@suse.de
|
||||
|
||||
- restarted spec from package-provided spec, subpackages fetchmcf (fetchmailconf)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 20 20:31:14 CEST 1999 - bk@suse.de
|
||||
|
||||
- split-off from pop, update to 5.1.2
|
||||
|
215
fetchmail.init
Normal file
215
fetchmail.init
Normal file
@ -0,0 +1,215 @@
|
||||
#! /bin/sh
|
||||
# Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Author: Stanislav Brabec <sbrabec@suse.cz>
|
||||
#
|
||||
# /etc/init.d/fetchmail
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: fetchmail
|
||||
# Required-Start: $syslog $network sendmail
|
||||
# X-UnitedLinux-Should-Start:
|
||||
# Required-Stop: $syslog $network sendmail
|
||||
# X-UnitedLinux-Should-Stop:
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: Fetch mails for configured users
|
||||
# Description: Start fetchmail as root and fetch mails for configured users.
|
||||
# You must create configuration file /etc/fetchmailrc first.
|
||||
### END INIT INFO
|
||||
#
|
||||
|
||||
|
||||
# Check for missing binaries (stale symlinks should not happen)
|
||||
# Note: Special treatment of stop for LSB conformance
|
||||
FETCHMAIL_BIN=/usr/bin/fetchmail
|
||||
test -x $FETCHMAIL_BIN || { echo "$FETCHMAIL_BIN not installed";
|
||||
if [ "$1" = "stop" ]; then exit 0;
|
||||
else exit 5; fi; }
|
||||
|
||||
# Check for existence of needed config file and read it
|
||||
FETCHMAIL_CONFIG=/etc/sysconfig/fetchmail
|
||||
FETCHMAIL_RC=/etc/fetchmailrc
|
||||
test -r $FETCHMAIL_CONFIG || { echo "$FETCHMAIL_CONFIG not existing";
|
||||
if [ "$1" = "stop" ]; then exit 0;
|
||||
else exit 6; fi; }
|
||||
test -r $FETCHMAIL_RC || { echo "$FETCHMAIL_RC not existing";
|
||||
if [ "$1" = "stop" ]; then exit 0;
|
||||
else exit 6; fi; }
|
||||
|
||||
# Read config
|
||||
FETCHMAIL_POLLING_INTERVAL="600"
|
||||
FETCHMAIL_FETCHALL="yes"
|
||||
FETCHMAIL_SILENT="no"
|
||||
FETCHMAIL_USER="fetchmail"
|
||||
FETCHMAIL_EXPERT_OPTIONS=""
|
||||
|
||||
. $FETCHMAIL_CONFIG
|
||||
|
||||
FETCHMAIL_FETCHALL_OPTION=
|
||||
if [ "$FETCHMAIL_FETCHALL" = "yes" ] ; then
|
||||
FETCHMAIL_FETCHALL_OPTION=" -a"
|
||||
fi
|
||||
FETCHMAIL_SILENT_OPTION=
|
||||
if [ "$FETCHMAIL_SILENT" = "yes" ] ; then
|
||||
FETCHMAIL_SILENT_OPTION=" -s"
|
||||
fi
|
||||
|
||||
if [ "$FETCHMAIL_USER" = "fetchmail" ] ; then
|
||||
if [ -z "$FETCHMAILHOME" ] ; then
|
||||
export FETCHMAILHOME=/var/lib/fetchmail
|
||||
fi
|
||||
fi
|
||||
|
||||
# Shell functions sourced from /etc/rc.status:
|
||||
# rc_check check and set local and overall rc status
|
||||
# rc_status check and set local and overall rc status
|
||||
# rc_status -v be verbose in local rc status and clear it afterwards
|
||||
# rc_status -v -r ditto and clear both the local and overall rc status
|
||||
# rc_status -s display "skipped" and exit with status 3
|
||||
# rc_status -u display "unused" and exit with status 3
|
||||
# rc_failed set local and overall rc status to failed
|
||||
# rc_failed <num> set local and overall rc status to <num>
|
||||
# rc_reset clear both the local and overall rc status
|
||||
# rc_exit exit appropriate to overall rc status
|
||||
# rc_active checks whether a service is activated by symlinks
|
||||
# rc_splash arg sets the boot splash screen to arg (if active)
|
||||
. /etc/rc.status
|
||||
|
||||
# Reset status of this service
|
||||
rc_reset
|
||||
|
||||
# Return values acc. to LSB for all commands but status:
|
||||
# 0 - success
|
||||
# 1 - generic or unspecified error
|
||||
# 2 - invalid or excess argument(s)
|
||||
# 3 - unimplemented feature (e.g. "reload")
|
||||
# 4 - user had insufficient privileges
|
||||
# 5 - program is not installed
|
||||
# 6 - program is not configured
|
||||
# 7 - program is not running
|
||||
# 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
|
||||
#
|
||||
# Note that starting an already running service, stopping
|
||||
# or restarting a not-running service as well as the restart
|
||||
# with force-reload (in case signaling is not supported) are
|
||||
# considered a success.
|
||||
|
||||
case "$1" in
|
||||
oneshot)
|
||||
# Check for mails once just now.
|
||||
if checkproc $FETCHMAIL_BIN ; then
|
||||
# Trigger fetching of existing daemon. Root UID is OK.
|
||||
su $FETCHMAIL_USER -c $FETCHMAIL_BIN
|
||||
else
|
||||
startproc -u $FETCHMAIL_USER $FETCHMAIL_BIN -d 0$FETCHMAIL_FETCHALL_OPTION$FETCHMAIL_SILENT_OPTION $FETCHMAIL_EXPERT_OPTIONS -f $FETCHMAIL_RC -L /var/log/fetchmail 2>&1
|
||||
fi
|
||||
# Remember status and don'ŧ be verbose
|
||||
rc_status
|
||||
;;
|
||||
start)
|
||||
echo -n "Starting fetchmail"
|
||||
## Start daemon with startproc(8). If this fails
|
||||
## the return value is set appropriately by startproc.
|
||||
startproc -u $FETCHMAIL_USER $FETCHMAIL_BIN -d $FETCHMAIL_POLLING_INTERVAL$FETCHMAIL_FETCHALL_OPTION$FETCHMAIL_SILENT_OPTION $FETCHMAIL_EXPERT_OPTIONS -f $FETCHMAIL_RC -L /var/log/fetchmail 2>&1
|
||||
|
||||
# Remember status and be verbose
|
||||
rc_status -v
|
||||
;;
|
||||
stop)
|
||||
echo -n "Shutting down fetchmail"
|
||||
## Stop daemon with killproc(8) and if this fails
|
||||
## killproc sets the return value according to LSB.
|
||||
|
||||
killproc -TERM $FETCHMAIL_BIN
|
||||
|
||||
# Remember status and be verbose
|
||||
rc_status -v
|
||||
;;
|
||||
try-restart|condrestart)
|
||||
## Do a restart only if the service was active before.
|
||||
## Note: try-restart is now part of LSB (as of 1.9).
|
||||
## RH has a similar command named condrestart.
|
||||
if test "$1" = "condrestart"; then
|
||||
echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
|
||||
fi
|
||||
$0 status
|
||||
if test $? = 0; then
|
||||
$0 restart
|
||||
else
|
||||
rc_reset # Not running is not a failure.
|
||||
fi
|
||||
# Remember status and be quiet
|
||||
rc_status
|
||||
;;
|
||||
restart)
|
||||
## Stop the service and regardless of whether it was
|
||||
## running or not, start it again.
|
||||
$0 stop
|
||||
$0 start
|
||||
|
||||
# Remember status and be quiet
|
||||
rc_status
|
||||
;;
|
||||
force-reload)
|
||||
## Signal the daemon to reload its config. Most daemons
|
||||
## do this on signal 1 (SIGHUP).
|
||||
## If it does not support it, restart.
|
||||
|
||||
echo -n "Reload service fetchmail"
|
||||
## if it supports it:
|
||||
killproc -HUP $FETCHMAIL_BIN
|
||||
#touch /var/run/fetchmail.pid
|
||||
rc_status -v
|
||||
|
||||
## Otherwise:
|
||||
#$0 stop && $0 start
|
||||
#rc_status
|
||||
;;
|
||||
reload)
|
||||
## Like force-reload, but if daemon does not support
|
||||
## signaling, do nothing (!)
|
||||
|
||||
# If it supports signaling:
|
||||
echo -n "Reload service fetchmail"
|
||||
killproc -HUP $FETCHMAIL_BIN
|
||||
#touch /var/run/fetchmail.pid
|
||||
rc_status -v
|
||||
|
||||
## Otherwise if it does not support reload:
|
||||
#rc_failed 3
|
||||
#rc_status -v
|
||||
;;
|
||||
status)
|
||||
echo -n "Checking for service fetchmail"
|
||||
## Check status with checkproc(8), if process is running
|
||||
## checkproc will return with exit status 0.
|
||||
|
||||
# Return value is slightly different for the status command:
|
||||
# 0 - service up and running
|
||||
# 1 - service dead, but /var/run/ pid file exists
|
||||
# 2 - service dead, but /var/lock/ lock file exists
|
||||
# 3 - service not running (unused)
|
||||
# 4 - service status unknown :-(
|
||||
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
|
||||
|
||||
# NOTE: checkproc returns LSB compliant status values.
|
||||
checkproc $FETCHMAIL_BIN
|
||||
# NOTE: rc_status knows that we called this init script with
|
||||
# "status" option and adapts its messages accordingly.
|
||||
rc_status -v
|
||||
;;
|
||||
probe)
|
||||
## Optional: Probe for the necessity of a reload, print out the
|
||||
## argument to this init script which is required for a reload.
|
||||
## Note: probe is not (yet) part of LSB (as of 1.9)
|
||||
|
||||
test $FETCHMAIL_CONFIG -nt /var/run/fetchmail.pid || test $FETCHMAIL_RC -nt /var/run/fetchmail.pid && echo reload
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {oneshot|start|stop|status|try-restart|restart|force-reload|reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
rc_exit
|
12
fetchmail.logrotate
Normal file
12
fetchmail.logrotate
Normal file
@ -0,0 +1,12 @@
|
||||
/var/log/fetchmail {
|
||||
compress
|
||||
dateext
|
||||
maxage 365
|
||||
rotate 99
|
||||
size=+1024k
|
||||
notifempty
|
||||
missingok
|
||||
copytruncate
|
||||
create 0600 fetchmail root
|
||||
}
|
||||
|
338
fetchmail.spec
Normal file
338
fetchmail.spec
Normal file
@ -0,0 +1,338 @@
|
||||
#
|
||||
# spec file for package fetchmail (Version 6.3.5)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: fetchmail
|
||||
BuildRequires: dante-devel ed krb5-devel openssl-devel opie postfix procmail python-devel rsaref
|
||||
License: Other License(s), see package
|
||||
Group: Productivity/Networking/Email/Utilities
|
||||
Autoreqprov: on
|
||||
Version: 6.3.5
|
||||
Release: 4
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}.init
|
||||
Source2: %{name}.logrotate
|
||||
Source3: sysconfig.%{name}
|
||||
Patch: fm635-daemon-logfile.patch
|
||||
%if %suse_version > 800
|
||||
PreReq: %insserv_prereq %fillup_prereq coreutils
|
||||
%endif
|
||||
URL: http://fetchmail.berlios.de/
|
||||
Icon: fetchmail.xpm
|
||||
Requires: smtp_daemon
|
||||
Provides: fetchml pop:/usr/bin/fetchmail
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Full-Featured POP and IMAP Mail Retrieval Daemon
|
||||
Obsoletes: fetchml
|
||||
|
||||
%description
|
||||
Fetchmail is a robust and well-documented remote mail retrieval and
|
||||
forwarding utility intended to be used over on-demand TCP/IP links
|
||||
(such as SLIP or PPP connections).
|
||||
|
||||
Fetchmail retrieves mail from remote mail servers and forwards it to
|
||||
your local machine's delivery system, so it can be read by normal mail
|
||||
user agents, such as mutt, elm, pine, (x)emacs/gnus, or mailx.
|
||||
|
||||
fetchmailconf, an interactive GUI configurator suitable for end-users,
|
||||
is included in the fetchmailconf package.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Eric S. Raymond <esr@snark.thyrsus.com>
|
||||
Matthias Andree <matthias.andree@gmx.de>
|
||||
Carl E. Harris <ceharris@mal.com>
|
||||
George M. Sipe <gsipe@pobox.com>
|
||||
Sunil Shetye <shetye@bombay.retortsoft.com>
|
||||
|
||||
%package -n fetchmailconf
|
||||
Summary: Fetchmail Configuration Utility
|
||||
Group: Productivity/Networking/Email/Utilities
|
||||
Requires: fetchmail = %{version} python python-tk
|
||||
Provides: fetchmcf fetchml:/usr/bin/fetchmailconf
|
||||
Obsoletes: fetchmcf
|
||||
|
||||
%description -n fetchmailconf
|
||||
A GUI configuration utility for generating fetchmail configuration
|
||||
files (.fetchmailrc).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Eric S. Raymond <esr@snark.thyrsus.com>
|
||||
Matthias Andree <matthias.andree@gmx.de>
|
||||
Carl E. Harris <ceharris@mal.com>
|
||||
George M. Sipe <gsipe@pobox.com>
|
||||
Sunil Shetye <shetye@bombay.retortsoft.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%{?suse_update_config}
|
||||
cp -a %{S:1} %{S:2} %{S:3} .
|
||||
|
||||
%build
|
||||
aclocal -I m4 -I m4-local
|
||||
autoconf
|
||||
automake -acf
|
||||
if [ -f /usr/%_lib/libkrb5.so ] ; then
|
||||
GSS="--with-gssapi"
|
||||
else
|
||||
GSS=""
|
||||
fi
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure --prefix=/usr \
|
||||
--enable-POP2 \
|
||||
--enable-RPA \
|
||||
--enable-NTLM \
|
||||
--enable-SDPS \
|
||||
--enable-opie \
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir} \
|
||||
--sysconfdir=/etc \
|
||||
--sharedstatedir=/var \
|
||||
--with-socks \
|
||||
$GSS \
|
||||
--with-ssl=/usr
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
ln -sf fetchmail.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/fetchmailconf.1.gz
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
|
||||
cp fetchmail.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/fetchmail
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||
mkdir -p $RPM_BUILD_ROOT/sbin
|
||||
cp fetchmail.init $RPM_BUILD_ROOT/etc/init.d/fetchmail
|
||||
chmod +x $RPM_BUILD_ROOT/etc/init.d/fetchmail
|
||||
ln -s ../etc/init.d/fetchmail $RPM_BUILD_ROOT/sbin/rcfetchmail
|
||||
touch $RPM_BUILD_ROOT/etc/fetchmailrc
|
||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
cp sysconfig.%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
mkdir -p $RPM_BUILD_ROOT/var/log
|
||||
touch $RPM_BUILD_ROOT/var/log/fetchmail
|
||||
mkdir -p $RPM_BUILD_ROOT/var/lib/fetchmail
|
||||
|
||||
%pre
|
||||
usr/sbin/useradd -r -o -g daemon -s /bin/false \
|
||||
-c "mail retrieval daemon" -d /var/lib/fetchmail fetchmail 2>/dev/null || :
|
||||
|
||||
%post
|
||||
%{fillup_and_insserv}
|
||||
# Ensure that all files are readable by fetchmail with non-root UID.
|
||||
touch var/log/fetchmail
|
||||
chown fetchmail var/log/fetchmail
|
||||
if test -f etc/fetchmailrc ; then
|
||||
chown fetchmail etc/fetchmailrc
|
||||
fi
|
||||
chmod 0600 var/log/fetchmail
|
||||
|
||||
%postun
|
||||
%{insserv_cleanup}
|
||||
if [ $1 == 0 ]; then
|
||||
rm -rf var/lib/fetchmail
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING FAQ FEATURES NEWS NOTES OLDNEWS README README.NTLM README.SSL TODO contrib *.html *.txt *.pdf
|
||||
%doc %{_mandir}/man1/fetchmail.1.gz
|
||||
/usr/bin/fetchmail
|
||||
/usr/share/locale/*/LC_MESSAGES/fetchmail.mo
|
||||
/etc/logrotate.d/fetchmail
|
||||
/etc/init.d/fetchmail
|
||||
%ghost %config(noreplace) %attr (0600, fetchmail, root) /etc/fetchmailrc
|
||||
/sbin/rcfetchmail
|
||||
/var/adm/fillup-templates/sysconfig.%{name}
|
||||
%ghost %attr (0600, fetchmail, root) /var/log/fetchmail
|
||||
%dir %attr (0700, fetchmail, root) /var/lib/fetchmail
|
||||
|
||||
%files -n fetchmailconf
|
||||
%defattr(-, root, root)
|
||||
/usr/bin/fetchmailconf
|
||||
/usr/%_lib/python*/site-packages/fetchmailconf.*
|
||||
%doc %{_mandir}/man1/fetchmailconf.1.gz
|
||||
|
||||
%changelog -n fetchmail
|
||||
* Wed Oct 25 2006 - sbrabec@suse.cz
|
||||
- Fixed problems caused by calling daemon as non-root (#207305).
|
||||
* Mon Oct 23 2006 - sbrabec@suse.cz
|
||||
- Updated to version 6.3.5:
|
||||
* Bug fixes.
|
||||
* Translation updates.
|
||||
* Logging behavior changes.
|
||||
* fetchmail now supports foo@example.org=bar user mappings for
|
||||
multidrop boxes.
|
||||
* Bouncing improvements.
|
||||
* Improved IMAP and SDPS behavior.
|
||||
* See NEWS for deprecated features and major incompatible change
|
||||
advance warnings.
|
||||
* Sat Oct 21 2006 - schwab@suse.de
|
||||
- Run automake.
|
||||
* Thu Jun 01 2006 - sbrabec@suse.cz
|
||||
- By default run as non-root user fetchmail (159764#c1).
|
||||
- Implemented "oneshot" in the init script (159764#c8).
|
||||
* Mon Apr 03 2006 - sbrabec@suse.cz
|
||||
- Backported fixes for two crashes (159764#c9, 159764#c10).
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 23 2006 - sbrabec@suse.cz
|
||||
- Updated to version 6.3.2 (fixes CVE-2006-0321).
|
||||
* Tue Jan 10 2006 - sbrabec@suse.cz
|
||||
- Updated to version 6.3.1 (fixes #140475).
|
||||
* Mon Dec 05 2005 - sbrabec@suse.cz
|
||||
- Updated to version 6.3.0 (fixes #131232).
|
||||
* Wed Jul 27 2005 - sbrabec@suse.cz
|
||||
- Updated to version 6.2.5.2 (#97555).
|
||||
* Mon Apr 25 2005 - sbrabec@suse.cz
|
||||
- Prevent lost mails with NULL envelope (#80331).
|
||||
* Thu Feb 03 2005 - ro@suse.de
|
||||
- fix build on older distributions
|
||||
* Wed Jan 19 2005 - sbrabec@suse.cz
|
||||
- Turned on GSSAPI, SOCKS and RSAREF support.
|
||||
- Fixed implicit declaration and random result warnings.
|
||||
* Fri Sep 24 2004 - sbrabec@suse.cz
|
||||
- Added more sysconfig options for init script.
|
||||
* Thu Sep 16 2004 - aj@suse.de
|
||||
- Remove wrong definition.
|
||||
* Tue Aug 31 2004 - sbrabec@suse.cz
|
||||
- Added sendmail to Required-Start/Stop (#44500).
|
||||
* Wed May 05 2004 - sbrabec@suse.cz
|
||||
- Added sysconfig variable for polling interval (#39777).
|
||||
- Init script adapted to conform latest LSB.
|
||||
* Tue Apr 27 2004 - ro@suse.de
|
||||
- fix missing return value in pop2.c
|
||||
* Tue Mar 30 2004 - sbrabec@suse.cz
|
||||
- Added /etc/fetchmailrc to file list.
|
||||
* Thu Mar 25 2004 - mmj@suse.de
|
||||
- Add postfix to # neededforbuild
|
||||
* Wed Mar 10 2004 - sbrabec@suse.cz
|
||||
- Set fetchsizelimit for APOP and RPOP (bug #35555).
|
||||
http://lists.ccil.org/pipermail/fetchmail-friends/2003-October/003958.html
|
||||
* Wed Feb 04 2004 - sbrabec@suse.cz
|
||||
- Updated to version 6.2.5.
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%defattr
|
||||
* Thu Oct 23 2003 - kukuk@suse.de
|
||||
- Remove wrong requires
|
||||
* Thu Aug 07 2003 - sbrabec@suse.cz
|
||||
- Updated to version 6.2.3.
|
||||
* Tue May 20 2003 - mmj@suse.de
|
||||
- Fix typo
|
||||
* Wed Mar 26 2003 - sbrabec@suse.cz
|
||||
- Updated to version 6.2.2.
|
||||
- Created startup script.
|
||||
* Thu Jan 16 2003 - sbrabec@suse.cz
|
||||
- Updated to version 6.2.1.
|
||||
* Fri Dec 13 2002 - mmj@suse.de
|
||||
- Update to 6.2.0 which has security fix for rfc822.c and some
|
||||
translations plus an SMTP timeout patch
|
||||
* Tue Dec 10 2002 - sbrabec@suse.cz
|
||||
- Updated to version 6.1.3.
|
||||
* Wed Nov 20 2002 - sbrabec@suse.cz
|
||||
- Spec file cleanup (bug #21912).
|
||||
* Thu Oct 24 2002 - sbrabec@suse.cz
|
||||
- Update to version 6.1.1.
|
||||
* Tue Oct 01 2002 - sbrabec@suse.cz
|
||||
- Removed --with-included-gettext and re-enabled NLS.
|
||||
- OPIE/OTP fixes.
|
||||
- Spec file cleanup.
|
||||
* Fri Sep 27 2002 - mmj@suse.de
|
||||
- Update to 6.1.0 including since 5.9.13:
|
||||
o Support for STARTTLS over IMAP
|
||||
o Cleanups and bugfixes
|
||||
o Translation update
|
||||
o Fix for potential remote vulnerability in multidrop mode,
|
||||
which according to the author is an important security fix.
|
||||
* Mon Jul 29 2002 - jreuter@suse.de
|
||||
- more spec file cleanup
|
||||
* Mon Jul 29 2002 - jreuter@suse.de
|
||||
- added /etc/logrotate.d/fetchmail (Bugzilla #17279)
|
||||
- spec file cleanup
|
||||
* Fri Jul 19 2002 - jreuter@suse.de
|
||||
- removed /usr/share/locale/*/LC_MESSAGES/fetchmail.mo from file list
|
||||
* Wed Jul 17 2002 - jreuter@suse.de
|
||||
- updated to version 5.9.13
|
||||
- disabled NLS support because it doesn't compile and esr is about
|
||||
to remove it anyway
|
||||
- complete changelog: http://tuxedo.org/~esr/fetchmail/NEWS
|
||||
* Sat Mar 23 2002 - kukuk@suse.de
|
||||
- Fix fetchmailconf (wrong python widget destroy calls) [Bug #15391]
|
||||
* Mon Sep 17 2001 - bjacke@suse.de
|
||||
- minor fixes in README.SUSE
|
||||
* Thu Aug 16 2001 - bjacke@suse.de
|
||||
- update to 5.9.0
|
||||
* Thu Jul 12 2001 - bjacke@suse.de
|
||||
- update to 5.8.14
|
||||
* Fri Jun 15 2001 - bjacke@suse.de
|
||||
- patch to prevent buffer overflow due to long headers
|
||||
* Tue Apr 03 2001 - bjacke@suse.de
|
||||
- update to 5.8.0
|
||||
* Thu Mar 22 2001 - ro@suse.de
|
||||
- added split-aliases as provides
|
||||
* Wed Feb 14 2001 - bjacke@suse.de
|
||||
- updated to 5.6.5 (fixes #6245)
|
||||
- fix fetchmailconf nospambounce problem
|
||||
- enable RPA protocol
|
||||
* Fri Jan 05 2001 - bjacke@suse.de
|
||||
- disabled IPv6 support for the time being to fix bug #5111
|
||||
* Wed Dec 20 2000 - garloff@suse.de
|
||||
- pass --enable-NTLM to configure in order to enable M$ Exchange
|
||||
compatible auth proto
|
||||
- explicitly specify the directories with --mandir etc ...
|
||||
- Use DESTDIR= instead of prefix to pass RPM_BUILD_ROOT
|
||||
- add %%{?suse_update_config}
|
||||
* Mon Dec 18 2000 - bjacke@suse.de
|
||||
- some spec file fixes
|
||||
* Mon Dec 18 2000 - ro@suse.de
|
||||
- Fix requires for fetchmailconf (again)
|
||||
* Mon Dec 18 2000 - bjacke@suse.de
|
||||
- merged ssl stuff from fetchmailssl to fetchmail package
|
||||
* Wed Nov 29 2000 - bjacke@suse.de
|
||||
- updated to 5.6.0
|
||||
- adjust README to new boot concept
|
||||
* Fri Nov 10 2000 - bjacke@suse.de
|
||||
- updated to version 5.5.5
|
||||
- switched to long names
|
||||
- added README.SuSE
|
||||
* Sun Sep 03 2000 - bjacke@suse.de
|
||||
- update to fetchmail-5.5.1
|
||||
* Tue May 23 2000 - bk@suse.de
|
||||
- moved fetchmailconf man page to subpackage fetchmcf
|
||||
* Mon May 15 2000 - bk@suse.de
|
||||
- update to fetchmail-5.4.0, new major version.
|
||||
* Wed Mar 01 2000 - werner@suse.de
|
||||
- Fix config.guess selection
|
||||
* Thu Feb 24 2000 - dipa@suse.de
|
||||
- update to fetchmail-5.3. update to fetchmail-5.3.00
|
||||
* Tue Feb 15 2000 - bk@suse.de
|
||||
- update to fetchmail-5.2.8, that's the code freeze release for 5.3.0
|
||||
* Tue Feb 08 2000 - bk@suse.de
|
||||
- update to fetchmail-5.2.7, Eric's changelog to 5.2.6 is very small:
|
||||
* Updated FAQ and
|
||||
* Updated es.po.
|
||||
* Disable mail notification on server unreachable. This turned out to
|
||||
be a very bad idea.
|
||||
* Tue Feb 01 2000 - ro@suse.de
|
||||
- specfile typo
|
||||
* Tue Feb 01 2000 - ro@suse.de
|
||||
- create man directory
|
||||
* Mon Jan 31 2000 - bk@suse.de
|
||||
- restarted spec from package-provided spec, subpackages fetchmcf (fetchmailconf)
|
||||
* Wed Oct 20 1999 - bk@suse.de
|
||||
- split-off from pop, update to 5.1.2
|
3
fetchmail.xpm
Normal file
3
fetchmail.xpm
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a63b6193339d8541557d032922acdfa31ab62b3bb4c3c7fdf1ab91f3f8d24438
|
||||
size 10639
|
17
fm635-daemon-logfile.patch
Normal file
17
fm635-daemon-logfile.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: daemon.c
|
||||
===================================================================
|
||||
--- daemon.c (revision 4920)
|
||||
+++ daemon.c (working copy)
|
||||
@@ -218,10 +218,9 @@
|
||||
if ((logfd = open(logfile, O_CREAT|O_WRONLY|O_APPEND, 0666)) < 0) { /* stdout */
|
||||
report(stderr, "cannot open %s: %s\n", logfile, strerror(errno));
|
||||
return PS_IOERR;
|
||||
- } else
|
||||
- logfd = 0; /* use /dev/null */
|
||||
+ }
|
||||
} else
|
||||
- logfd = 0; /* this is /dev/null */
|
||||
+ logfd = 0; /* else use /dev/null */
|
||||
|
||||
/* Close any/all open file descriptors */
|
||||
#if defined(HAVE_GETDTABLESIZE)
|
47
sysconfig.fetchmail
Normal file
47
sysconfig.fetchmail
Normal file
@ -0,0 +1,47 @@
|
||||
## Path: Network/Mail/Fetchmail
|
||||
## Description: Fetchmail init script options
|
||||
## ServiceRestart: fetchmail
|
||||
## Type: integer
|
||||
## Default: 600
|
||||
#
|
||||
# Polling interval in seconds for daemon mode. Mails are regularly
|
||||
# fetched in this interval.
|
||||
#
|
||||
FETCHMAIL_POLLING_INTERVAL="600"
|
||||
|
||||
## Type: yesno
|
||||
## Default: yes
|
||||
#
|
||||
# The default is to retrieve all messages on server. If you want to
|
||||
# retrieve only new messages and keep old (seen) messages, disable
|
||||
# this option.
|
||||
#
|
||||
FETCHMAIL_FETCHALL="yes"
|
||||
|
||||
## Type: yesno
|
||||
## Default: no
|
||||
#
|
||||
# Fetchmail logs by default all retrieved or kept messages. If you do
|
||||
# not want to log every single message fetchmail downloads or keeps on
|
||||
# the server every time it polls, enable this option.
|
||||
#
|
||||
FETCHMAIL_SILENT="no"
|
||||
|
||||
## Type: list(fetchmail,root)
|
||||
## Default: fetchmail
|
||||
#
|
||||
# Fetchmail runs by default as a non-root user. This is more secure, but
|
||||
# can cause problems when using delivery via MDA. In this case, change
|
||||
# it to "root".
|
||||
#
|
||||
FETCHMAIL_USER="fetchmail"
|
||||
|
||||
## Type: string
|
||||
## Default: ""
|
||||
#
|
||||
# Any additional fetchmail options. See fetchmail(1) manual page for
|
||||
# more information. If you want to use --mda option, it may be required
|
||||
# to change FETCHMAIL_USER to root. Consult your MDA documentation for
|
||||
# more.
|
||||
#
|
||||
FETCHMAIL_EXPERT_OPTIONS=""
|
Loading…
x
Reference in New Issue
Block a user