Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have setup Postfix on my CentOS and configured it properly.

Now, I want to enable user authentication to avoid any spam deliveries.

I don't want a complicated setup, just a plain txt file which will keep the username/password (or MySQL database if it's also easy to setup) and avoiding the delivery of email without AUTH command in Postfix SMTP connection.

I searched on Google, read lots of articles related to Postfix/SASL but couldn't understand, couldn't make Postfix run with SMTP Auth. Is there any body out there who will be happy to explain the process step by step?

Thanks, looking forward to hear from you.

share|improve this question
1  
The setup you describe is very non-standard. Do you really want to disallow delivery of any mail without authentication, or do you just want to disallow relaying of mail without auth? –  womble Jan 19 '10 at 1:52

2 Answers 2

up vote 0 down vote accepted

This article from flurdy has all the info on how you can do this. It says how to do it with Mysql.

share|improve this answer

You DON'T want to make authentication for mail delivery or else users from different mail servers than yours will not be able to deliver e-mails to your server mailboxes.

What you really need from what I've understand is to setup SPAM-bulletproof server. Spamassassin, RBL and greylisting cuts off almost everything if set-up properly.

Check out this article which I have posted on my blog - AntiSPAM postfix setup.
There you will find copy of my mail server setup which cuts off more than 99% of SPAM without using spamassasin which I doesn't really like due to personal constraints.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.