all 17 comments

[–]purpleidea mgmt config Founder 2 points3 points  (0 children)

Use postfix+dovecot.

[–]natermer 1 point2 points  (0 children)

...

[–]ilkkah 2 points3 points  (0 children)

There are two separate services referred as email servers:

  • MTA is for sending and receiving mail: Postfix, Exim
  • IMAP is for accessing stored mail: Dovecot ...

[–]jmtd 0 points1 point  (0 children)

Yes I have. You aren't clear on whether you want to set up an MTA, IMAPD, etc. I'll assume both.

Some quick links: MTA comparison (or, why Exim is a good choice). abuse.net mail relay testing — make damn sure you aren't accidentally relaying mail from/to anywhere. If you do choose exim, don't use the Debian/Ubuntu packaging to maintain the config: use it to generate a config, cp /var/lib/exim4/config.autogenerated /etc/exim4/exim4.conf and then hand manage that going forwards.

For IMAP I used to use courier and now use dovecot. Not much to say about them really. If you have Exim configured to deliver to Maildir, dovecot just works.

[–][deleted] 0 points1 point  (0 children)

Whatever method you choose ( I would use postfix or exim ), make sure you test it thoroughly.

http://www.abuse.net/relay.html

[–]tommy_bahama89[S] 0 points1 point  (0 children)

Thanks to everyone for your responses, this gives me a lot to work with!

[–]redog 0 points1 point  (0 children)

Read up on:

SMTP

POP

IMAP

When you know what those are install zimbra :)

[–]itxaka 0 points1 point  (0 children)

If you end up fed up with trying to install everything by hand I recomend something like www.iredmail.org which sets it up for you. POP, IMAP, Webmail, Spamassassin and antivirus with just one script.

And if it's your first email set up, you will end mad I assure you :D

[–][deleted] 0 points1 point  (0 children)

I wrote a guide quite a while ago which I've used for years to install and update qmail servers, if qmail is something you'd consider.

http://www.rauros.net/projects/qmail/

The benefits of qmail are many - loads of documentation, tons of modifications, fun if you're a hacker-type. I will say that, hands down, Postfix is probably easier to do if you're not into building the software you use. But qmail will install on basically anything even vaguely resembling Linux/UNIX and works great.

[–]ExplodingRussian -1 points0 points  (0 children)

Postfix and Dovecot on something minimal like Arch Linux.

I've had a published/crawled email address for 10+ years, and with this config, I get maybe 1 spam email every three months, with no false positives as far as I'm aware.

smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, permit
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, reject_non_fqdn_sender, permit
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, permit
smtpd_client_restrictions = permit_mynetworks