Claws Mail

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Claws Mail and the translation is 76% complete.

Claws MailSylpheed からフォークした GUI メールクライアントです。Claws Mail FAQ によると: Claws Mail は Sylpheed と比較して多くの機能があり、より強力でありながら、同様に高速で、軽量で、安定しています。

活発に開発されており、多くのプラグインによって拡張可能で、(Thunderbird などからの) mbox 形式でのメールボックスのインポートに対応しています。ネイティブのメールボックスフォーマットは wikipedia:MH Message Handling System ですが、プラグインを使って mbox フォーマットを使うこともできます。Claws Mail は HTML メッセージを書くことができません (Keep It Simple 原則に従っているため) が、プラグインを使ってそれらを読むことはできます。

Gentoo Linux に対しては、mail-client/claws-mail パッケージによって ia64 を除くすべてのアーキテクチャに提供されています。


USE フラグ

USE flags for mail-client/claws-mail An email client (and news reader) based on GTK+

archive Enable archiving plugin
bogofilter Build mail-filter/bogofilter plugin
calendar Add support for calendars (not using mcal!)
clamav Add support for Clam AntiVirus software (usually with a plugin)
dbus Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
gdata Enable plugin for access to Google data providers
gnutls Prefer net-libs/gnutls as SSL/TLS provider (ineffective with USE=-ssl)
imap Add support for IMAP (Internet Mail Application Protocol)
ldap Add LDAP support (Lightweight Directory Access Protocol)
libcanberra Enable sound notification in connection with USE=notification
libnotify Enable notification on the desktop in connection with USE=notification
litehtml Enable dev-libs/gumbo html viewer plugin
networkmanager Enable net-misc/networkmanager support
nls Add Native Language Support (using gettext - GNU locale utilities)
nntp Add support for newsgroups (Network News Transfer Protocol)
notification Notification for new mail in different way, see also USE flags libcanberra, libindicate and libnotify
oauth Enable OAuth2 authentication support
pdf Add general support for PDF (Portable Document Format), this replaces the pdflib and cpdflib flags
perl Add optional support/bindings for the Perl language
pgp Enable PGP support
rss Enable support for RSS feeds
session Add persistent session support
sieve Build plugin for sieve filter support
smime Build plugin for S/MIME support
spam-report Enable plugin for spam reporting to various services
spamassassin Build mail-filter/spamassassin plugin
spell Add dictionary support
startup-notification Enable application startup event feedback mechanism
svg Add support for SVG (Scalable Vector Graphics)
valgrind Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-util/valgrind
webkit Add support for the WebKit HTML rendering/layout engine
xface Add xface support used to allow a small image of xface format to be included in an email via the header 'X-Face'


適切な USE フラグ (例えば bogofilterspamassassin、または pdf) を設定すれば、Claws Mail といっしょにプラグインがコンパイルされます。

バージョン 3.9.1 より前は、プラグインは個別に emerge する必要がありました。


  • Simple way: Bogofilter is a powerful Bayesian filter which doesn't need to be configured. It quickly learns from the user's spam and ham classifications in Claws Mail. It is the preferred spam filter for desktop computers. Set the bogofilter USE flag to compile the plugin with Claws Mail.
  • Hard way: Spamassassin is a huge mail filtering system, using Bayesian filtering and external spam-definition resources. It must be extensively configured and its daemon (spamd) must be running for Claws Mail to use it. It is the preferred spam filter for mail servers. Set the spamassassin USE flag to compile the plugin with Claws Mail. Some information can be found in the articles Complete Virtual Mail Server and Mailfiltering Gateway.


Create a /etc/portage/package.use/claws-mail file to activate the desired USE flags (or add them to the /etc/portage/package.use file). To set bogofilter, pgp and archive, for example:

root #echo 'mail-client/claws-mail bogofilter pgp archive' > /etc/portage/package.use/claws-mail

Then emerge Claws Mail:

root #emerge --ask mail-client/claws-mail


  • Accounts, mail filtering, models, actions, labels, etc. are set in the Configuration menu;
  • main configuration is done in Configuration > Preferences…;
  • plugins are (de)activated in Configuration > Plugins… and configured in Configuration > Preferences…;
  • the archive plugin is run from Tools > Create Archive…;
  • the user interface can be modified: lists headers in global or message views, icons, fonts;
  • the address book can import and export several formats.


mail-client/clawsker can be installed to edit many preferences which are not in the GUI:

root #emerge --ask mail-client/clawsker

Then launch it when Claws Mail is not running:

user $clawsker

The Claws Mail preferences file is ~/.claws-mail/clawsrc.


x11-themes/claws-mail-themes で多くのアイコンテーマをインストールできます:

root #emerge --ask x11-themes/claws-mail-themes