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
Next revisionBoth sides next revision
howtos:macosx [2008/12/01 14:44] – This page is no longer a draft amatubuhowtos:macosx [2015/04/11 09:38] 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.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 9: Line 9:
   * Mac OS X 10.3.9 or later.   * Mac OS X 10.3.9 or later.
  
-  * The [[/download|latest POPFile release]].+  * The [[/download|latest POPFile release]]. \\ **Note:** there are three versions of Mac OS X installer. One is for Mac OS X 10.7 (Lion), one is for Mac OS X 10.6 (Snow Leopard) and the other is for older versions of Mac OS X.
  
   * An e-mail account that uses the POP3 protocol (most accounts do, although you can't use POPFile with web-based services like Hotmail and Yahoo! Mail without extra software. See [[:HowTos | Configuring Proxies & Firewalls]]).   * An e-mail account that uses the POP3 protocol (most accounts do, although you can't use POPFile with web-based services like Hotmail and Yahoo! Mail without extra software. See [[:HowTos | Configuring Proxies & Firewalls]]).
  
-  * Approximately 10.2MB free disk space is required for the default installation created by the Mac OS X installer.+  * Approximately 12.2MB free disk space is required for the default installation created by the Mac OS X installer.
  
   * POPFile itself occupies about 3.8MB.   * POPFile itself occupies about 3.8MB.
Line 23: Line 23:
   * The installer also installs XMLRPC module, NNTP/SMTP proxies and IMAP module.   * The installer also installs XMLRPC module, NNTP/SMTP proxies and IMAP module.
  
-  * If you need the optional SSL Support, you can install it using //POPFile-addssl.pkg// installer. The module will allow POPFile to use SSL when connecting to a mail server, an additional 1.1MB of disk space is required for the extra Perl components and SSL libraries.+  * The SSL Support is no longer an option. POPFile installer will install the modules which are needed to use SSL connections.
  
   * The word lists (called the corpus) used to classify your email will take some additional space depending on how much mail you use to train POPFile and how many buckets you create. POPFile keeps a temporary copy of recent mail (the Message History) for a few days to make it easy to correct any classification errors so some extra space is required for these recent messages. For some users only a few extra MB will be sufficient for the corpus and Message History, for others an additional 100 MB may be required.   * The word lists (called the corpus) used to classify your email will take some additional space depending on how much mail you use to train POPFile and how many buckets you create. POPFile keeps a temporary copy of recent mail (the Message History) for a few days to make it easy to correct any classification errors so some extra space is required for these recent messages. For some users only a few extra MB will be sufficient for the corpus and Message History, for others an additional 100 MB may be required.
Line 32: Line 32:
   - Run //POPFile-x.x.x.pkg// and follow the installation instructions.   - Run //POPFile-x.x.x.pkg// and follow the installation instructions.
   - POPFile will be installed in ''/Library/POPFile/'' and it will be automatically launched in background. \\ **Important note:** Nothing will appear on your screen! To check if it's running correctly, read the "Accessing POPFile" section below.   - POPFile will be installed in ''/Library/POPFile/'' and it will be automatically launched in background. \\ **Important note:** Nothing will appear on your screen! To check if it's running correctly, read the "Accessing POPFile" section below.
-  - Configure buckets. See [[:HowTos:BucketSetup | Bucket Setup]]. \\ **Important note:** The Mac OS X installer does not create any bucket on your installation unlike the Windows installer. You need to make at least two buckets before using it.+  - Configure buckets. See [[:HowTos:BucketSetup | Bucket Setup]]. \\ **Important note:** The Mac OS X installer does not create any bucket on your installation unlike the Windows installer. You need to create at least two buckets before using it.
   - Configure your email client. See [[:HowTos | Configuring Specific Mail Clients]].   - Configure your email client. See [[:HowTos | Configuring Specific Mail Clients]].
  
Line 98: Line 98:
     * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]]     * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]]
     * DBI - [[http://search.cpan.org/~timb/DBI-1.53/| DBI-1.53]]     * DBI - [[http://search.cpan.org/~timb/DBI-1.53/| DBI-1.53]]
-    * DBD::SQLite2 - [[http://search.cpan.org/~msergeant/DBD-SQLite2-0.33/| DBD-SQLite2-0.33]]+    * DBD::SQLite2 - [[http://search.cpan.org/~msergeant/DBD-SQLite2-0.33/| DBD-SQLite2-0.33]] **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**
     * HTML::Template - [[http://search.cpan.org/~samtregar/HTML-Template-2.8/| HTML-Template-2.8]]     * HTML::Template - [[http://search.cpan.org/~samtregar/HTML-Template-2.8/| HTML-Template-2.8]]
     * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]]     * HTML::Tagset - [[http://search.cpan.org/~petdance/HTML-Tagset-3.10/| HTML-Tagset-3.10]]
Line 139: Line 140:
  
  
 +==== Creating a POPfile Startup Item for Mac OS X 10.10 (Yosemite) ====
  
 +TODO
 +  - 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 218: Line 270:
         Localizable.strings</code>         Localizable.strings</code>
   - 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.admin 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>
   - Finally, to start up POPFile without rebooting enter this terminal command: <code>sudo /Library/StartupItems/POPfile/POPfile start</code>   - Finally, to start up POPFile without rebooting enter this terminal command: <code>sudo /Library/StartupItems/POPfile/POPfile start</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