Changes between Version 17 and Version 18 of howto/SetupFetchmail
- Timestamp:
- Jun 14, 2014, 9:02:07 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SetupFetchmail
v17 v18 67 67 === Step 4: ''starting the daemon'' === 68 68 69 Fetchmail is started using {{{launchd}}} which is controlled by the attached [attachment:org.macports.fetchmail.plist]. 69 Fetchmail is started using {{{launchd}}} which is controlled by macport's fetchmail installed {{{/opt/local/etc/LaunchDaemons/org.macports.fetchmail/org.macports.fetchmail.plist}}} 70 70 71 71 72 "Note:" … … 74 75 sudo ln -s /opt/local/etc/fetchmail /opt/local/etc/.fetchmail 75 76 }}} 76 * (As of Jun 2014), fetchmail.wrapper must be edited and the -d120 removed77 * (As of Jun 2014), change fetchmail.wrapper such that the Start() looks like the below. 77 78 {{{ 78 79 sudo vi /opt/local/etc/LaunchDaemons/org.macports.fetchmail/fetchmail.wrapper 79 80 }}} 81 {{{ 82 Start()$ 83 {$ 84 /opt/local/bin/fetchmail -f /opt/local/etc/.fetchmail --daemon=1200 --nodetach$ 85 }$ 86 }}} 87 80 88 * (As of Jun 2014), org.macports.fetchmail.plist must be edited and these 2 lines added before the </dict></plist> 81 89 {{{ 82 90 sudo vi /opt/local/etc/LaunchDaemons/org.macports.fetchmail/org.macports.fetchmail.plist 83 91 }}} 92 {{{ 84 93 <key>UserName</key> 85 94 <string>_fetchmail</string> 86 95 }}} 87 88 "Note:"89 This setup currently only runs once at startup; it does not try to poll every so often. Trying to have fetchmail detach will cause it to crash.90 91 96 92 97 The attached [attachment:Restart_Fetchmail.command] command will stop and restart fetchmail which forces a re-read of the configuration files and triggers an immediate mail collection - quite helpful while debugging the system.