How to config squiral mail top work in ispconfig 3 with a centos 5.5 server

Discussion in 'General' started by wachira, Feb 3, 2011.

  1. wachira

    wachira New Member

    I have some websites running but when i go to webmail.mysite.com the user name for the email account and password dont work. Whta files do i need to adjust and is there a set up tutorial
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure that webmail.mysite.com is the webmail on that server? Normally the webmail address on a ispconfig server is:

    http://IPADDRESS/webmail

    or

    http://SERVERHOSTNAME/webmail

    In ISPConfig 3., the username of a email account is the complete email address.
     
  3. wachira

    wachira New Member

    Till I use mywesite.com/webmail but when i put my full email address and password that i set up in ispconfig3 it says invalid username or password
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Which pop3 / imap daemon do you use (courier or dovecot)?
    2) Which error messages do you get in the mail log?
     
  5. wachira

    wachira New Member

    I am using dovecot as per directed on the setup for centos 5.5 ispconfig3
    my output for maillog is :
    Feb 4 17:15:02 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 5489 exit status 1
    Feb 4 17:15:02 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:20:02 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:20:02 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:20:02 wachkama postfix/smtpd[5687]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:20:02 wachkama postfix/smtpd[5687]: fatal: no SASL authentication mechanisms
    Feb 4 17:20:03 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 5687 exit status 1
    Feb 4 17:20:03 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:25:01 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:25:01 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:25:01 wachkama postfix/smtpd[5885]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:25:01 wachkama postfix/smtpd[5885]: fatal: no SASL authentication mechanisms
    Feb 4 17:25:02 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 5885 exit status 1
    Feb 4 17:25:02 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:30:02 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:30:02 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:30:02 wachkama postfix/smtpd[6084]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:30:02 wachkama postfix/smtpd[6084]: fatal: no SASL authentication mechanisms
    Feb 4 17:30:03 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 6084 exit status 1
    Feb 4 17:30:03 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:35:01 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:35:01 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:35:01 wachkama postfix/smtpd[6284]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:35:01 wachkama postfix/smtpd[6284]: fatal: no SASL authentication mechanisms
    Feb 4 17:35:02 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 6284 exit status 1
    Feb 4 17:35:02 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:40:01 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:40:01 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:40:01 wachkama postfix/smtpd[6602]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:40:01 wachkama postfix/smtpd[6602]: fatal: no SASL authentication mechanisms
    Feb 4 17:40:02 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 6602 exit status 1
    Feb 4 17:40:02 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Feb 4 17:45:02 wachkama dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:45:02 wachkama dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb 4 17:45:02 wachkama postfix/smtpd[6943]: warning: SASL: Connect to private/auth failed: No such file or directory
    Feb 4 17:45:02 wachkama postfix/smtpd[6943]: fatal: no SASL authentication mechanisms
    Feb 4 17:45:03 wachkama postfix/master[3097]: warning: process /usr/libexec/postfix/smtpd pid 6943 exit status 1
    Feb 4 17:45:03 wachkama postfix/master[3097]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's in your main.cf? What's the output of
    Code:
    getenforce
    ?
     
  7. wachira

    wachira New Member

    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    myhostname = wachkama.com
    mynetworks = 127.0.0.0/8 [::1]/128
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_security_level = may
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    virtual_create_maildirsize = yes
    virtual_maildir_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    receive_override_options = no_address_mappings
    content_filter = amavis:[127.0.0.1]:10024

    My getenforce is disabled
     

Share This Page