[MacPorts] howto/SetupFetchmail modified

MacPorts noreply at macports.org
Tue Apr 14 06:36:28 PDT 2009


Changed page "howto/SetupFetchmail" by samwz at gmx.at from 86.56.210.128*
Page URL: <http://trac.macports.org/wiki/howto/SetupFetchmail>
Diff URL: <http://trac.macports.org/wiki/howto/SetupFetchmail?action=diff&version=10>
Revision 10
Comment: Suggestions to changes in the presented configuration

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/SetupFetchmail
=========================================================================
--- howto/SetupFetchmail (version: 9)
+++ howto/SetupFetchmail (version: 10)
@@ -49,11 +49,19 @@
 
 Depending on which fetchmail (macports or OSX) is used you might want to change the pathnames to better reflect you system set-up.
 
+''Note:''
+
+ * The directory {{{/var/run}}} (also {{{/opt/local/var/run}}} ?) is wiped every boot. I suggest using {{{(/opt/local)/var/fetchmail}}} instead of {{{(/opt/local)/var/run/fetchmail}}}.
+
 === Step 3: ''set-up configuration'' ===
 
 Next you need to set up [attachment:fetchmailrc]. You find the file in {{{/opt/local/etc}}} (macports) or {{{/private/etc}}}. The file should be owned by _fetchmail:_fetchmail and only be readable to _fetchmail an no one else.
 
 As a starting point you can use [attachment:fetchmailrc]. You will need to add all your mail source to [attachment:fetchmailrc].
+
+''Note:''
+
+ * The "ID-file" is used to store the message IDs of messages already downloaded. If you use the {{{keep}}} option with one of your mail sources to ''not'' delete messages on the server after downloading them the ID-file is used to prevent downloading these messages again on the next run of fetchmail. Do not put this file in a directory under {{{(/opt/local)/var/run}}} as suggested in [attachment:fetchmailrc] as it will be deleted the next time your machine (re)boots which will result in duplicating your emails!
 
 === Step 4: ''starting the daemon'' ===
 
@@ -62,6 +70,10 @@
 Depending on which fetchmail (macports or OSX) is used you might want to change the pathnames to better reflect you system setup.
 
 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.
+
+''Note:''
+
+ * The logfile defined in [attachment:fetchmailrc] can only be used without {{{--nodetach}}} (see [http://fetchmail.berlios.de/fetchmail-man.html#24 man fetchmail]). With the configuration currently presented here everything will be logged to the system log.
 
 === Step 5: ''testing the deamon'' ===
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/SetupFetchmail. If it was not you, please
report to .


More information about the macports-changes mailing list