[plug] Slackware Mail Server

Craig Ringer craig at postnewspapers.com.au
Sat Dec 10 20:29:10 WST 2005


On Fri, Dec 09, 2005 at 08:44:47PM -0800, Benjamin Woods wrote:

> I had a problem that when it downloaded the
> emails, it would sometimes send an email to the sender which looked like
> this:

[snip]

> Some addresses were rejected by the MDA fetchmail forwards to.

[snip]

> Where USERNAME1 is the username of the sender and USERNAME2 is my
> username at iinet. I think this was because woodsb02 didnt exist on my
> server... i use bwoods there instead! So i created an alias:
> 
> cat /etc/mail/aliases
> <snip>
> woodsb02:       bwoods
> 
> I think its working again. is this right?

Yes.

> Now, my next problem is that my imap server thinks the sent mail folder
> should be ~/Sent. I want all mail folders in ~/mail/ (except INBOX which
> should be in /var/spool/mail/bwoods)... is this an ok proposal? how can
> i fix this?

What IMAP server are you using? You never said.

> Next, is it hard to set up squirrel mail?

I didn't find it hard. I wasn't too impressed with it though, and plan
to try out Horde at the POST when I re-enable webmail for the staff.

> Finally... i will look at clamav and spamassassin for virus and spam
> filtering.... i have no idea about either yet... that could be fun!

They're not too bad. If you're using Sendmail, consider using MimeDefang
(a milter for mail scanning and spam checking), it's a great tool. If
you change your mind about Sendmail then amavisd-new isn't too bad and
works extremely well with postfix. Both tools will take care of scanning
messages with ClamAV and SpamAssassin, as well as optionally doing
things like quarantining certain attachment types.

> I do realise that sendmail is a beast and would take a LONG time to
> fully learn. The setup that comes with slackware seems ok by default...
> so i am hoping i can just dodge learning about this beast...

Frankly, Sendmail is REALLY easy to set up for most common uses. I
couldn't believe how complicated it was to make postfix do the same
sorts of things. On the other hand, Sendmail gets complex fast as you
want to do more advanced things; Postfix much less so. I can't speak for
Exim 4, which I haven't used.

> Any suggestions are appreciated.

Use a decent IMAP server. I love Cyrus, though it's a pain to set up and
probably not good for a small site. Lots of folks here swear by Dovecot.

-- 
Craig Ringer



More information about the plug mailing list