Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-24-2012, 04:47 AM   #1
Registered: Apr 2010
Location: Belgium
Distribution: Archlinux
Posts: 53

Rep: Reputation: 1
Question Postfix: vs


I am configuring my Postfix server and would like to set an SASL authentication to avoid becoming a mail relay. The problem is that I read many different things and I am not always sure what to do.

My question is about the difference between the file and in the postfix directory. In my understanding, the rules specified in are global and using "-o something" in overwrite it for the specified service (smtp, smtpd...).

In my, to restrict the access to authenticated users, I put
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_security_options = noplaintext,noanonymous
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth-client
So does it mean the redundant rule "smtpd_sasl_auth_enable=yes" in my is useless or does it mean the smtp service is not protected with sasl ? I use smtp (25) and smtps (465).

smtp      inet  n       -       -       -       -       smtpd
  -o smtpd_milters=inet:
smtps     inet  n       -       -       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o smtpd_milters=inet:
Also I use OpenDKIM to sign my messages. After testing, I had to put the rule "smtpd_milters = inet:" in both and (otherwise it doesn't work). Why is that ?

Thank you in advance

Last edited by martvefun; 11-24-2012 at 05:28 AM.
Old 11-26-2012, 08:04 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66 control process of postfix , which process will run and what parameters passed to them all these are decided by . in the MTA configuration file.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix - editation connorcan Linux - Newbie 4 10-25-2010 03:06 AM
Help on Postfix 2.1.5 allancth Linux - Software 2 04-29-2009 07:08 PM
Postfix halvorls Linux - Server 8 09-25-2008 04:03 PM
postfix and configuration husseinalbazzar Linux - Newbie 10 03-19-2008 10:18 AM
postfix illtbagu Linux - Software 8 07-21-2003 11:35 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration