Simple Postfix help
I'm a new Linode user, but I've been using Linux on a small file server and on the desktop for a few years now. I'm no stranger to bash
However I've got a small problem… I've never set up a mail server before.
Everything else I want to run on my Linode I can do (http, mysql, ventrilo, etc), but Postfix is just a bit overwhelming and despite much reading I'm asking for help
Does anyone know of a simple / straightforward tutorial / howto to achieve the following:
A simple postfix install for two domains. domain1 has only a single user, domain2 has 4. I'd prefer not to have system accounts for each mail user and I'd rather not use mysql to store the mail / users (I know postfix can do this, but I don't know how
STMP auth is important, so only authorised users can send mail through the server.
Once I get the initial setup working and backed up I'll then look at adding ClamAV and spam filtering, but I want to start simple and understand how it works before complicating things
Many thanks all, I appreciate you taking the time to read this.
4 Replies
Configuring Postfix with basic sanity checks is covered herebackground presentation here
GreylistingPBLZen
@Nexx:
I'd prefer not to have system accounts for each mail user and I'd rather not use mysql to store the mail / users (I know postfix can do this, but I don't know how
:P ). Postfix must also reject mail for users who don't exist (no catch-all addresses).
No system accounts means you want to set up virtual domains only. See the "Postfix virtual MAILBOX example" section. here
Make sure you look at your "mydestination" in main.cf and ensure it isn't overlapping any of your virtual addresses.
> STMP auth is important, so only authorised users can send mail through the server.
You need to add SASL support, which includes installing another package. I personally recommend Dovecot. See herehere
And I don't recommend allowing SMTP auth without encryption, so after you get things working you should also look into setting up Postfix server-side TLS.
If anyone else has any other input, it'd be greatly appreciated, I'll post back when I have more.
Thanks again ^^