Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Fedora 16

Discussion in 'HOWTO-Related Questions' started by azqnow, Feb 22, 2012.

  1. azqnow

    azqnow New Member

  2. falko

    falko Super Moderator Howtoforge Staff

    Not yet, but it's on my list.
     
  3. milonic

    milonic New Member

    Almost There

    Do yo have an ETA?

    I have installed everything on Fedora 16 and it's almost there, but I cannot for the life of me get MySQL SMTP authentication to work. POP3 authenticates just fine.

    I keep getting this in my log:

    Code:
    Mar  3 13:43:09 host postfix/smtpd[23453]: xsasl_cyrus_server_next: decoded response: password
    Mar  3 13:43:09 host postfix/smtpd[23453]: warning: unknown[192.168.0.2]: SASL LOGIN authentication failed: no mechanism available
    Mar  3 13:43:09 host postfix/smtpd[23453]: > unknown[192.168.0.2]: 535 5.7.8 Error: authentication failed: no mechanism available
    Mar  3 13:43:09 host postfix/smtpd[23453]: smtp_get: EOF
    
    How is Fedora 15 different to 16?

    Any idea what could be happening? It seems to me that the plug-ins cannot be found but that's just a guess.

    I've been working on this for 3 days solid now and it's driving me nuts :mad:

    Regards,
    Andy
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Not sure what's wrong. Did you disable SELinux?

    If Fedora is not a requirement, you should consider Debian or Ubuntu.
     
  5. milonic

    milonic New Member

    I figured it out.

    Seems I was using some legacy config in my smtpd.conf file:

    When I changed this:

    pwcheck_method: authdaemond
    mech_list: plain login
    allow_plaintext: true
    auxprop_plugin: mysql
    sql_hostnames: 127.0.0.1
    sql_user: user
    sql_passwd: password
    sql_database: mail
    sql_select: select password from users where email = '%u'
    authdaemond_path: /usr/local/var/spool/authdaemon/socket


    to this:

    pwcheck_method: authdaemond
    log_level: 3
    mech_list: PLAIN LOGIN
    authdaemond_path: /usr/local/var/spool/authdaemon/socket


    and then set permissions and did all the other stuff required it worked perfectly.

    Seems FC16 is not that much different to FC15 after all.

    So, to OP, which bit are you stuck on?
     

Share This Page