[MacPorts] howto/SetupFetchmail modified

MacPorts noreply at macports.org
Sat Jun 14 10:19:47 PDT 2014


Page "howto/SetupFetchmail" was changed by khindenburg at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/SetupFetchmail?action=diff&version=15>
Revision 15
Comment: remove zsh reference - change folder for macports version of fetchmail
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/SetupFetchmail
=========================================================================
--- howto/SetupFetchmail (version: 14)
+++ howto/SetupFetchmail (version: 15)
@@ -3,7 +3,8 @@
 = How to set-up fetchmail =
 
  * Audience: Advanced E-Mail setup
- * Requires: MacPorts >= 1.6, mail/fetchmail, shells/zsh
+ * Requires: MacPorts >= 1.6, mail/fetchmail
+ * Last tested with Mac OS X 10.9.3
 
 == Introduction ==
 
@@ -17,23 +18,15 @@
 
 First set-up a mail storage and a [wikipedia:Mail_transfer_agent mail transfer agent]  . See [wiki:howto/SetupDovecot Dovecot] and [wiki:howto/SetupPostfix Postfix] a possible set-up. Fetchmail will not work without and you can lose your mail if those components are not set-up properly.
 
-=== Z-Shell ===
-
-Install Z-Shell if you are planning to use the attached command files:
-
-{{{
-sudo port install zsh
-}}}
-
 === Fetchmail ===
 
-Then install fetchmail with 
+Install fetchmail with 
 
 {{{
 sudo port install fetchmail +fetchmailconf +ssl 
 }}}
 
-Some older OSX version may come preinstalled with fetchmail (OSX 10.5).
+Some older OSX version may come preinstalled with fetchmail (OSX 10.5).  For this howto we will be using macports's version.
 
 == Configuration ==
 
@@ -47,19 +40,21 @@
 
 Dovecot need two directories to work with - one to store the run status, one for the log files. You can use the [attachment:Make_Fetchmail_Directories.command] to create the directories.
 
-Depending on which fetchmail (macports or OSX) is used you might want to change the path names to better reflect you system set-up.
+/opt/local/var/log/fetchmail
+/opt/local/var/run/fetchmail
 
-''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}}}.
+These also need to be owned by _fetchmail
+{{{
+sudo chown _fetchmail:_fetchmail /opt/local/var/log/fetchmail
+sudo chown _fetchmail:_fetchmail /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.
+Next you need to set up [attachment:fetchmailrc] and save it to {{{/opt/local/etc}}}. The file should be owned by _fetchmail:_fetchmail and only be readable to _fetchmail an no one else.
 {{{
-sudo chown _fetchmail:_fetchmail /private/etc/fetchmailrc
+sudo chown _fetchmail:_fetchmail /opt/local/etc/fetchmailrc
 }}}
-
 
 As a starting point you can use [attachment:fetchmailrc]. You will need to add all your mail source to [attachment:fetchmailrc].
 
@@ -71,13 +66,11 @@
 
 Fetchmail is started using {{{launchd}}} which is controlled by the attached [attachment:org.macports.fetchmail.plist].
 
-Depending on which fetchmail (macports or OSX) is used you might want to change the path names 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.
+ * The logfile defined in [attachment:fetchmailrc] can only be used without {{{--nodetach}}} (see [http://www.fetchmail.info/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<--------

--
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