Changes between Version 9 and Version 10 of howto/SetupFetchmail
- Timestamp:
- Apr 14, 2009, 1:36:26 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SetupFetchmail
v9 v10 50 50 Depending on which fetchmail (macports or OSX) is used you might want to change the pathnames to better reflect you system set-up. 51 51 52 ''Note:'' 53 54 * 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}}}. 55 52 56 === Step 3: ''set-up configuration'' === 53 57 … … 55 59 56 60 As a starting point you can use [attachment:fetchmailrc]. You will need to add all your mail source to [attachment:fetchmailrc]. 61 62 ''Note:'' 63 64 * 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! 57 65 58 66 === Step 4: ''starting the daemon'' === … … 63 71 64 72 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. 73 74 ''Note:'' 75 76 * 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. 65 77 66 78 === Step 5: ''testing the deamon'' ===