Over the last days I have moved my email and web and stuff from a simple web and email hotel to a virtual server managed by me.
So now I got a nice setup with
- Exim mailserver, smtp auth for sending
- Dovecot imap server
- roundcube webmail
- apache2 serving my blog and stuff
But most important for me: I can write my own spam filtering rules serverside and I can easily make sure all passwords are sent encrypted.
What’s left on my todo, partly because I haven’t figured out how yet is
- Have exim not show the first recieved line when sending mail. No reason to put the IP of whatever place I am located into the emails
- Have exim rewrite the Subject: header of spam emails, not add a second Subject header
- Some kind of public/shared folders in dovecot
- Have moved my local pop3 kmail filtering rules over to exim filters
And I also still haven’t moved all my domains, but it is coming soon.
Rewriting subject header is now fixed. Howto:
Don’t add a subject header, but instead add a custom X-Local-NewSubject header containing old subject and your spam marker.
Then have a system filter test if it is spam, then discard Subject header and rename X-Local-NewSubject header to Subject:
Not having the Received: header show your IP address is fairly simple: set the received_header_text config file parameter to whatever you want your Received: header to contain. Older versions of the default exim config file used to contain a fairly elaborate example, but nowadays it’s omitted, so that the default is used instead. That default in itself is an expanded string; if you look up the received_header_text config file parameter in the exim documentation, you’ll see what it is; and you can build from that to create a custom version, if you wish.
If kmail supports Sieve filters, you can use those in exim too. See ‘info exim4-filter’ for details on that one.
Just a simple comment. I have a (physical) server at a large hosting site, and I use web mail on a regular basis (primarily when at clients so it’s five days a week). I have installed Horde Groupware (webmail edition) and I’m extremely happy about it. Horde is connecting to my IMAP server nicely (it’s a fine IMAP client) and uses MySQL as storage backend. The upcoming release (1.1 – only as a release candidate) has a nice AJAX client which makes web mail feels like a desktop application (well, almost). Moreover, it is possible to sync your phone or PDA with Horde – I have had a partial success (only address book, not calendar).
Yet another comment: don’t forget backup :-)