How to change password for email account?

Discussion in 'Installation/Configuration' started by soho, Jun 6, 2007.

  1. soho

    soho Member

    Hi all,

    After to try some configurations to solve the problem with password change, I did not get success.

    The users have access its accounts of email, send and receive messages without no problem.

    I need that the mailuser has accepted the access of the username. I used a tip of cryptic and Torfinn Nome and ./W so that the squirrelmail has accepted the access through the format [email protected], but if the user try to have access mailuser with domain.com_username is shown "Error: Password error: Authentication failed."

    Some tip?

    Thanks in advance.
    Last edited: Jun 6, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you really sure that you use the mailuser login and not the normal ISPConfig login? The mailuser login does a lookup for the username when you enter the email address. The mailuserlogin is at:
  3. soho

    soho Member

    Till, what I want is that the user (owner of the email account) can modify its password without the intervention of the ISP support. It will be requested to have access the URL, to insert its username and the password initially (created for the ISP support) and to modify for a password of its preference.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. And the solution is the mailuser login as I posted in my previous post.
  5. soho

    soho Member

  6. mlz

    mlz New Member

    If I remember correctly it must be the username as specified in the /etc/passwd file.
  7. soho

    soho Member

    This exactly, I am using the username created in /etc/passwd (domain.com_username) and I am shown the error: "Error: Password error: Authentication failed.", but the password and the username are correct.

    Perhaps this occurs because I am using the var [DOMAIN] in the general configuration of the server. (eg. domain.com_username), but not yet I found the error.

    This is structure:

    #cat /etc/passwd
    vialivre.net_falecom:x:10002:10001:Fale Conosco:/var/www/web1/user/vialivre.net_falecom:/bin/false

    [[email protected]]# ls /var/www/
    Maildir web
  8. soho

    soho Member

    I found this log in /var/log/secure:

    Jun 7 10:35:35 ispconfig dovecot-auth: pam_succeed_if(dovecot:auth): error retrieving information about user _vialivre.net_falecom

    How I configure so that underscore of the beginning is not passed to authenticate?
  9. soho

    soho Member

    The way that I configured in dovecont.conf ( auth_username_format = “%Ld_%Ln” ) and in /squirrelmail/config/config.php ( I removed the line: $plugins [] = “vlogin”; ), the authentication in the squirrelmail and pop3 function perfectly, but for the authentication in the underscore in the front of the username it does not allow the authentication of correct form.

    I don't know how to solve this. If anybody it will be able to help, I am very grateful.
  10. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

  11. soho

    soho Member

    hi torusturtle.

    Yes, I activate Mailuser Login. The problem I posted in previous post.

  12. soho

    soho Member

    I cannot affirm that it was the way most efficient, but I solved the problem configuring:
    auth_username_format = “%n”


    $plugins [] = “vlogin”;

    With these configurations and using domain.com_username the access to mailuser, pop3 and the squirrelmail is working.

    For any access of the user (pop3, squirrelmail and usermail), it will have to use the format domain.com_username and the format [email protected] will not be used.

    Thanks for all.

Share This Page