Email username and password do not work

Discussion in 'Installation/Configuration' started by iratik, Aug 9, 2006.

  1. iratik

    iratik New Member

    I typed a 2 page post and it lost it because of a session timeout, please increase the session timeout.

    I have just completed the "Ubuntu Dapper 6.06 LTS Perfect ISP Config" Setup. Verbose from boot cd to the ISP Config display of the address the utility was accessible from in 5 hours, no error messages, no typos, no mistakes.

    After that, i copied the pkg url of uebimaui webmail and pasted into the update manager url field , selected url and the webmail component was installed successfully.

    The following are instructions for exposing a bug in ISPConfig/Webmail
    : ISP Config is not properly integrated with UebiMaui Email

    From the blank installation with the webmail plugin installed (no clients, no sites, no hosting plans, nothing)
    Click on "New Client"
    Enter test for title, company and all other fields on "Master Data" except website and leave it http://
    Click Site Management
    Click New
    Click Next
    title: test
    Domain: example.com
    click create dns-mx
    click mailuser login (These are the two options i guessed were pertinent to the webmail working or not)
    click User&Email

    Click new

    Real Name: Test User
    Email Address: webtest
    Username: web4_test
    Password: webtest
    Click Save
    (You will be back at ISP Site)
    Click Save
    Click Tools
    Click Webmail

    Enter webtest@example.com
    Enter webtest as the password
    Voila, the bug reveals itself
    (No possible combination of users will work)
    Tried
    web1_webtest@example.com
    webtest
    test@example.com
     
    Last edited: Aug 9, 2006
  2. till

    till Super Moderator

    You must send an email to the account first before you are able to login, the Maildir is created by postfix when the first email arrives.
     
  3. falko

    falko Super Moderator

    Please check "Remember me" when you log in. Then this doesn't happen.
     
  4. iratik

    iratik New Member

    Mail does not deliver properly?

    Is there something wrong with my configuration?
    If i set up example.com and send an email to (using sendmail) user1@example.com and look inside /var/mail
    I see that the mail did not deliver to the correct maildir.

    The maildir is created for user1, but empty - user1@example.com cannot login
     
  5. till

    till Super Moderator

    If you use maildirs in ISPConfig, the maildirs where never created in /var/mail, the maildirs where created in the home directories of the users.
     
  6. iratik

    iratik New Member

    Improper Maildir Setup

    I appreciate all your help on this, ISPConfig seems like the best option for what were trying to do.

    There are no user directories under /home

    admin
    adminispconfig
    ftp

    and thats it. I'm not sure which configuration file might be off. But i'm guessing something in the MTA is amis.

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version


    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = lonestart.loadmax.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = lonestart.loadmax.com, localhost.loadmax.com, , localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_auth_clients = yes
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    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

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names


    ISP Config is set up on a local machine in our network behind a router.
    The hostname of that machine is "lonestart" and the domain iss "loadmax.com"

    Something must be wrong here, is there anything I can do here to get mail working?
     
  7. falko

    falko Super Moderator

    You can find the homedirs of the users created by ISPConfig in /etc/passwd. If you check these homedirs, you should find Maildir there.
     
  8. iratik

    iratik New Member

    No mail found in directory, is there something wrong with MTA


    root@lonestart:/var/www/web7/user# ls -R web7_devolt
    web7_devolt:
    web

    web7_devolt/web:
    index.html
    root@lonestart:/var/www/web7/user#


    Am I mailing to the right address - according to the ispc config
    it should be Thomas.Devol@loadmax.com but that doesn't work and neither does devolt@loadmax.com or web7_devolt@loadmax.com
    Mail did end up in /var/mail/admin

    Whats wrong?
     
  9. falko

    falko Super Moderator

    Did you enable Maildir under Management -> Server -> Settings -> Email in ISPConfig?
     

Share This Page