

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-usersRE: [courier-users] MySQL success sto...| From | Sent On | Attachments |
|---|---|---|
| mark david mcCreary | Jan 21, 2002 4:44 pm | |
| Tony Bibbs | Jan 21, 2002 5:53 pm | |
| Daniel Higgins | Jan 21, 2002 7:34 pm | |
| Sam Varshavchik | Jan 21, 2002 8:35 pm | |
| Arild Evensen | Jan 22, 2002 12:33 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [courier-users] MySQL success stories? | Actions... |
|---|---|---|
| From: | Arild Evensen (ari...@mailmeg.com) | |
| Date: | Jan 22, 2002 12:33:43 am | |
| List: | net.sourceforge.lists.courier-users | |
Hi,
I have authmysql running on mysql 3.23.47 on woody. I had some problems with the authmysqlrc file at the beginning, i think it is not liking whitespaces at linestart(MHO). I have included my authmysqlrc file, just change the XXXXXXXXX for username /password.
Arild
##VERSION: $Id: authmysqlrc,v 1.6 2001/05/20 15:33:00 mrsam Exp $ # # Copyright 2000 Double Precision, Inc. See COPYING for # distribution information. # # Do not alter lines that begin with ##, they are used when upgrading # this configuration. # # authmysqlrc created from authmysqlrc.dist by sysconftool # # DO NOT INSTALL THIS FILE with group/world read permissions. This file # might contain the MySQL admin password! # # Each line in this file must follow the following format: # # field[spaces|tabs]value # # That is, the name of the field, followed by spaces or tabs, followed by # field value. Trailing spaces are prohibited.
##NAME: LOCATION:0 # # The server name, userid, and password used to log in.
MYSQL_SERVER localhost MYSQL_USERNAME XXXXXXXX MYSQL_PASSWORD XXXXXXXX
##NAME: MYSQL_SOCKET:0 # # MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the # filesystem pipe used for the connection # # MYSQL_SOCKET /var/mysql/mysql.sock
##NAME: MYSQL_PORT:0 # # MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to # connect to.
MYSQL_PORT 0
##NAME: MYSQL_OPT:0 # # Leave MYSQL_OPT as 0, unless you know what you're doing.
MYSQL_OPT 0
##NAME: MYSQL_DATABASE:0 # # The name of the MySQL database we will open:
MYSQL_DATABASE courier
##NAME: MYSQL_USER_TABLE:0 # # The name of the table containing your user data. See README.authmysqlrc # for the required fields in this table.
MYSQL_USER_TABLE passwd
##NAME: MYSQL_CRYPT_PWFIELD:0 # # Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. Both # are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext # passwords go into MYSQL_CLEAR_PWFIELD. Cleartext passwords allow # CRAM-MD5 authentication to be implemented.
MYSQL_CRYPT_PWFIELD crypt
##NAME: MYSQL_CLEAR_PWFIELD:0 # # # MYSQL_CLEAR_PWFIELD clear
##NAME: MYSQL_DEFAULT_DOMAIN:0 # # If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user', # we will look up 'user@DEFAULT_DOMAIN' instead. # # DEFAULT_DOMAIN mailmeg.com
##NAME: MYSQL_UID_FIELD:0 # # Other fields in the mysql table: # # MYSQL_UID_FIELD - contains the numerical userid of the account # MYSQL_UID_FIELD uid
##NAME: MYSQL_GID_FIELD:0 # # Numerical groupid of the account
MYSQL_GID_FIELD gid
##NAME: MYSQL_LOGIN_FIELD:0 # # The login id, default is id. Basically the query is: # # SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid' #
MYSQL_LOGIN_FIELD id
##NAME: MYSQL_HOME_FIELD:0 #
MYSQL_HOME_FIELD home
##NAME: MYSQL_MAILDIR_FIELD:0 # # This is an optional field, and can be used to specify an arbitrary # location of the maildir for the account, which normally defaults to # $HOME/Maildir (where $HOME is read from MYSQL_HOME_FIELD). # # You still need to provide a MYSQL_HOME_FIELD, even if you uncomment this # out. # # MYSQL_MAILDIR_FIELD maildir
##NAME: MYSQL_QUOTA_FIELD:0 # # Define MYSQL_QUOTA_FIELD to be the name of the field that can optionally # specify a maildir quota. See README.maildirquota for more information # # MYSQL_QUOTA_FIELD quota
##NAME: MYSQL_WHERE_CLAUSE:0 # # This is optional, MYSQL_WHERE_CLAUSE can be basically set to an arbitrary # fixed string that is appended to the WHERE clause of our query # # MYSQL_WHERE_CLAUSE server='mailhost.example.com'
-----Original Message----- From: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net]On Behalf Of Tony Bibbs Sent: 22. januar 2002 02:54 To: cour...@lists.sourceforge.net Subject: [courier-users] MySQL success stories?
Does anyone have mysql authentication working with courier-mta with MySQL 3.23.47? I want to make sure I'm not beating a dead horse.
I have configured courier with only authdaemon and authmysql, verified that mysql_config and mysql_connect were ok. Edited authmysqlrc as needed even specifying the mysql.sock location and mysql port 3306 which are commented out by default. I started authdaemond.mysql and try authenticating with authtest and it fails. I really dont' think that courier is attempting to connect with MySQL as the mysql log show absolutely nothing.
If anyone has MySQL authentication working with some other version of MySQL please let me know which version
--Tony
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users







