Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

mysql auth

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


mohsen at pahlevanzadeh

Feb 25, 2009, 8:43 AM

Post #1 of 2 (942 views)
Permalink
mysql auth

Dear all,
At first i installed qmail from LWQ on Debian.Then i installed
courier-imap & courier-pop & their core.
Then i installed vpopmail with mysql auth module.Even i tested it & it
read & write to mysql.
Now, When i use following command,i give error:
--------------------------------------------------
localhost:/home/mohsen# telnet 0 110
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
+OK Hello there.
user postmaster [at] mohsenja
+OK Password required.
pass 123456
-ERR Login failed.
Connection closed by foreign host.
localhost:/home/mohsen# cd vpopmail-5.4.27
----------------------------------------------
mohsenjan is my domain that i inserted to my db.
When i saw my /var/log/mail.log, i see follow line:
------------------------
Feb 25 19:17:20 localhost authdaemond: SQL query: SELECT pw_name,
pw_passwd, pw_clear_passwd, pw_uid, pw_gid, pw_dir , "", "", "", "" FROM
vpopmail WHERE pw_name = 'postmaster [at] mohsenja'
Feb 25 19:17:20 localhost authdaemond: zero rows returned
Feb 25 19:17:20 localhost authdaemond: no password available to compare
Feb 25 19:17:20 localhost authdaemond: authmysql: REJECT - try next
module
Feb 25 19:17:20 localhost authdaemond: FAIL, all modules rejected
Feb 25 19:18:01 localhost pop3d: LOGOUT, ip=[::ffff:127.0.0.1]
Feb 25 19:18:01 localhost pop3d: Disconnected, ip=[::ffff:127.0.0.1]
-----------------------------------------------
My question:
How i tell to courier to pw_name is just is my username from email?.It
doesn't contain domain name
I have attached my /etc/courier/authmysqlrc file.
Yours,
Mohsen
Attachments: authmysqlrc (8.63 KB)


kyle-qmail at memoryhole

Feb 25, 2009, 8:50 AM

Post #2 of 2 (896 views)
Permalink
Re: mysql auth [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, February 25 at 08:13 PM, quoth Mohsen Pahlevanzadeh:
>My question: How i tell to courier to pw_name is just is my username
>from email?.It
>doesn't contain domain name
>I have attached my /etc/courier/authmysqlrc file.

This is a question that would be more appropriately addressed to the
courier email list.

~Kyle
- --
How can you expect to enjoy life without heartily disliking a good
many people?
-- Cary Tennis
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkmlduQACgkQBkIOoMqOI14umgCgpfMPnGFVhopgLQiIKqSKR8uX
J3kAoPpl5Dzvs8sWWSF6YTHUbhflzoKm
=geYR
-----END PGP SIGNATURE-----

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.