Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:macosx [2012/04/11 14:11] – Fix typos amatubuhowtos:macosx [2015/04/11 10:07] amatubu
Line 1: Line 1:
 ====== Using POPFile on Mac OS X Platforms ====== ====== Using POPFile on Mac OS X Platforms ======
  
-POPFile v1.1.0 comes with the first official Mac OS X installer! You can now install POPFile on your Mac easily.  **POPFile v1.1.3 is compatible with Mac OS X 10.(Lion)**.+POPFile v1.1.0 comes with the first official Mac OS X installer! You can now install POPFile on your Mac easily.  **POPFile v1.1.3 is compatible with Mac OS X 10.10 (Yosemite)**.
  
 ===== System Requirements ===== ===== System Requirements =====
Line 65: Line 65:
 ====== Installing POPfile MANUALLY on Mac OS X 10.4.x (Tiger) or later ====== ====== Installing POPfile MANUALLY on Mac OS X 10.4.x (Tiger) or later ======
  
-This procedure shows you how to install POPfile on Mac OS X 10.4.x systems, and how to create a startup item that will start POPfile each time you reboot the system. +This procedure shows you how to install POPfile on Mac OS X 10.4.x or later systems, and how to create a startup item that will start POPfile each time you reboot the system. 
  
 As of Mac OS X 10.4, Mac OS X comes with Perl and SQLite3 installed. So you'll simply need to install Xcode, a few Perl library packages, and a startup item.  As of Mac OS X 10.4, Mac OS X comes with Perl and SQLite3 installed. So you'll simply need to install Xcode, a few Perl library packages, and a startup item. 
  
-At the time of this writing (January 2007), POPfile does not fully support SQLite3. On Mac OS X 10.4.x systems, POPfile requires the SQLite2 Perl package, DBD::SQLite2. So to run POPfile in Mac OS X 10.4.x, you'll need to install: +To run POPfile in Mac OS X 10.4.x or later, you'll need to install: 
  
   * Apple's Xcode developer tools — to compile and install some Perl library packages    * Apple's Xcode developer tools — to compile and install some Perl library packages 
   * Perl library packages — that POPfile uses to classify email    * Perl library packages — that POPfile uses to classify email 
   * POPfile startup item — to automatically start POPfile whenever you restart your computer    * POPfile startup item — to automatically start POPfile whenever you restart your computer 
-  * SQLite version 2 command-line tool (Optional) — an external tool you may use to de-fragment or verify the integrity of your POPfile database 
  
 **Note**: Because setting up CPAN, a Perl package manager, or Fink, another package manager, on a virgin system can complicate matters, we'll stick with the source and do it the old-school way to avoid complications.  **Note**: Because setting up CPAN, a Perl package manager, or Fink, another package manager, on a virgin system can complicate matters, we'll stick with the source and do it the old-school way to avoid complications. 
Line 81: Line 80:
  
 **TIP**: On the command line, %%~%% means "your home directory". So ''~/Desktop/packages'' means ''/Users/yourusername/Desktop/packages''. **TIP**: On the command line, %%~%% means "your home directory". So ''~/Desktop/packages'' means ''/Users/yourusername/Desktop/packages''.
- 
-**Note**: An alternative set of instructions is available [[http://www.artz-net.de/popfile/ | here]] by Michael Artz. 
  
 ===== Step By Step Instructions ===== ===== Step By Step Instructions =====
Line 94: Line 91:
   - Download the cross-platform version of POPFile from here: [[http://sourceforge.net/project/showfiles.php?group_id=63137&package_id=59947| Cross-Platform POPfile]]   - Download the cross-platform version of POPFile from here: [[http://sourceforge.net/project/showfiles.php?group_id=63137&package_id=59947| Cross-Platform POPfile]]
   - Download these Perl library packages (from the [[http://search.cpan.org| CPAN Web Site]]) and place them all into a folder on your desktop named "packages":   - Download these Perl library packages (from the [[http://search.cpan.org| CPAN Web Site]]) and place them all into a folder on your desktop named "packages":
-    * Date::Parse - part of [[http://search.cpan.org/~gbarr/TimeDate-1.16/| TimeDate]] +    * Date::Parse - part of [[http://search.cpan.org/~gbarr/TimeDate/| TimeDate]] 
-    * Date::Format - also part of [[http://search.cpan.org/~gbarr/TimeDate-1.16/| TimeDate]] +    * Date::Format - also part of [[http://search.cpan.org/~gbarr/TimeDate/| TimeDate]] 
-    * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]] +    * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset/| HTML-Tagset]] 
-    * DBI - [[http://search.cpan.org/~timb/DBI-1.53/| DBI-1.53]] +    * DBI - [[http://search.cpan.org/~timb/DBI/| DBI]] 
-    * DBD::SQLite2 - [[http://search.cpan.org/~msergeant/DBD-SQLite2-0.33/| DBD-SQLite2-0.33]] **for POPFile v1.0.1 or before** +    * DBD::SQLite2 - [[http://search.cpan.org/~msergeant/DBD-SQLite2/| DBD-SQLite2]] **for POPFile v1.0.1 or before** 
-    * DBD::SQLite - [[http://search.cpan.org/~adamk/DBD-SQLite-1.25/| DBD-SQLite-1.25]] **for POPFile v1.1.0 or later** +    * DBD::SQLite - [[http://search.cpan.org/~adamk/DBD-SQLite/| DBD-SQLite]] **for POPFile v1.1.0 or later** 
-    * HTML::Template - [[http://search.cpan.org/~samtregar/HTML-Template-2.8/| HTML-Template-2.8]] +    * HTML::Template - [[http://search.cpan.org/~samtregar/HTML-Template/| HTML-Template]] 
-    * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]]+    * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset/| HTML-Tagset]] 
 +    * Net::SSLeay [[http://search.cpan.org/~flora/Net-SSLeay/| Net-SSLeay]] **to use SSL** 
 +    * IO::Socket::SSL - [[http://search.cpan.org/~sullr/IO-Socket-SSL/| IO-Socket-SSL]] **to use SSL** 
 +    * SOAP::Lite - [[http://search.cpan.org/~mkutter/SOAP-Lite/| SOAP-Lite]] **to use XMLRPC** 
 +    * IO::Socket::Socks - [[http://search.cpan.org/~reatmon/IO-Socket-Socks/| IO-Socket-Socks]] **to use SOCKS**
   - Install each of the Perl library packages you downloaded in the previous step:   - Install each of the Perl library packages you downloaded in the previous step:
     - Open a terminal window if one is not already open.     - Open a terminal window if one is not already open.
Line 140: Line 141:
  
  
 +==== Creating a POPfile Startup Item for Mac OS X 10.10 (Yosemite) ====
  
 +  - Create the Mac OS X POPFile <nowiki>LaunchDaemons</nowiki> file:
 +  - Create a plain text file named %%"popfile.plist"%% in the %%/Library/LaunchDaeons%% folder with this content: <code><?xml version="1.0" encoding="UTF-8"?>
 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 +<plist version="1.0">
 +<dict>
 + <key>Disabled</key>
 + <false />
 + <key>EnvironmentVariables</key>
 + <dict>
 + <key>ITAIJIDICTPATH</key>
 + <string>/Library/POPFile/kakasi/itaijidict</string>
 + <key>KANWADICTPATH</key>
 + <string>/Library/POPFile/kakasi/kanwadict</string>
 + <key>MECABRC</key>
 + <string>/Library/POPFile/mecab/etc/mecabrc</string>
 + <key>POPFILE_ROOT</key>
 + <string>/Library/POPFile/</string>
 + <key>POPFILE_USER</key>
 + <string>/Library/POPFile/</string>
 + <key>VERSIONER_PERL_VERSION</key>
 + <string>5.18</string>
 + </dict>
 + <key>StandardErrorPath</key>
 + <string>/Library/Logs/POPFile/error.log</string>
 + <key>StandardOutPath</key>
 + <string>/Library/Logs/POPFile/console.log</string>
 + <key>Label</key>
 + <string>org.getpopfile.popfile</string>
 + <key>KeepAlive</key>
 + <false />
 + <key>RunAtLoad</key>
 + <true />
 + <key>ProgramArguments</key>
 + <array>
 + <string>/usr/bin/perl</string>
 + <string>-I/Library/POPFile/lib</string>
 + <string>/Library/POPFile/popfile.pl</string>
 + <string>-logger_logdir</string>
 + <string>/Library/Logs/POPFile/</string>
 + </array>
 +</dict>
 +</plist>
 +</code>
 +  - In a terminal window, enter these commands: <code>cd /Library/LaunchDaemons
 +sudo chown root:wheel popfile.plist
 +sudo chmod 644 popfile.plist
 +sudo launchctl load /Library/LaunchDaemons/popfile.plist
 +</code>
 +  - Finally, to start up POPFile without rebooting enter this terminal command: <code>sudo launchctl start org.getpopfile.popfile</code>
  
-==== Creating a POPfile Startup Item for Mac OS X ====+==== Creating a POPfile Startup Item for Mac OS X 10.9 (Mavericks or before) ====
  
 **NOTE**: You should be logged into an administrator account for this procedure. **NOTE**: You should be logged into an administrator account for this procedure.
Line 220: Line 271:
   - In a terminal window, enter these commands: <code>cd /Library/StartupItems   - In a terminal window, enter these commands: <code>cd /Library/StartupItems
 sudo chown -R root:wheel POPfile sudo chown -R root:wheel POPfile
-cd popfile+cd POPfile
 sudo chmod 754 POPfile sudo chmod 754 POPfile
 sudo chmod 644 StartupParameters.plist</code> sudo chmod 644 StartupParameters.plist</code>
 
howtos/macosx.txt · Last modified: 2015/04/11 12:07 by 127.0.0.1
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License