My email server setup

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
Patrick
Site Admin
Posts: 2519
Joined: Tue Apr 27, 2004 11:38 am
Location: Easton, PA
Contact:

My email server setup

Post by Patrick » Mon Feb 12, 2007 10:53 am

Ok, I have a clean install of Debian on this old creaker. This is what I basically want to do:
- pull down all my email from my various email accounts (POP, IMAP)
- run spam filters on the email and discard the garbage

I want to be able to login into the server from anywhere and pull down all my email via my favorite mail client (Kmail, Thunderbird)

What do you recommend as the ideal setup? Fetchmail?

Thanks
Ego contemno licentia

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Mon Feb 12, 2007 11:20 am

I'd like to do this too, but in addition to what Pat mentions, I also need some filtering for placing mails from specific addresses and with certain subjects into specific folders. This is to make my mailinglist subscriptions look very similar to how KDE's newsgroup client, KNode, displays newsgroups.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

hellonorman
Posts: 267
Joined: Wed Dec 28, 2005 11:08 pm

Post by hellonorman » Mon Feb 12, 2007 11:20 am

Yep. Fecthmail --> Procmail --> mailboxes.

Then run your own imap server.

I have done this in the past. If you can find a better solution for filtering than procmail please post. There are some gentoo guides for setting all this stuff up that I'm sure you can bend to fit debian.
"It's not a lie, if you really believe it"
--George Costanza

User avatar
Gomer_X
Posts: 901
Joined: Fri Jun 03, 2005 1:31 pm
Location: Cincinnati, Ohio, USA
Contact:

Post by Gomer_X » Mon Feb 12, 2007 1:29 pm

hellonorman wrote:Yep. Fecthmail --> Procmail --> mailboxes.

Then run your own imap server.
That's OK for getting mail. You need an SMTP server to send mail, though.

There are lightweight servers or you can use a fullblown setup like sendmail of Exim. I use the thing that comes on Gentoo. Can't remember what it's called.

Karl
Posts: 47
Joined: Fri Jul 08, 2005 11:42 am
Location: NJ

Post by Karl » Mon Feb 12, 2007 1:38 pm

If your going to do SMTP on your box at home its probably best to setup a smarthost to your ISPs SMTP server. That way other mail servers do not mark you as spam.

I use exim for that. Its has been very stable.

User avatar
Vogateer
Posts: 700
Joined: Thu Nov 17, 2005 11:18 pm
Location: Norman, Oklahoma
Contact:

Post by Vogateer » Mon Feb 12, 2007 2:31 pm

Yeah, mine's fetchmail > procmail > spamassassin > dovecot

Works very well, though I've never properly set it up for outgoing, and just used the smtp server of my ISP.
Vim is beautiful

User avatar
Gomer_X
Posts: 901
Joined: Fri Jun 03, 2005 1:31 pm
Location: Cincinnati, Ohio, USA
Contact:

Post by Gomer_X » Thu Feb 15, 2007 9:05 am

Vogateer wrote:Yeah, mine's fetchmail > procmail > spamassassin > dovecot

Works very well, though I've never properly set it up for outgoing, and just used the smtp server of my ISP.
Right. I forgot that most people use mail clients that do the SMTP themselves.

I use Mutt, and I sometimes need to send mail from box to box on my home network.

hellonorman
Posts: 267
Joined: Wed Dec 28, 2005 11:08 pm

Post by hellonorman » Mon Feb 19, 2007 8:25 am

This looks somewhat interesting.

http://sourceforge.net/projects/fdm
http://fdm.sourceforge.net/

Seems to aim at replacing fetchmail and procmail.

I would be very interested in it for replacing procmail alone. I glanced at it and at least the syntax wasn't written by the devil himself.
"It's not a lie, if you really believe it"
--George Costanza

User avatar
Patrick
Site Admin
Posts: 2519
Joined: Tue Apr 27, 2004 11:38 am
Location: Easton, PA
Contact:

Post by Patrick » Mon Feb 19, 2007 9:09 am

hellonorman wrote:I would be very interested in it for replacing procmail alone. I glanced at it and at least the syntax wasn't written by the devil himself.
You mean it's not written in Perl? ;)
Ego contemno licentia

rpedrica
Posts: 1
Joined: Mon Feb 19, 2007 10:10 am
Location: Cape Town, South Africa
Contact:

MailServer installs

Post by rpedrica » Mon Feb 19, 2007 10:47 am

Hi Pat, I've been doing email servers for a no. of years now for commercial load deployments using postfix, courier auth/imap, anomy, spamassassin, clamsmtp, clamav and FuzzyOCR. The combination is unbeatable in terms of stability and performance. Add postfixadmin and mysql for virtual hosting. Yes it's a complex/consuming setup but you don't get better and I keep an image on a disk for new installs. Everything is compiled from scratch for performance and specific functionality.

Post Reply