welcome: please sign in

Revision 36 as of 2013-01-04 22:39:30

Clear message
Edit

MemberManual / Email

This is the chapter of the MemberManual that describes how to receive and manage your email.

Introduction

HCoop offers a variety of ways to wrangle and access your email. Your email address is your login name, @hcoop.net.

Email sent to any of your HCoop-managed domains can be configured using Domtool. Please consult the Domtool User Guide for details on how to set that up.

We use the Maildir format (that is, a directory which contains files, each file containing exactly one message) rather than the mbox format (where all messages reside in one large mbox file).

By default, all email is delivered to your ~/Maildir directory. This directory is created for you when your account is created. So please do not delete the ~/Maildir directory if you value mail delivery and access.

Delivery

This section contains some topics relating to email delivery.

Quotas

The ~/Maildir directory resides on its own volume, and has a separate quota from the rest of your home directory.

Before copying over any existing email, be sure that you have enough disk space in your quota. Log into ssh.hcoop.net and run

fs listquota ~/Maildir

This will give you the name of your mail volume, available space (in MB), used space (in MB), the percentage of your volume used, and the percent of space used on AFS by all HCoop volumes.

If you need more space, please file a support request at https://members.hcoop.net/portal/support in the AFS category. Be sure to mention how much space you want.

Sub Addresses

All mail address support sub-addressing in the form mailbox+$address@domain which is delivered to mailbox@domain. This allows you to easily generate one-time use addresses that can be blocked by a filter later if the source ends up spamming you without resorting to a catch-all, and more generally to make it easier to filter your mail (e.g. ClintonEbadi uses clinton+amazon, clinton+paypal, etc. and procmail rules for filing them into folders).

Filtering

Both Exim filters and Procmail are available. You can use either procmail or an Exim filter, but not both. Here are some considerations for deciding which one to use.

It is recommended that you not use procmail going forward because it has been unmaintained for about a decade, and can have reliability issues during delivery.

Please read the following subpages for specific information on each method.

Forwarding

If you want email sent to your HCoop email address to be forwarded elsewhere, you can do that as follows.

If you are forwarding to GMail: you must read Google's Best Mail Practices document to avoid causing all coop mail to be flagged as spam. Currently, what you can do on the delivery side is:

Dealing with spam

Spam is an inevitable fact of life. See the SpamAssassin subpage for details on using SpamAssassin, which is our preferred solution to the spam problem.

Virtual mailboxes

Virtual mailboxes are a good way to give someone a "vanity address" on one of your domains, where they can receive and check email. See the Virtual Mail subpage for full details on how to use them.

Mailing lists

Instructions for setting up mailing lists on your domain are available on the Mailing Lists subpage.

Access

This section explains how to access your email.

Webmail

HCoop has two webmail interfaces. Both allow you to access your email using a web browser.

The standard one, Squirrelmail, is available at https://mail.hcoop.net.

A more AJAX-y alternative called Roundcube is available at https://rcube.hcoop.net. Users of the Internet Explorer web browser are advised not to use Roundcube at this time, because Roundcube contains some vulnerabilities that are only exploitable on the IE browser.

IMAP

SSL IMAP is available via SSL at port 993, using hostname mail.hcoop.net.

STARTTLS IMAP is available on port 143, using hostname mail.hcoop.net.

POP3

POP3 access is available via SSL at port 995, using hostname mail.hcoop.net. If you're using Thunderbird, make sure to uncheck "Use secure authentication". Do not use port 110; it is not available.

Configuring email clients

Please consult the email clients subpage for examples of how to get IMAP and POP3 access working with various email clients.

Sending Mail

When at all possible, send mail through our mail hub. In the past, you could send from arbitrary machines, but the self-appointed spam police of the world have decided that mail for a domain originating from multiple locations is a sure sign of spamming. Additionally, it is highly likely that your ISP's entire netblock has been blacklisted already. If you are using your hcoop.net address you must send mail through us because our SPF records mandates it in order to reduce the likelihood Google et al will flag our messages to members as spam.

Configure mail.hcoop.net as the outgoing SMTP server in your mail client. You can use either port 25 or port 465. You must enable TLS SMTP auth, and you will need to authenticate with the same username and password that you use to get mail from POP3 or IMAP. Virtual mailbox names and passwords may be used here. The server will not query you for a username and password by default. Thus, you will get confusing error messages if you don't configure your client to attempt to authenticate with plaintext SMTP auth using TLS.

The SMTP server requires a TLS aware mail client. MacOS X <= 10.6 Mail, Outlook, and Opera do not seem to support this at the moment. Mozilla supports TLS and runs on MacOS X, Windows and Linux. Mail on OS X 10.7 (Lion) supports TLS for SMTP, but it must be configured using the account preferences dialog rather than the initial account setup wizard.

You may also want to reconfigure your domain to use addDefaultSPF which sets an SPF record indicating that all mail for your domain will go through our mail servers (more generally, any mail exchanger you've set). If you ever send mail from another host by changing the From, you do not want to do this as it would increase the likelihood that mail is marked as spam.

ISPs that block SMTP

Some ISPs and possibly other networks discriminate against the SMTP protocol. Some block or filter in or outgoing SMTP altogether.

If you need to send mail using HCOOP's mail server and experience long delays, this is likely due to your network. You can test out the mail server's responsiveness by doing "telnet mail.hcoop.net 25" on both your local machine and ssh.hcoop.net. If you immediately get a "220" banner, the server is working fine and you can type "QUIT".

To work around this issue, you can use mail80.hcoop.net as the server, and configure your email client to send mail through port 80.

Mail clients that don't understand TLS

You can also set up a custom SSH tunnel to port 25 on ssh.hcoop.net, if your MUA can't/won't use TLS.

Configuring programs to send mail through HCoop

For information on how to send mail through HCoop's SMTP server, check out our SMTP Clients subpage.