https://www.claws-mail.org/faq/api.php?action=feedcontributions&user=193.49.93.254&feedformat=atom Claws Mail FAQ - User contributions [en] 2024-03-28T17:13:49Z User contributions MediaWiki 1.35.7 https://www.claws-mail.org/faq/index.php?title=Plugins&diff=1430 Plugins 2006-05-22T16:04:06Z <p>193.49.93.254: /* I love maildir format. Is there a usefull replacement in sylpheed, better than the maildir plugin ! */</p> <hr /> <div>=== What are plugins? ===<br /> <br /> Plugins are modules loaded (or unloaded) by Sylpheed-Claws at runtime. They provide a<br /> way to extend Sylpheed-Claws with new capabilities you really need without having all of them wasting memory.<br /> <br /> === Where are plugins located? ===<br /> <br /> Plugins are located in your &lt;tt&gt;$PREFIX/lib/sylpheed-claws/plugins&lt;/tt&gt;. Typical locations are<br /> &lt;tt&gt;/usr/lib/sylpheed-claws/plugins&lt;/tt&gt; if you installed a packaged plugin and &lt;tt&gt;/usr/local/lib/sylpheed-claws/plugins&lt;/tt&gt; if you're installing from source. (plugins have<br /> a suffix of '.so')<br /> <br /> Note that in older versions of Sylpheed-Claws (=&lt; 0.9.11) the directory name was sylpheed and not sylpheed-claws (i.e. &lt;tt&gt;$PREFIX/lib/sylpheed/plugins&lt;/tt&gt;).<br /> <br /> === I have loaded plugin X but how can I configure it? ===<br /> <br /> Plugin configuaration options can be found under '/Configuration/Preferences/Plugins/' and/or '/Configuration/[Account Preferences]/Plugins'.<br /> <br /> Some plugins have a separate interface plugin which provides the<br /> configuration pane for the X plugin. If you have loaded plugin &lt;tt&gt;X.so&lt;/tt&gt; typical name<br /> for the configuration plugin will be &lt;tt&gt;X_gtk.so&lt;/tt&gt;, but this is not mandatory, read<br /> plugin's documentation in case of doubt.<br /> <br /> === What plugins are currently available? ===<br /> <br /> The following plugins are included in the Sylpheed-Claws release tarballs<br /> <br /> ; Clam AntiVirus<br /> : Enables the scanning of message attachments in mail received from a POP, IMAP or LOCAL account using Clam AntiVirus. It can optionally delete the mail or save it to a designated folder. Preferences can be found in '/Configuration/Preferences/Plugins/Clam AntiVirus'. <br /> : Clam AntiVirus is available from http://clamav.sourceforge.net/<br /> <br /> ;Dillo HTML Viewer<br /> : Enables the viewing of html messages using the Dillo web browser, version 0.7.0 or newer. It uses Dillo's --local option by default for safe browsing. Preferences can be found in '/Configuration/Preferences/Plugins/Dillo Browser'.<br /> : Dillo is available from http://www.dillo.org/<br /> <br /> ; PGP/Core<br /> : Handles core PGP functions and is required by the PGP/Inline and PGP/MIME plugins.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; PGP/inline<br /> : Handles inline PGP signed and/or encrypted mails. You can decrypt mails, verify signatures or sign and encrypt your own mails.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; PGP/MIME<br /> : Handles PGP/MIME signed and/or encrypted mails. You can decrypt mails, verify signatures or sign and encrypt your own mails.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; SpamAssassin<br /> : Enables the scanning of incoming mail received from a POP, IMAP or LOCAL account using SpamAssassin. It can optionally delete mail identified as spam or save it to a designated folder. Preferences can be found in '/Configuration/ Preferences/Plugins/SpamAssassin'.<br /> : SpamAssassin is available from http://spamassassin.apache.org/<br /> <br /> ; Trayicon<br /> : Places an icon in the notification area that indicates whether you have any new mail. A tooltip also shows the current new, unread and total number of messages<br /> <br /> The following plugins are included in the External Plugins release tarballs<br /> <br /> ; acpi notifier<br /> : Enables mail notification via LEDs on some laptops.<br /> <br /> ; CacheSaver<br /> : Saves the caches every 60 seconds (or user-defined period).<br /> <br /> ; etPan-Privacy<br /> : Handles signature verification and decryption of encrypted messages in S/MIME, OpenPGP, and ascii-armored PGP formats.<br /> <br /> ; fetchinfo<br /> : Inserts headers containing some download information: UIDL, Sylpheed-Claws' account name, POP server, user ID and retrieval time.<br /> <br /> ; maildir<br /> : Provides direct support for Maildir++ mailboxes. With this plugin you can share your Maildir++ mailbox with other mailers or IMAP servers.<br /> <br /> ; mailmbox<br /> : Handles mailboxes in mbox format.<br /> <br /> ; perl<br /> : Intended to extend the filtering possibilities of Sylpheed-Claws. It provides a Perl interface to Sylpheed-Claws' filtering mechanism, allowing the use of full Perl power in email filters.<br /> <br /> ; RSSyl<br /> : Allows you to read your favorite newsfeeds in Sylpheed-Claws. RSS 1.0, 2.0 and Atom feeds are currently supported.<br /> <br /> ; SynCE<br /> : Assists in keeping the addressbook of a Windows CE device (Pocket PC/iPAQ, Smartphone etc) in sync with Sylpheed-Claws' addressbook, with respect to email addresses.<br /> <br /> ; vCalendar<br /> : Enables vCalendar message handling like that produced by Evolution or Outlook.<br /> <br /> === How do I configure SpamAssassin and the SpamAssassin plugin? ===<br /> <br /> There are many configurations possible, this answer applies when the spamassassin daemon spamd is running on your local computer.<br /> <br /> If you have the dependencies installed, the SpamAssassin plugin will be built automatically when building Sylpheed-Claws. When you start Sylpheed-Claws the plugin is NOT loaded or enabled. Load the plugins: Configuration|Plugins|Load Plugins, browse to your plugin directory location as described above. Load &lt;tt&gt;spamassassin.so&lt;/tt&gt;. You then need to configure it in: Configuration|Preferences|Plugins|Spamassassin. There are six items to set correctly.<br /> # Transport: For our configuration set this to Localhost. If ever you want to turn spam checking off, set this to Disabled.<br /> # Spamd: This should be set to the IP port number that spamd is listening on, it's normally 783.<br /> # Save Spam: If cleared, this tickbox tells Sylpheed-Claws to delete mails that spamassassin thinks are spam.<br /> # Save Folder: If Save Spam is set, this is the folder that Sylpheed-Claws will send spam to.<br /> # Maximum Size: Spam is usually small, so it's a waste of resources to spam check very large emails, this sets the size threshold in KBytes.<br /> # Timeout: This is the time that sylpheed will wait while spamd checks each message. The default of 30 seconds is OK for most machines, but slow ones may need this increased.<br /> <br /> Now you need to test the installation. Send yourself some spam. When you receive it, it should be placed into the spam folder that you configured. To check that spamd is being called, put a tail on your sys.log (mine is in &lt;tt&gt;/var/log/sys.log&lt;/tt&gt;, so &lt;tt&gt;tail -f /var/log/sys.log&lt;/tt&gt; works) and see if spamd runs and what it says. If it is not running for every mail message received then check carefully both the SpamAssassin and Sylpheed-Claws settings. If it is running, but not detecting spam, then you may need to train the bayesian filter - see SpamAssassin's documentation for that.<br /> <br /> === Does the SpamAssassin plugin change the email headers? ===<br /> <br /> No, it only uses the return value from SpamAssassin, (SPAM/NOT SPAM). To use header changing ability of SpamAssassin you can either configure an [[Actions|Action]] (Report as SPAM: spamassassin -r &lt; %f), or a [[Filtering and Processing of Messages|Filtering]] rule (test &quot;!(spamc -c &lt; %f)&quot;), or setup fetchmail and procmail to filter emails into your Sylpheed-Claws mailbox instead of using the plugin.<br /> <br /> === How do I configure gpg-agent and the PGP plugin? ===<br /> <br /> Attempts to use your gpg key to sign/encrypt messages will fail with a 'Signature failed' message without even asking you for your password if:<br /> # Your OS automatically starts the gpg-agent daemon AND<br /> # you only have the CURSES based pinentry program installed AND<br /> # you started sylpheed from a menu or icon<br /> (Note: my Fedora Core 4 workstation install was configured this way).<br /> The solution is to make sure that you have the pinentry-gtk or pinentry-qt programs installed. Sylpheed-Claws will then present the pinentry dialog box to get your GPG passphrase.<br /> <br /> You can tell if this is working by the dialog box presented to you for your passphrase. The pinentry dialog is a little uglier than the Sylpheed-Claws version, and the window title is 'pinentry'.<br /> <br /> One advantage of using the gpg-agent over Sylpheed-Claws password dialog is that the password caching then works with other applications using the gpg-agent (eg the command line when you specify --use-agent).<br /> <br /> Note 2: If it still refuses to work you might want to try the following steps:<br /> * Make sure your ''~/.gnupg/gpg.conf'' contains the line<br /> &lt;code&gt;use-agent&lt;/code&gt;<br /> * Create a file ''~/.gnupg/gpg-agent.conf'' with the following contents:<br /> &lt;code&gt;<br /> &lt;pre&gt;<br /> pinentry-program /usr/bin/pinentry-qt<br /> no-grab<br /> default-cache-ttl 1800<br /> &lt;/pre&gt;<br /> &lt;/code&gt;<br /> * Add the following line to some startup script. (In case of KDE you could use ''~/.kde/env/gpgagent.sh'' - The filename does not matter, the contents of ''~/.kde/env/'' is sourced by startkde)<br /> &lt;pre&gt;eval &quot;$(gpg-agent --daemon)&quot;&lt;/pre&gt;<br /> <br /> <br /> === I love maildir format. Is there a usefull replacement in sylpheed, better than the maildir plugin ? ===<br /> <br /> The maildir plugin works well in sylpheed claws. Nevertheless, if you plan to use tons of emails (i.e. X Go of mails), then the maildir plugin is not enough efficient to be usable (tested with 2Go of mails, folders with 30000 mails are long to display).<br /> <br /> The good solution is to use the native format of Sylpheed: the MH format. You have to ways of doing this:<br /> <br /> * Use a local account in MH format: you use the filters of sylpheed to drop the mails directly on your disk in MH format. Then searching, indexing is very very fast.<br /> <br /> * Use an IMAP account: if doing this way, your emails remains on the IMAP server BUT, when displayed, your mails are downloaded and stored in MH format on your disk too. They are dropped in ~/.sylpheed-claws/imapcache/ and are synchronized with the server (see Synchronize folder in File menu).<br /> <br /> In the two cases, sylpheed use the mh format and you can browse your emails with an alternative mail client able to read MH.</div> 193.49.93.254 https://www.claws-mail.org/faq/index.php?title=Plugins&diff=1429 Plugins 2006-05-22T16:02:34Z <p>193.49.93.254: </p> <hr /> <div>=== What are plugins? ===<br /> <br /> Plugins are modules loaded (or unloaded) by Sylpheed-Claws at runtime. They provide a<br /> way to extend Sylpheed-Claws with new capabilities you really need without having all of them wasting memory.<br /> <br /> === Where are plugins located? ===<br /> <br /> Plugins are located in your &lt;tt&gt;$PREFIX/lib/sylpheed-claws/plugins&lt;/tt&gt;. Typical locations are<br /> &lt;tt&gt;/usr/lib/sylpheed-claws/plugins&lt;/tt&gt; if you installed a packaged plugin and &lt;tt&gt;/usr/local/lib/sylpheed-claws/plugins&lt;/tt&gt; if you're installing from source. (plugins have<br /> a suffix of '.so')<br /> <br /> Note that in older versions of Sylpheed-Claws (=&lt; 0.9.11) the directory name was sylpheed and not sylpheed-claws (i.e. &lt;tt&gt;$PREFIX/lib/sylpheed/plugins&lt;/tt&gt;).<br /> <br /> === I have loaded plugin X but how can I configure it? ===<br /> <br /> Plugin configuaration options can be found under '/Configuration/Preferences/Plugins/' and/or '/Configuration/[Account Preferences]/Plugins'.<br /> <br /> Some plugins have a separate interface plugin which provides the<br /> configuration pane for the X plugin. If you have loaded plugin &lt;tt&gt;X.so&lt;/tt&gt; typical name<br /> for the configuration plugin will be &lt;tt&gt;X_gtk.so&lt;/tt&gt;, but this is not mandatory, read<br /> plugin's documentation in case of doubt.<br /> <br /> === What plugins are currently available? ===<br /> <br /> The following plugins are included in the Sylpheed-Claws release tarballs<br /> <br /> ; Clam AntiVirus<br /> : Enables the scanning of message attachments in mail received from a POP, IMAP or LOCAL account using Clam AntiVirus. It can optionally delete the mail or save it to a designated folder. Preferences can be found in '/Configuration/Preferences/Plugins/Clam AntiVirus'. <br /> : Clam AntiVirus is available from http://clamav.sourceforge.net/<br /> <br /> ;Dillo HTML Viewer<br /> : Enables the viewing of html messages using the Dillo web browser, version 0.7.0 or newer. It uses Dillo's --local option by default for safe browsing. Preferences can be found in '/Configuration/Preferences/Plugins/Dillo Browser'.<br /> : Dillo is available from http://www.dillo.org/<br /> <br /> ; PGP/Core<br /> : Handles core PGP functions and is required by the PGP/Inline and PGP/MIME plugins.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; PGP/inline<br /> : Handles inline PGP signed and/or encrypted mails. You can decrypt mails, verify signatures or sign and encrypt your own mails.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; PGP/MIME<br /> : Handles PGP/MIME signed and/or encrypted mails. You can decrypt mails, verify signatures or sign and encrypt your own mails.<br /> : Uses GnuPG/GPGME, ftp://ftp.gnupg.org/gcrypt/gpgme/<br /> <br /> ; SpamAssassin<br /> : Enables the scanning of incoming mail received from a POP, IMAP or LOCAL account using SpamAssassin. It can optionally delete mail identified as spam or save it to a designated folder. Preferences can be found in '/Configuration/ Preferences/Plugins/SpamAssassin'.<br /> : SpamAssassin is available from http://spamassassin.apache.org/<br /> <br /> ; Trayicon<br /> : Places an icon in the notification area that indicates whether you have any new mail. A tooltip also shows the current new, unread and total number of messages<br /> <br /> The following plugins are included in the External Plugins release tarballs<br /> <br /> ; acpi notifier<br /> : Enables mail notification via LEDs on some laptops.<br /> <br /> ; CacheSaver<br /> : Saves the caches every 60 seconds (or user-defined period).<br /> <br /> ; etPan-Privacy<br /> : Handles signature verification and decryption of encrypted messages in S/MIME, OpenPGP, and ascii-armored PGP formats.<br /> <br /> ; fetchinfo<br /> : Inserts headers containing some download information: UIDL, Sylpheed-Claws' account name, POP server, user ID and retrieval time.<br /> <br /> ; maildir<br /> : Provides direct support for Maildir++ mailboxes. With this plugin you can share your Maildir++ mailbox with other mailers or IMAP servers.<br /> <br /> ; mailmbox<br /> : Handles mailboxes in mbox format.<br /> <br /> ; perl<br /> : Intended to extend the filtering possibilities of Sylpheed-Claws. It provides a Perl interface to Sylpheed-Claws' filtering mechanism, allowing the use of full Perl power in email filters.<br /> <br /> ; RSSyl<br /> : Allows you to read your favorite newsfeeds in Sylpheed-Claws. RSS 1.0, 2.0 and Atom feeds are currently supported.<br /> <br /> ; SynCE<br /> : Assists in keeping the addressbook of a Windows CE device (Pocket PC/iPAQ, Smartphone etc) in sync with Sylpheed-Claws' addressbook, with respect to email addresses.<br /> <br /> ; vCalendar<br /> : Enables vCalendar message handling like that produced by Evolution or Outlook.<br /> <br /> === How do I configure SpamAssassin and the SpamAssassin plugin? ===<br /> <br /> There are many configurations possible, this answer applies when the spamassassin daemon spamd is running on your local computer.<br /> <br /> If you have the dependencies installed, the SpamAssassin plugin will be built automatically when building Sylpheed-Claws. When you start Sylpheed-Claws the plugin is NOT loaded or enabled. Load the plugins: Configuration|Plugins|Load Plugins, browse to your plugin directory location as described above. Load &lt;tt&gt;spamassassin.so&lt;/tt&gt;. You then need to configure it in: Configuration|Preferences|Plugins|Spamassassin. There are six items to set correctly.<br /> # Transport: For our configuration set this to Localhost. If ever you want to turn spam checking off, set this to Disabled.<br /> # Spamd: This should be set to the IP port number that spamd is listening on, it's normally 783.<br /> # Save Spam: If cleared, this tickbox tells Sylpheed-Claws to delete mails that spamassassin thinks are spam.<br /> # Save Folder: If Save Spam is set, this is the folder that Sylpheed-Claws will send spam to.<br /> # Maximum Size: Spam is usually small, so it's a waste of resources to spam check very large emails, this sets the size threshold in KBytes.<br /> # Timeout: This is the time that sylpheed will wait while spamd checks each message. The default of 30 seconds is OK for most machines, but slow ones may need this increased.<br /> <br /> Now you need to test the installation. Send yourself some spam. When you receive it, it should be placed into the spam folder that you configured. To check that spamd is being called, put a tail on your sys.log (mine is in &lt;tt&gt;/var/log/sys.log&lt;/tt&gt;, so &lt;tt&gt;tail -f /var/log/sys.log&lt;/tt&gt; works) and see if spamd runs and what it says. If it is not running for every mail message received then check carefully both the SpamAssassin and Sylpheed-Claws settings. If it is running, but not detecting spam, then you may need to train the bayesian filter - see SpamAssassin's documentation for that.<br /> <br /> === Does the SpamAssassin plugin change the email headers? ===<br /> <br /> No, it only uses the return value from SpamAssassin, (SPAM/NOT SPAM). To use header changing ability of SpamAssassin you can either configure an [[Actions|Action]] (Report as SPAM: spamassassin -r &lt; %f), or a [[Filtering and Processing of Messages|Filtering]] rule (test &quot;!(spamc -c &lt; %f)&quot;), or setup fetchmail and procmail to filter emails into your Sylpheed-Claws mailbox instead of using the plugin.<br /> <br /> === How do I configure gpg-agent and the PGP plugin? ===<br /> <br /> Attempts to use your gpg key to sign/encrypt messages will fail with a 'Signature failed' message without even asking you for your password if:<br /> # Your OS automatically starts the gpg-agent daemon AND<br /> # you only have the CURSES based pinentry program installed AND<br /> # you started sylpheed from a menu or icon<br /> (Note: my Fedora Core 4 workstation install was configured this way).<br /> The solution is to make sure that you have the pinentry-gtk or pinentry-qt programs installed. Sylpheed-Claws will then present the pinentry dialog box to get your GPG passphrase.<br /> <br /> You can tell if this is working by the dialog box presented to you for your passphrase. The pinentry dialog is a little uglier than the Sylpheed-Claws version, and the window title is 'pinentry'.<br /> <br /> One advantage of using the gpg-agent over Sylpheed-Claws password dialog is that the password caching then works with other applications using the gpg-agent (eg the command line when you specify --use-agent).<br /> <br /> Note 2: If it still refuses to work you might want to try the following steps:<br /> * Make sure your ''~/.gnupg/gpg.conf'' contains the line<br /> &lt;code&gt;use-agent&lt;/code&gt;<br /> * Create a file ''~/.gnupg/gpg-agent.conf'' with the following contents:<br /> &lt;code&gt;<br /> &lt;pre&gt;<br /> pinentry-program /usr/bin/pinentry-qt<br /> no-grab<br /> default-cache-ttl 1800<br /> &lt;/pre&gt;<br /> &lt;/code&gt;<br /> * Add the following line to some startup script. (In case of KDE you could use ''~/.kde/env/gpgagent.sh'' - The filename does not matter, the contents of ''~/.kde/env/'' is sourced by startkde)<br /> &lt;pre&gt;eval &quot;$(gpg-agent --daemon)&quot;&lt;/pre&gt;<br /> <br /> <br /> === I love maildir format. Is there a usefull replacement in sylpheed, better than the maildir plugin ! ===<br /> <br /> The maildir plugin works well in sylpheed claws. Nevertheless, if you plan to use tons of emails (i.e. X Go of mails), then the maildir plugin is not enough efficient to be usable (tested with 2Go of mails, folders with 30000 mails are long to display).<br /> <br /> The good solution is to use the native format of Sylpheed: the MH format. You have to ways of doing this:<br /> <br /> * Use a local account in MH format: you use the filters of sylpheed to drop the mails directly on your disk in MH format. Then searching, indexing is very very fast.<br /> <br /> * Use an IMAP account: if doing this way, your emails remains on the IMAP server BUT, when displayed, your mails are downloaded and stored in MH format on your disk too. They are dropped in ~/.sylpheed-claws/imapcache/ and are synchronized with the server (see Synchronize folder in File menu).<br /> <br /> In the two cases, sylpheed use the mh format and you can browse your emails with an alternative mail client able to read MH.</div> 193.49.93.254