Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

2013-07-25

Postfix: how to set envelope sender address, Return-Path

This is the kind of thing that only appears difficult at first, but in reality is quite easy.

We run a piece of software that sends out emails. The envelope sender address is wwwrun@ourdomain. This is because the Apache2 process runs as the wwwrun user. I need to change the envelope sender address (and hence the Return-Path: as well) to different_address@ourdomain

The fix turned out to be very easy:
# man canonical
# vim /etc/postfix/canonical
[add line 'wwwrun   rt_internal' at bottom of file]
# postmap /etc/postfix/canonical

2013-05-28

Thunderbird: quota thresholds (show, warning, critical)

I use the thunderbird e-mail client and mostly leave my mail on the IMAP server. That way, I can access it from multiple locations.

This is great, but disk space on the server is limited. I am subject to a quota. If my account were to go over-quota, the server would start bouncing incoming emails.

First of all, here's how to find out how much of my quota I'm currently using: mouse over to "INBOX" -> right click -> choose "Properties" -> then click on the "Quota" tab.

That was easy, but what if I forget to check?

Thunderbird uses a system of three thresholds:
mail.quota.mainwindow_threshold.show       50
mail.quota.mainwindow_threshold.warning    85
mail.quota.mainwindow_threshold.critical   95

(The values shown are expressed in percent. These were the defaults on my system. These defaults, I think, are much too high.) The first threshold, "show", controls when the "quota indicator" in the status bar (at the bottom of the Thunderbird window) gets displayed. I don't know about you, but I'd rather it get displayed much earlier than when I hit 50%. For me, 50% is "past time to free up some space".

So, I'd like to change those values to, say, 5, 50, and 85. But how?

Here's how (Thunderbird v.17): Edit -> Preferences -> Advanced -> Config Editor -> Search for "quota" -> right click on the threshold I want to change -> Modify.

May need to restart Thunderbird for the changes to take effect.

2013-04-01

Index and search email archive

Program to index and search archive of old emails: mairix

http://www.rpcurnow.force9.co.uk/mairix/


On openSUSE 12.3:
# zypper in mairix

2013-02-21

Postfix configuration notes

  • Connection refused: look at inet_interfaces - e.g.
    inet_interfaces = $myhostname, localhost