[MacPorts] howto/SetupFetchmail modified
MacPorts
noreply at macports.org
Sat Jun 14 14:02:09 PDT 2014
Page "howto/SetupFetchmail" was changed by khindenburg at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/SetupFetchmail?action=diff&version=18>
Revision 18
Comment: Finally figured out to get the daemon poll to work
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/SetupFetchmail
=========================================================================
--- howto/SetupFetchmail (version: 17)
+++ howto/SetupFetchmail (version: 18)
@@ -66,28 +66,33 @@
=== Step 4: ''starting the daemon'' ===
-Fetchmail is started using {{{launchd}}} which is controlled by the attached [attachment:org.macports.fetchmail.plist].
+Fetchmail is started using {{{launchd}}} which is controlled by macport's fetchmail installed {{{/opt/local/etc/LaunchDaemons/org.macports.fetchmail/org.macports.fetchmail.plist}}}
+
"Note:"
* (As of Jun 2014), the .plist uses a wrapper that denotes the fetchmailrc file as /opt/local/etc/.fetchmail so unless you want to edit this file, create a link
{{{
sudo ln -s /opt/local/etc/fetchmail /opt/local/etc/.fetchmail
}}}
- * (As of Jun 2014), fetchmail.wrapper must be edited and the -d120 removed
+ * (As of Jun 2014), change fetchmail.wrapper such that the Start() looks like the below.
{{{
sudo vi /opt/local/etc/LaunchDaemons/org.macports.fetchmail/fetchmail.wrapper
}}}
+{{{
+Start()$
+{$
+ /opt/local/bin/fetchmail -f /opt/local/etc/.fetchmail --daemon=1200 --nodetach$
+}$
+}}}
+
* (As of Jun 2014), org.macports.fetchmail.plist must be edited and these 2 lines added before the </dict></plist>
{{{
sudo vi /opt/local/etc/LaunchDaemons/org.macports.fetchmail/org.macports.fetchmail.plist
-
+}}}
+{{{
<key>UserName</key>
<string>_fetchmail</string>
}}}
-
-"Note:"
-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.
-
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.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/SetupFetchmail>
MacPorts <http://www.macports.org/>
Ports system for OS X
This is an automated message. Someone added your email address to be
notified of changes on 'howto/SetupFetchmail' page.
If it was not you, please report to .
More information about the macports-changes
mailing list