https://wiki.archlinux.org/api.php?action=feedcontributions&user=Thesame&feedformat=atomArchWiki - User contributions [en]2024-03-28T18:05:37ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Thunderbird&diff=589473Thunderbird2019-11-20T17:18:54Z<p>Thesame: "Authentication failure while connecting to server imap.gmail.com" error workaround</p>
<hr />
<div>[[Category:Email clients]]<br />
[[Category:Mozilla]]<br />
[[de:Thunderbird]]<br />
[[fr:Thunderbird]]<br />
[[it:Thunderbird]]<br />
[[ja:Thunderbird]]<br />
{{Related articles start}}<br />
{{Related|Thunderbird/Enigmail}}<br />
{{Related|Firefox}}<br />
{{Related articles end}}<br />
<br />
[https://www.thunderbird.net/en-US/ Thunderbird] is an open source email, news, and chat client previously developed by the Mozilla Foundation.<br />
<br />
== Installation ==<br />
<br />
[[Install]] the {{Pkg|thunderbird}} package, with a [https://www.archlinux.org/packages/?q=thunderbird-i18n language pack] if required.<br />
<br />
Other versions include:<br />
<br />
* {{App | Thunderbird Beta | Cutting edge features with relatively-good stability. | https://www.thunderbird.net/channel/ | {{AUR|thunderbird-beta-bin}}}}<br />
* {{App | Thunderbird Nightly | Experience the newest innovations with nightly releases (for those that want to work with breakages). | https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ | {{AUR|thunderbird-nightly}}}}<br />
<br />
A version overview, both past and future, can be read on [[MozillaWiki:Releases]].<br />
<br />
== Securing ==<br />
<br />
* Thunderbird sends your system's internal IP address to the configured SMTP server as an argument to the HELO/ELHO SMTP command. This value can be overridden by setting {{ic|mail.smtpserver.default.hello_argument}} to, for example, {{ic|localhost}}. Setting this value may increase the spam score of messages you send. See [http://kb.mozillazine.org/Replace_IP_address_with_name_in_headers] and [http://kb.mozillazine.org/Mail_and_news_settings].<br />
<br />
* To hide Thunderbird's [https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference#Linux User Agent], create a new empty {{ic|general.useragent.override}} string entry in the [[#Config Editor]].<br />
<br />
* Thunderbird disables email images by default but enables HTML rendering which may expose IP address and location. To disable this click ''View > Message Body As > Plain Text''.<br />
<br />
* JavaScript is disabled for message content but not for RSS news feeds. To disable set {{ic|javascript.enabled}} to {{ic|false}} in the [[#Config Editor]].<br />
<br />
== Extensions ==<br />
<br />
* {{App|[[Thunderbird/Enigmail|Enigmail]]|Extension for writing and receiving email signed and/or encrypted with the OpenPGP standard.|https://www.enigmail.net|{{Pkg|thunderbird-extension-enigmail}}, {{AUR|thunderbird-extension-enigmail-git}}}}<br />
* {{App|Birdtray|Birdtray is a system tray new mail notification for Thunderbird 60+ which does not require extensions. Run Thunderbird with a system tray icon.|https://github.com/gyunaev/birdtray|{{AUR|birdtray}}}}<br />
* {{App|FireTray|Adds a customizable system tray icon for Thunderbird. For Thunderbird 60+ you may use the github version by installing from file.|[https://addons.thunderbird.net/thunderbird/addon/firetray/ FireTray AMO]|[https://github.com/Ximi1970/FireTray/releases github version]|}}<br />
* {{App|[[Wikipedia:Lightning_(software)|Lightning]]|A calendar extension that brings [[Wikipedia:Mozilla Sunbird|Sunbird]]'s functionality to Thunderbird, including CalDAV support. Lightning now ships with Thunderbird, but due to differing release schedules it may have issues in Thunderbird testing releases. See [https://support.mozilla.org/en-US/questions/1211583 Mozilla support forum post]. Also see [https://developer.mozilla.org/en-US/docs/Mozilla/Calendar/Calendar_Versions Lightning Release Schedule].|https://www.thunderbird.net/en-US/calendar/|}}<br />
* {{App|SOGo Connector| Lets you sync address books via CardDAV|https://sogo.nu/download.html#/frontends|{{AUR|thunderbird-sogo-connector-bin}}}}<br />
* {{App|Cardbook|A new addressbook for Thunderbird based on the CARDDav and VCARD standards.|[https://addons.thunderbird.net/thunderbird/addon/cardbook/ Cardbook AMO]|}}<br />
<br />
== Tips and tricks ==<br />
<br />
=== Config Editor ===<br />
<br />
Thunderbird can be extensively configured by clicking ''Menu > Preferences > Preferences > Advanced > General > Config Editor''.<br />
<br />
=== Set the default browser ===<br />
<br />
{{Note|Since version 24 the {{ic|network.protocol-handler.app.*}} keys have no effect and will not be able to set the default browser.}}<br />
<br />
Thunderbird uses the default browser as defined by the [[XDG MIME Applications]]. This is commonly modified by [[desktop environment]]s (for example [[GNOME]]'s Control Center: ''Details > Default Applications > Web'').<br />
<br />
This can be overridden with {{ic|network.protocol-handler.warn-external}} in the [[#Config Editor]]<br />
<br />
If the following is all set to {{ic|false}} (default), set them to {{ic|true}} and Thunderbird will ask you which application to use when you click on a link (remember to also check ''"Remember my choice for .. links"'').<br />
<br />
network.protocol-handler.warn-external.ftp<br />
network.protocol-handler.warn-external.http<br />
network.protocol-handler.warn-external.https<br />
<br />
=== Plain Text mode and font uniformity ===<br />
<br />
Plain Text mode lets you view all your emails without HTML rendering and is available in ''View > Message Body As''. This defaults to the [[Wikipedia:Monospace_(Unicode)|Monospace]] font but the size is still inherited from original system fontconfig settings. The following example will overwrite this with Ubuntu Mono of 10 pixels (available in: {{Pkg|ttf-ubuntu-font-family}}).<br />
<br />
Remember to run {{ic|fc-cache -fv}} to update system font cache. See [[Font configuration]] for more information.<br />
<br />
{{hc|~/.config/fontconfig/fonts.conf|<nowiki><br />
<?xml version="1.0"?><br />
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"><br />
<fontconfig><br />
<match target="pattern"><br />
<test qual="any" name="family"><string>monospace</string></test><br />
<edit name="family" mode="assign" binding="same"><string>Ubuntu Mono</string></edit><br />
<!-- For Thunderbird, lowering default font size to 10 for uniformity --><br />
<edit name="pixelsize" mode="assign"><int>10</int></edit><br />
</match><br />
</fontconfig><br />
</nowiki>}}<br />
<br />
=== Webmail with Thunderbird ===<br />
<br />
:''See upstream Wiki: [http://kb.mozillazine.org/Using_webmail_with_your_email_client Using webmail with your email client].''<br />
<br />
=== Migrate profile to another system ===<br />
<br />
{{Tip|The [https://addons.thunderbird.net/thunderbird/addon/importexporttools-ng/ ImportExportTools NG] add-on offers an option to export and import a profile folder.}}<br />
<br />
Before you start with Importing or Exporting tasks, backup your complete {{ic|~/.thunderbird}} profile:<br />
<br />
$ cp -R ~/.thunderbird /to/backup/folder/<br />
<br />
With migration you just copy your current Thunderbird profile to another PC or a new Thunderbird installation:<br />
<br />
1. Install Thunderbird on the target PC<br />
<br />
2. Start Thunderbird without doing anything and quit it.<br />
<br />
3. Go to your Backup folder of your old Thunderbird installation<br />
<br />
4. Enter the backup profile folder:<br />
<br />
$ cd /to/backup/folder/.thunderbird/<oldrandomnumber>.default/<br />
<br />
5. Copy its content into the target profile folder {{ic|~/.thunderbird/<newrandomnumber>.default/}}<br />
<br />
$ cp -R /to/backup/folder/.thunderbird/<oldrandomnumber>.default/* ~/.thunderbird/<newrandomnumber>.default/<br />
<br />
=== Export and Import ===<br />
<br />
Before you start with Importing or Exporting tasks, backup your complete {{ic|~/.thunderbird}} profile:<br />
<br />
$ cp -R ~/.thunderbird /to/backup/folder/<br />
<br />
If your accounts are broken or you want to join two different Thunderbird installations, you can install [https://addons.thunderbird.net/thunderbird/addon/importexporttools-ng/ ImportExportTools NG] add-on for both Thunderbird installations and following this just export and import all your data to the new installation.<br />
<br />
=== Change the default sorting order ===<br />
Thunderbird (up to at least 31.4.0-1) sorts mail by date with the oldest on top without any threading. While this can be changed per folder, it is easier to set a sane default instead as described [https://superuser.com/questions/13518/change-the-default-sorting-order-in-thunderbird here].<br />
<br />
Set these preferences in the [[#Config Editor]]:<br />
<br />
mailnews.default_sort_order = 2 (descending)<br />
mailnews.default_view_flags = 1 (Threaded view)<br />
<br />
=== Maildir support ===<br />
The default message store format is mbox. To enable the use of Maildir, see [[MozillaWiki:Thunderbird/Maildir]]. You basically have to set the following preference in the [[#Config Editor]]:<br />
<br />
mail.serverDefaultStoreContractID = @mozilla.org/msgstore/maildirstore;1<br />
<br />
Some limitations up to at least 31.4.0-1: only the "tmp" and "cur" directories are supported. The "new" directory is completely ignored. The read state of mails are stored in a separate ".msf" file, so initially all local mail using Maildir will be marked as unread even when located in the "cur" directory.<br />
<br />
=== Spell checking ===<br />
<br />
Install {{Pkg|hunspell}} and a [https://www.archlinux.org/packages/?q=hunspell+dict hunspell language dictionary] and restart Thunderbird.<br />
<br />
See the Firefox article for [[Firefox#Firefox does not remember default spell check language|how to set the default spell checking language]].<br />
<br />
=== Native notifications ===<br />
<br />
Make sure that {{ic|mail.biff.use_system_alert}} in the [[#Config Editor]] is set to "true" (default). This option means that extensions (such as Gnome Integration) are not needed for these newer versions of Thunderbird.<br />
<br />
You might also need to install {{Pkg|libnotify}}<br />
<br />
=== Theming tweaks ===<br />
<br />
Thunderbird should conform to [[GTK#Themes]] as defined on your system. However, two tweaks are desirable for full consistency. These are most beneficial for dark themes.<br />
<br />
# To view the body of emails with colors following your theme:<br />
## Go to ''Menu > Preferences > Preferences''<br />
## Select the ''Display'' tab<br />
## Click the ''Colors'' button<br />
## Check ''Use system colors''<br />
## Set the option for ''Override the colors specified by the content with my selection above'' to ''Always'' or ''Only with High Contrast themes''<br />
# To view Lightning calendar with colors following your theme:<br />
## Go to ''Menu > Preferences > Preferences''<br />
## Select the ''Calendar'' tab<br />
## Check ''Optimize colors for accessibility''<br />
<br />
Further customization can be attained by creating and editing a {{ic|userchrome.css}}. See [[Firefox/Tweaks#General user interface CSS settings]] and [http://kb.mozillazine.org/UserChrome.css Mozillazine's userchrome page].<br />
<br />
== Troubleshooting ==<br />
<br />
=== LDAP Segfault ===<br />
<br />
An [https://bugzilla.mozilla.org/show_bug.cgi?id=292127 LDAP clash (Bugzilla#292127)] arises on systems configured to use it to fetch user information. A possible [https://bugzilla.mozilla.org/show_bug.cgi?id=292127#c7 workaround] consists of renaming the conflicting bundled LDAP library.<br />
<br />
=== Error: Incoming server already exists ===<br />
<br />
It seems Thunderbird (v24) still has that bug which pops up with "Incoming server already exists" if you want to reinstall a previously deleted account with the same account data afterwards. Unfortunately, if you get this error you can now only clean reinstall Thunderbird: <br />
<br />
1. Make a backup of your current profile:<br />
<br />
$ cp -R ~/.thunderbird /to/backup/folder/<br />
<br />
2. Export all your Accounts, Calendar and Feeds via an add-on like it's written in ''Export section'' of this Wiki.<br />
<br />
3. Uninstall your current Thunderbird installation:<br />
<br />
$ pacman -R thunderbird<br />
<br />
4. Remove all your data by deleting your current Thunderbird folder {{ic|rm -R ~/.thunderbird/}}.<br />
<br />
5. Install Thunderbird again:<br />
<br />
$ pacman -S thunderbird<br />
<br />
6. Create your mail accounts, feeds and calendars (empty).<br />
<br />
7. Install the [https://addons.thunderbird.net/thunderbird/addon/importexporttools-ng/ ImportExportTools NG] add-on<br />
<br />
8. Import all your data.<br />
<br />
=== Thunderbird UI freezes when receiving a new message ===<br />
<br />
If Thunderbird is configured to show an alert when a new message arrives, or at launch, the lack of a notification daemon may freeze the interface (white screen) for many seconds. You can solve this issue by disabling alerts or installing a [[Desktop_notifications#Notification_servers|notification server]].<br />
<br />
=== LC_TIME environment variable not respected ===<br />
<br />
Thunderbird should use the {{ic|LC_TIME}} environment variable for localization, but it might not do so in all contexts. Some problems can be mitigated by setting ''Menu'' > ''Preferences'' > ''Preferences'' > ''Advanced'' > ''Date and Time Formatting'' to ''Regional settings locale'', a setting which was introduced in Thunderbird 56. However, there is a [https://bugzilla.mozilla.org/show_bug.cgi?id=1426907 bug report] for this issue.<br />
<br />
=== ''Authentication failure while connecting to server imap.gmail.com'' error when using OAuth2 with G Suite account ===<br />
<br />
Sometimes Thunderbird fails to log in to G Suite with ''Authentication failure while connecting to server imap.gmail.com'' error. It can be fixed with setting {{ic|general.useragent.compatMode.firefox}} setting to {{ic|true}} in [[#Config Editor]] and then passing authentication stage again.</div>Thesamehttps://wiki.archlinux.org/index.php?title=Reiser4&diff=269674Reiser42013-08-03T21:55:18Z<p>Thesame: </p>
<hr />
<div>[[Category:File systems]]<br />
[[Wikipedia:Reiser4|Reiser4]] is the "new" (circa 2004) successor filesystem for ReiserFS, developed from scratch by [[Wikipedia:Namesys|Namesys]] and [[Wikipedia:Hans Reiser|Hans Reiser]]. It is very efficient for handling small files (often used in {{ic|/var}} for this purpose) and includes features such as cheap transparent compression and block suballocation. Because it is an atomic file system "your file system operations either entirely occur, or they entirely don't, and they do not corrupt due to half occurring." [http://vizzzion.org/?id=reiser4 Benchmarks] with other linux filesystems are also available.<br />
<br />
==Important Notes==<br />
* Reiser4 requires a patched kernel<br />
* It consumes a little more CPU than other filesystems<br />
* It is developed for the 2.6 kernel and not backported for 2.4<br />
* Even [[Lilo]] as the only bootloader officially supporting Reiser4 seems to have issues with it when {{ic|/boot}} is formatted as Reiser4<br />
* It is still not considered stable<br />
<br />
{{Tip|[http://gparted.sourceforge.net/livecd.php Gparted LiveCD] is a small Linux distribution booting straight into Gparted. It also supports Reiser4}}<br />
<br />
==Packages==<br />
1. Install {{AUR|reiser4progs}} from [[AUR]]<br />
<br />
2. You'll need a reiser4 patched kernel. Patches can be found here http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-3.x/<br />
<br />
3. Bootloader ''(Optional, only needed if you want to format your {{ic|/}} (root) as '''reiser4''')''<br />
<br />
{{Note|Backing up your bootloader configuration file should be considered.}}<br />
<br />
a) '''Recomended:''' make a small (as mentioned above, 20-200mb) partition for {{ic|/boot}} with a filesystem other than Reiser4 with [[Gparted]], and then copy your {{ic|/boot}} folder to the partition. Update your bootloader config accordingly, eg. with [[Grub2]] do:<br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
<br />
b) If you wish to put everything including {{ic|/boot}} on a Reiser4 partition you'll need to use [[Lilo]]. This is not advised, as you'll probably get an error when trying to update {{ic|lilo.conf}}:<br />
# lilo<br />
<br />
4. Reboot<br />
<br />
{{Note|The following steps are for using Reiser4 as your / (root). If you just want to use Reiser in /var (or whatever) you should modify the following instructions according to your needs.}}<br />
<br />
==Moving to Reiser4==<br />
In the next steps we'll copy the data from your current root partition to the new Reiser4 partitions. Make<br />
sure you have enough disk space on the Reiser4 partition with:<br />
# df -h<br />
<br />
===Sample system===<br />
<pre><br />
# fdisk -l<br />
* /dev/sda1: (10 Gb, 5 Gb free); Reiserfs /mnt/reiser4<br />
* /dev/sda2: (10 Gb, 10 Gb free); Reiser4 /<br />
* /dev/sda3: (200 Mb, 180 Mb free); ext2 /boot<br />
</pre><br />
<br />
===Formatting===<br />
Run the following commands:<br />
<br />
<pre><br />
mkfs.reiser4 /dev/sdaX<br />
mkdir /mnt/reiser4<br />
mount -t reiser4 /dev/sdaX /mnt/reiser4<br />
</pre><br />
<br />
{{Note|With '''X''' being your partition number!}}<br />
<br />
It is recommended that you use the Cryptcompress plugin by formatting with the following command:<br />
mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda'''X'''<br />
<br />
===Copy system===<br />
Once the partition is formated, copy you current system to the new partition and create the system directories. You may either do this from Arch Linux, or '''to make it easier''' (so that you do not have to use makedev later), just '''boot up with the [http://gparted.sourceforge.net/livecd.php Gparted LiveCD] and mount both your new Reiser4 partition and your current root partition. Then, just copy everything over (as root) like so:<br />
<br />
<pre><br />
cd /mnt<br />
mkdir oldroot<br />
mkdir reiser4<br />
mount /dev/sdaX oldroot<br />
mount /dev/sdaY reiser4 (the Reiser4 partition)<br />
cp -R -a /mnt/oldroot/* /mnt/reiser4/<br />
</pre><br />
<br />
Then, you need to mount your {{ic|/boot}} partition, and if you haven't already, copy {{ic|/boot}} from your original root partition over to it.<br />
{{Note|It is suggested to empty your /boot from the Reiser4 partition to use it as a mountpoint, which is reflected later in your fstab}}<br />
<br />
<pre><br />
mkdir bootpart<br />
mount /dev/sdaZ bootpart<br />
cp -R -a /mnt/oldroot/boot/* /mnt/bootpart/<br />
</pre><br />
<br />
Don't forget to edit your bootloader's config appropriately (see examples at the bottom of the article). <br />
<br />
{{Note|In case you upgraded grub before rebooting you may need to manually install grub to your /boot partition, otherwise, things may break and prevent you from booting. In this case using a LiveCD to Chroot and would be your last hope.}}<br />
<br />
===/etc/fstab:===<br />
<br />
Note: If you can confirm that Reiser4 works for you, you should format the old root partition.<br />
<br />
<pre><br />
#<br />
# /etc/fstab: static file system information<br />
#<br />
# <file system> <dir> <type> <options> <dump> <pass><br />
devpts /dev/pts devpts defaults 0 0<br />
shm /dev/shm tmpfs nodev,nosuid 0 0<br />
tmpfs /tmp tmpfs nodev,noexec,nosuid 0 0<br />
<br />
/dev/sda1 / reiser4 defaults,noatime,notail 0 1<br />
/dev/sda2 /mnt/oldroot ext4 defaults 0 0<br />
/dev/sda3 /boot ext2 defaults 0 1<br />
</pre><br />
<br />
== Bootloader Examples ==<br />
<br />
====/boot/grub/grub.cfg:====<br />
{{bc|1=<br />
# (0) Arch Linux<br />
title Arch Linux<br />
set root=(hd0,msdos3)<br />
kernel /vmlinuz-linux root=/dev/sda3 ro noatime notail acl init=/usr/bin/bootchartd<br />
initrd /initramfs-linux.img<br />
<br />
# (1) Arch Linux<br />
title Arch Linux Fallback<br />
set root=(hd0,msdos3)<br />
kernel /vlinuz-linux root=/dev/sda3 ro<br />
initrd /initramfs-linux-fallback.img<br />
}}<br />
<br />
Run {{ic|grub-mkconfig}} to update your config:<br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
<br />
====/etc/lilo.conf:====<br />
<pre><br />
#<br />
# /etc/lilo.conf<br />
#<br />
<br />
boot=/dev/hda<br />
# This line often fixes L40 errors on bootup<br />
# disk=/dev/hda bios=0x80<br />
<br />
default=Arch4<br />
timeout=20<br />
lba32<br />
prompt<br />
compact<br />
<br />
image=/boot/vmlinuz-linux<br />
label=Arch4<br />
root=/dev/hda5<br />
append="video=vesafb:1024x768-24@56,ywrap,mtrr splash=verbose,theme:darch console=tty1 resume2=swap:/dev/hdb1"<br />
initrd=/boot/initramfs-linux.img<br />
read-only<br />
<br />
image=/boot/vmlinuz-linux<br />
label=Arch<br />
root=/dev/hda3<br />
append="video=vesafb:1024x768-24@56,ywrap,mtrr splash=verbose,theme:darch console=tty1 resume2=swap:/dev/hdb1"<br />
initrd=/boot/initramfs-linux.img<br />
read-only<br />
</pre><br />
<br />
Run '''lilo''' to update your config:<br />
# lilo<br />
<br />
==Troubleshooting==<br />
* Permissions: chown -R username.group <userdir><br />
* If you have problem with '''su''' command after the change of fs, you should reinstall '''coreutils''' package.</div>Thesame