Thunderbird changes fonts in some messages, not all

Thunderbird is a great choice for a mail client on Linux systems if you prefer a GUI, but I had some problems with fonts in the most recent releases. The monospace font used for plain text messages was difficult to read. I opened Edit > Preferences > Display and clicked Advanced to the right of Fonts & Colors. The default font for monospace text was “Monospace”, and that one isn’t terribly attractive....

2017-08-02 · 2 min · Major Hayden

Thunderbird opens multiple windows

When I started Thunderbird today, it opened three windows. Each window was identical. I closed two of them and then quit Thunderbird. As soon as I started Thunderbird, I had three windows again. I found a Mozilla bug report from 2015 that had some tips for getting the additional windows closed. Choose one of the open Thunderbird windows and select Close from the File menu. Do not use ALT-F4 or CTRL-W to close the window....

2016-04-20 · 1 min · Major Hayden

Custom keyboard shortcuts for Evolution in GNOME

I’ve been a big fan of Thunderbird for years, but it lacks features in some critical areas. For example, I need Microsoft Exchange and Google Apps connectivity for my mail and contacts, but Thunderbird needs some extensions to make that connectivity easier. There are some great extensions available, but they lack polish since they’re not part of the core product. My muscle memory for keyboard shortcuts in Thunderbird left me fumbling in Evolution....

2015-11-28 · 3 min · Major Hayden

Fixing broken DNS lookups in spamassassin

I talked about the joys of running my own mail server last week only to find that my mail server was broken yesterday. Spamassassin stopped doing DNS lookups for RBL and SPF checks. I had one of these moments: My logs looked like this: plugin: eval failed: available_nameservers: No DNS servers available! plugin: eval failed: available_nameservers: No DNS servers available! rules: failed to run NO_DNS_FOR_FROM RBL test, skipping: (available_nameservers: [....

2014-06-20 · 2 min · Major Hayden

Show originating IP address in Apple Mail

I’ve received some very sophisticated phishing emails lately and I was showing some of them to my coworkers. One of my coworkers noticed that my Apple Mail client displays the X-Originating-IP header for all of the emails I receive. You can enter that IP into a whois search and get a better idea of who sent you the message without diving into the headers. If someone that regularly exchanges email with me suddenly has an originating IP in another country that would be unusual for them to travel to, I can approach the message with more caution....

2014-03-18 · 1 min · Major Hayden

Remove sensitive information from email headers with postfix

I’m in the process of moving back to a postfix/dovecot setup for hosting my own mail and I wanted a way to remove the more sensitive email headers that are normally generated when I send mail. My goal is to hide the originating IP address of my mail as well as my mail client type and version. To get started, make a small file with regular expressions in /etc/postfix/header_checks: /^Received:.*with ESMTPSA/ IGNORE /^X-Originating-IP:/ IGNORE /^X-Mailer:/ IGNORE /^Mime-Version:/ IGNORE The “ESMTPSA” match works for me because I only send email via port 465....

2013-04-15 · 1 min · Major Hayden

SELinux and .forward files

If you want to forward e-mail from root to another user, you can usually place a .forward file in root’s home directory and your mail server will take care of the rest: /root/.forward With SELinux, you’ll end up getting an AVC denial each time your mail server tries to read the contents of the .forward file: type=AVC msg=audit(1325543823.787:7416): avc: denied { open } for pid=9850 comm="local" name=".forward" dev=md0 ino=17694734 scontext=system_u:system_r:postfix_local_t:s0 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file The reason is that your ....

2012-01-02 · 1 min · Major Hayden

Deleting all e-mail messages in your inbox with mutt

Occasionally, I’ll end up with a mailbox full of random data, alerts, or other useless things. If you have SSH access to the server, you can always clear out your mail spool, but if you connect to an IMAP server, you can use mutt to do the same thing. First, use mutt to connect to your server remotely (via IMAP over SSL in this example): mutt -f imaps://mail.yourdomain.com/ Once you’ve connected and logged in, press SHIFT-D (uppercase d)....

2009-06-19 · 1 min · Major Hayden

Plesk: Upgrade to 8.4 causes “no such user” error in maillog

If you have a Plesk server where short mail names are enabled, upgrading to Plesk 8.4 can cause some issues. Valid logins may be rejected, and they’ll appear in your /usr/local/psa/var/log/maillog as “no such user”. You can correct the issue by switching to long mail names (click Server -> Mail in Plesk), or you can run a shell script provided by Parallels. For further details, refer to the Plesk KB article “Mail users cannot get or send mail after upgrade to Plesk 8....

2008-11-06 · 1 min · Major Hayden

Forcing qmail to process e-mail in the queue

Normally, qmail will be able to process the mail queue without any interaction from the system administrator, however, if you want to force it to process everything that is in the queue right now, you can do so: kill -ALRM `pgrep qmail-send` If for some peculiar reason you don’t have pgrep on your server, you can go about it a slightly different way: kill -ALRM `ps ax | grep qmail-send | grep -v grep | awk '{print $1}'` Your logs should begin filling up with data about e-mails rolling through the queue....

2008-05-02 · 1 min · Major Hayden