rmd: (fightclubanimated)
[personal profile] rmd
i'm having problems making postfix use dovecot for sasl

so, i'm trying to set up a new centos machine, and want to use dovecot and sasl for authentication. i've been installing everything via yum. postfix looks to have been built with dovecot support built in.
  # postconf -a
  cyrus
  dovecot
  #

and here's the sasl-related part of my postfix main.cf:
  smtpd_sasl_auth_enable = yes
  smtpd_sasl_security_options = noanonymous
  broken_sasl_auth_clients = yes
  smtpd_sasl_type = dovecot
  smtpd_sasl_path = private/auth
  smtpd_sasl_authenticated_header = yes
  smtpd_recipient_restrictions = permit_sasl_authenticated, 
        permit_mynetworks, reject_unauth_destination

my dovecot.conf config has the following set up for auth:
  auth default {
    mechanisms = plain login
    passdb pam {
    }
    userdb passwd {
    }
    user = root
    socket listen {
      client {
        path = /var/spool/postfix/private/auth
        mode = 0660
        user = postfix
        group = postfix
      }
    }
  }

but when i connect to my smtp port, i don't get any kind of "250-AUTH" offering after my EHLO:
  250-PIPELINING
  250-SIZE 10240000
  250-VRFY
  250-ETRN
  250-STARTTLS
  250-ENHANCEDSTATUSCODES
  250-8BITMIME
  250 DSN

what am i missing, here? dovecot and postfix both seem to start cleanly. in rc2.d, dovecot is S65 and postfix is S80, so i don't think postfix is freaking out because it couldn't find dovecot. and restarting either one doesn't seem to matter.
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

rmd: (Default)
rmd

June 2025

S M T W T F S
1234567
89 1011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 29th, 2025 04:02 pm
Powered by Dreamwidth Studios