In your face, Gmail!

Posted on Monday, August 22, 2005 in Uncategorized

Back when Gmail was first launched I was like “big deal”. 1GB storage? I’ve got my own server. Filters? I can run procmail (because I’ve got my own server). Webmail? I can run my own (because I’ve got my own server).

I used to have a fantastic email setup with postfix handling SMTP, spamassassin and ClamAV handling spam and viruses respectively, procmail for filtering, dovecot for IMAP and various clients (including Squirrelmail).

Then I upgraded from Fedora Core 1 to Debian Sarge (just before it became stable), and everything broke. Sure postfix still worked, spamassassin and ClamAV still scanned (although the former was never as good as it was) but procmail was broken horribly, and I used this extensively to filter my various mailing lists and to file spam for later inspection. When I couldn’t immediately fix this, I switched to using Gmail for mailing lists (and some personal email), and struggled on with my reduced functionality setup.

You see the problem was, when anything was run through procmail, it was stored with the owner & group as root:mail which meant the it was unreadable by me. For the life of me I couldn’t figure out what was causing this. After extensive Googling and enlisting the help of various people (of which Mike Knell – my brother-in-laws brother – was extremely helpful) I was still drawing a blank.

Tonight I fixed the problem though:

If no rcfiles and no -p have been specified on the command line, procmail will, prior to reading $HOME/.procmailrc, interpret commands from /etc/procmailrc (if present). Care must be taken when creating /etc/procmailrc, because, if circumstances permit, it will be executed with root privileges (contrary to the $HOME/.procmailrc file of course).

You see the problem was that I was using Maildir with procmail, and I was using a global procmailrc to configure this, and that’s where the permissions were coming from. Once I figured out the correct incantation to force procmail to use Maildir I was laughing:

mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir

I do like Gmail and may continue to use it for mailing lists, but now my mail configuration is back up to full strength (and my spam is neatly handled) I suddenly feel less need for it.

Related posts:

Goodbye GMail After much complaining about the state of my e-mail setup,... Pleasant Surprise After my adventures in improving my Spamassassin setup last night,... I hate spam Not so long ago I boasted about how good it... Gmail Thanks to my friend Adam I now have a Gmail... Look before you leap Next time I should check a bit more thoroughly before...

Related posts brought to you by Yet Another Related Posts Plugin.

Agreed entirely.

I have a gmail account that I use for a few things, but 99% of my mail goes through my home machine, which has unlimited (practically) storage, spam and virus scanning, filtering and IMAP support.

I happen to really like gmail. I find it nice to have, speedy and convenient. I also have a serious appreciation for the minimalism. Running my own mailserver sounds really nice as it means learning a whole bunch of interesting things. That being said, I’m seriously considering grabbing a skirt and learning to hula…

http://www.hula-project.org/

My music selection makes last.fm look good

No images to display

This theme was designed by Chris Wallace and is licensed under the GNU General Public License.

Check out his cool WordPress Themes. Released by Six Revisions in the year of the rat.


Mobilized by Mowser Mowser
Mobilytics