SourceForge Logo

Home

Documentation

Contribution

Next Previous Contents

2. Sylpheed FAQ - Installation and Configuration

2.1 Q01 What does it take to compile Sylpheed?

A. Any POSIX compliant UNIX or similar OS eg. Linux, FreeBSD, Solaris GTK+ 1.2.6 or later A recent ANSI C compiler (gcc 2.7.2.3 should also work) Note: it is reported that Sun C will not compile Sylpheed. Optionally:

  • Imlib or gdk-pixbuf (for built-in image view)
  • libcompface (for X-Face)
  • libjconv (for I18N)
  • GPGME (for GnuPG)
  • the equivalent of GTK+-devel and Xfree86-devel.
Otherwise ./configure will fail.

2.2 Q02 How do I set up Sylpheed?

A. When you run Sylpheed for the first time, it will ask you where you want to store your mailboxes. The default is <homedir>/Mail. You can change this to anything you like as long as it is a valid directory name.

Please note: When Sylpheed is executed for the first time, it automatically creates the configuration files under $HOME/.sylpheed/, and asks you the location of mailbox. The default is $HOME/Mail. If some files which are non-MH format already exist on the directory, you will have to specify another location.

2.3 Q03 Why did the creation of the mailbox fail?

A. Sylpheed reports such an error if it can't create the default mailboxes (inbox, outbox, etc ...). This can be because <homedir>/Mail already contains files with the same names. This occurs when switching from Kmail to Sylpheed, in this case backup and remove the existing Mail directory or use another name for the Sylpheed mail directory.

2.4 Q04 How do I set up an account?

A. After loading Sylpheed for the first time, you can add an e-mail account by clicking the "Configuration" menu. Select the option "Create new account" and fill in the appropriate fields.

2.5 Q05 How many accounts can I set up in Sylpheed?

A. The number is unlimited. The limit is reached when your computer stops responding.

2.6 Q06 Why does Sylpheed not delete my mails when I press "delete"? I set a filter, and Sylpheed does not filter. I moved a mail to a different mailbox and it did not move.

A. You have to click the "execute" button. The other solution: in the configuration settings (common preferences -> interface tab) you have to check the "execute commands immediately" box.

2.7 Q07 Can I set up special addresses/ports for my mailserver / newsserver?

A. Yes, you can. In the configuration per account you can specify the exact port addresses you want to use.

2.8 Q08 Does Sylpheed have options for threading messages?

A. Yes. You can switch it on and off in the Summary Menu, just select "Thread View" or press Ctrl+T.

2.9 Q09 Can I create multiple levels of subfolders to store mail?

A. Absolutely. This is no problem.

2.10 Q10 Why isn't Sylpheed sending my mail out?

A. You need to create at least one account in order to send. (This is a wonderful gotcha on LAN installs with only a local mailbox feed).

2.11 Q11 How do I apply a patch after downloading it?

A. Copy patch to sylpheed directory Apply the patch:

% patch -p0 < some.patch

Or, if it's gzipped:

% gzip -dc some.patch.gz | patch -p0

Run ./autogen.sh, remove the generated /config.cache file (unless you want to install in prefix /usr/local). Run ./configure with the appropriate options and then make. (Text as found on the Sylpheed patches page.)

2.12 Q12 How do I compile in support for compface pictures?

A. You have to have a package called libcompface installed, so this is available for compiling into Sylpheed.

2.13 Q13 How do I make my own compface image?

A. The faces package contains a program called xbm2ikon script, which converts a 48x48 xbm to the format suitable for compface. Thanks to Jeff Dairiki, you can have a complete online course in this. Visit this page for the details.

2.14 Q14 How can I tell my browser/newsclient/other program to use Sylpheed as e-mail program?

A. In the settings part of the program, write sylpheed --compose

Specific options for typical browsers:

  • Opera: sylpheed --compose [mailto:%t][?subject=%s]
  • Galeon: sylpheed --compose "mailto:%t?subject=%s"

2.15 Q15 How do I enable GPG support in Sylpheed?

A. When compiling Sylpheed, make sure you add --enable-gpgme in the ./configure command. When that completes successfully, there is a "privacy" section in the Common preferences.

2.16 Q16 Mutt does not recognize Sylpheed's MH structure

A. For this to work you need to use the "touch" command in every MH folder. "touch" the file .xmhcache and Mutt should do just fine.

2.17 Q17 Viewing a GIF file within Sylpheed causes a segmentation fault.

A. In case this happens, you can easily fix that by adding the following to /etc/mime.types:

image/gif gif

2.18 Q18 How can I make Sylpheed notify me when new mail arrives?

A. For this you can do several things:

* Look at the Sylpheed patch page at http://www.thewildbeast.co.uk/sylpheed/ for a new mail patch.

* Download Gkrellm or a similar program that is able to notify you of new incoming mail. Gkrellm is available at the Gkrellm page

2.19 Q19 Can I use a spell checker with Sylpheed?

A. Yes. You can use ispell for this. In Common Preferences, in the spot where you can define an alternative editor (as long as you do not use that, of course), you enter "xterm -e ispell %s". Do not enter the quotes. With this set up, you can have spell checked when writing an e-mail by hitting the "Editor" button in the compose window.

Note that you can enter the xterm type of your choice, so wterm, eterm and aterm should also work, as long as they are installed on your system.

2.20 Q20 How can I make Sylpheed send my compface image in the mails?

A. In the Configuration menu, Preferences for current account, Send tab, check Add user-defined header and press Edit button. A dialog appears, add a header named "X-Face" and fill the value field with your face data. Note that if you paste the data from a terminal into the field some spurious newlines can be added, and these can mangle your face, be careful.

2.21 Q21 I checked out the sources using cvs and cant find any configure script.

A. The cvs versions are meant to be used by developers rather than "normal" users, so the source (or binary) distributions are easier to use.

- Yeah, but the latest features from cvs really look sexy...

You need to generate the configure script by running "autgen.sh". Be sure to have autoconf and automake packages installed for this.

2.22 Q22 Running "autogen.sh" gives errormessages that "AM_PATH_GDK_PIXBUF" or "AM_PATH_(whatever)" is not found.

A. There are some *.m4 files in the "ac/missing" directory. Try to copy them into the "ac" directory and run "autogen.sh" again.

If there are still some .m4 files not found (e.g. those from Gtk), try to run

     % locate m4 | less
or
     % locate aclocal | less
to find additional directories containing those macros. If you find e.g. a "gtk.m4" in "/opt/gnome/share/aclocal", change following line in "autogen.sh" from

     aclocal -I ac \
to

     aclocal -I ac -I /opt/gnome/share/aclocal \
and run it again.

2.23 Q23 I dont want to compile in support for ... any longer, but after running "configure", those libraries are still used.

A. Remove the "config.cache" file and run "configure" again. You should also use "make clean" to avoid undefined references.

2.24 Q24 How can I select different applications to open with specific MIME types?

A. The MIME-type->application associations are kept in /etc/mailcap.

2.25 Q25 How can I change the suggested mimetype for attachments?

A. The extension->MIME-type associations are kept in /etc/mime.types

2.26 Q26 The folderlist is not updated after I manually moved/copied folders.

A. You need to update Sylpheeds cache. Right click on the mailbox and choose "rescan folder tree".

2.27 Q27 How can I revert original settings, e.g. for fonts, keybindings, etc.?

A. Sylpheed keeps its configuration files in $HOME/.sylpheed/sylpheedrc and creates default entries, if none are found. So the easiest way is to quit sylpheed, temporarily renaming your $HOME/.sylpheed e.g. to *.bak and restarting sylpheed in order to get default entries.

2.28 Q28 What environment variables have effect on Sylpheed?

A. Here are the most common variables:

  • HOME - location of .sylpheed (config directory) and default folder for Mailboxes.

  • LANG,
  • LC_ALL,
  • LC_CTYPE,
  • LC_MESSAGES - locale settings, e.g. language and date format.

2.29 Q29 Special characters (e.g. umlauts) are not displayed correctly.

A. In most cases, this is caused by fonts, that use an unsuitable encoding.

Standard Sylpheed currently doesnt offer all font settings in the settings window, so if you take a look into your $HOME/.sylpheedrc, you will find some more font entries in the following form:

     bold_font=-unknown-Helvetica-bold-r-normal-*-*-110-*-*-p-*-iso8859-1
The last two entries ("iso8859" and "1") define the encodig. You can try to use wildcards ("*") or force a specific encoding.

     bold_font=-unknown-Helvetica-bold-r-normal-*-*-110-*-*-p-*-*-*
You should also make sure that your environment variables regarding locale settings have sensible values.

2.30 Q30 How can I convert my old mailbox / adressbook from (some mailclient).

A. In the source distribution, you can find some scripts in the "tools" subdirectory, maybe your application is supported. You can also try to export your old mailbox to MH or MBOX format.

Tip: Take a look at the "harvest addresses" function from the "tools" menu, it could be a useful alternative or addition, when importing your old contacts.

2.31 Q31 What config files are there, and what are they used for?

A. Sylpheeds config files can be found in $HOME/.sylpheed. They are in plain text format and quite easy to understand, so dont fear to take a look into them using a texteditor.

  • sylpheedrc - main configuration: nearly all options from the settings window, e.g. mailbox location, font entries, etc.
  • accountrc - settings for pop/imap/nntp accounts
  • actionsrc - user defined actions
  • customheaderrc - contains user defined header lines
  • dispheaderrc - headers to display above the mail body
  • filterrc - traditional filter settings
  • folderitemrc - folder specific settings, e.g. default outbox
  • matcherrc - new filtering and scoring settings
  • menurc - Key bindings
  • addrbook-*.xml - contents of your addressbook
  • folderlist.xml - additional folder specific settings, e.g. hiding read messages, sort order, etc.

2.32 Q32 What to do when printing an e-mail prints off the paper?

A. You can use enscript for this. Use enscript %s to print everything on one page, or enscript -U2 %s for printing two logical pages on one physical page.


Next Previous Contents