Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9151261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:45:42+00:00 2026-06-17T11:45:42+00:00

Ok, so I have VERY weird problem with my courier installation.. When I try

  • 0

Ok, so I have VERY weird problem with my courier installation.. When I try to log in, I need username and password right? Except that I can as password use any string, which has prefix same like my password. Example:

let say that this is my password:

#password#

I can successfully log in with ANY of the following passwords:

#password#
#password#FOO
#password#BAR

etc..

I am using mysql for storing user data, this is my /etc/courier/authmysqlrc

MYSQL_SERVER localhost
MYSQL_USERNAME #USER
MYSQL_PASSWORD #PASSWORD
MYSQL_PORT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE users
MYSQL_CRYPT_PWFIELD password
#MYSQL_CLEAR_PWFIELD password
MYSQL_UID_FIELD 5000
MYSQL_GID_FIELD 5000
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD "/home/vmail"
MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
#MYSQL_NAME_FIELD
MYSQL_QUOTA_FIELD quota

Where could be a problem? Thanks in advance for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:45:44+00:00Added an answer on June 17, 2026 at 11:45 am

    The problem is that the passwords are crypted by using the operating system’s crypt() function, which looks only at the first 8 characters of the password to generate the encrypted hash.
    As explained here:

    If you have a password longer than 8 characters, as long as the first
    8 characters match, crypt() will call it a valid match. For example,
    if your password is “password” and is stored as a crypted hash in a
    htpasswd file, checking against “passwordX” will be exactly the same
    as checking against “password”, “password123″, and so on; that is, it
    will be returned as a valid check because the first 8 characters match
    properly. Similarly, if your password is “longpassword” and you check
    against only “longpass”, that will be returned as valid, too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very weird problem that I can't understand. This is C code:
I have a very weird problem I am writing a code that gets data
I have a very weird problem.That my web project deployed to the Weblogic 10.0,Monday
I have a very weird problem that when I call the method of a
I have a very weird problem. I have a VB.NET 2.0 application that takes
I have encountered a very weird problem with fancybox modal that whenever my website
I'm having a very weird problem that for the life of me I can
I have a very weird problem. I have a webpage that displays some graphs
it's a weird problem that I have I have a very simple constructor that's
I have a very weird problem.. I really do hope someone has an answer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.