ISP Config email issue

Discussion in 'Installation/Configuration' started by 0x1a4, May 20, 2009.

  1. 0x1a4

    0x1a4 New Member

    Hey all,

    I seem to be having a problem figuring this one out. I did a fresh install of Fedora 10 using the perfect server guide, and then installed ISPConfig. I can get to the web site to configure a virtual domain, and have set up a domain, and an email account. But no matter what I do, I cannot get it to work. I get these errors in /var/log/secure:

    May 19 16:30:10 localhost dovecot-auth: pam_unix(dovecot:auth): check pass; user unknown
    May 19 16:30:10 localhost dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot
    May 19 16:30:10 localhost dovecot-auth: pam_succeed_if(dovecot:auth): error retrieving information about user
    From reading the forum I have tried modifying /etc/pam.d/smtp
    #auth       include     system-auth
    #account    include     system-auth
    auth    required user=ispconfig passwd=xxxxx host= db=dbispconfig table=mail_users usercolumn=email passwdcolumn=password crypt=1
    account sufficient user=ispconfig passwd=xxxxx host= db=dbispconfig table=mail_users usercolumn=email passwdcolumn=password crypt=1
    I have changed /usr/lib64/sasl2/smtp.conf

    #pwcheck_method: saslauthd
    #mech_list: plain login
    pwcheck_method: authdaemond
    log_level: 3
    mech_list: PLAIN LOGIN
    BTW, I do not have a /var/spool/authdaemon

    Here is /etc/postfix/
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    mail_owner = postfix
    inet_interfaces = all
    mydestination = $myhostname, localhost.$mydomain, localhost
    unknown_local_recipient_reject_code = 550
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    debug_peer_level = 2
    debugger_command =
             ddd $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.5.5/samples
    readme_directory = /usr/share/doc/postfix-2.5.5/README_FILES
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mynetworks =
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    myhostname = localhost
    home_mailbox = Maildir/
    mailbox_command =
    #virtual_mailbox_domains = mysql:/etc/postfix/
    #virtual_mailbox_maps = mysql:/etc/postfix/
    relayhost =
    mailbox_size_limit = 0
    message_size_limit = 0
    I have tried with and without the virtual_mailbox lines.

    I am at a loss. It looks like it's simply not looking into the mysql database for users. Anyone have any thoughts?


    I cannot log into squirrelmail, POP or IMAP. I have tried web1_user user and in all cases.
    Last edited: May 20, 2009
  2. till

    till Super Moderator

    Which perfect server guide do you use and which ispconfig version have you installed.
  3. 0x1a4

    0x1a4 New Member

  4. till

    till Super Moderator

  5. 0x1a4

    0x1a4 New Member

    Ah, I suspected I was missing something fundamental. Many thanks!

Share This Page