Page 1 of 1

My email server setup

Posted: Mon Feb 12, 2007 10:53 am
by Patrick
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

Posted: Mon Feb 12, 2007 11:20 am
by Tsuroerusu
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.

Posted: Mon Feb 12, 2007 11:20 am
by hellonorman
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.

Posted: Mon Feb 12, 2007 1:29 pm
by Gomer_X
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.

Posted: Mon Feb 12, 2007 1:38 pm
by Karl
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.

Posted: Mon Feb 12, 2007 2:31 pm
by Vogateer
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.

Posted: Thu Feb 15, 2007 9:05 am
by Gomer_X
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.

Posted: Mon Feb 19, 2007 8:25 am
by hellonorman
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.

Posted: Mon Feb 19, 2007 9:09 am
by Patrick
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? ;)

MailServer installs

Posted: Mon Feb 19, 2007 10:47 am
by rpedrica
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.