Ok, let's
continue!
>Since you know which ones you edited during install, I would start there.
>At a minimum I would show the output of
>more authdaemonrc | grep authmodulelist
# more authdaemonrc |
grep authmodulelist
##NAME: authmodulelist:2
authmodulelist="authuserdb authpam authcustom"
##NAME: authmodulelistorig:2
##NAME: authmodulelist:2
authmodulelist="authuserdb authpam authcustom"
##NAME: authmodulelistorig:2
authmodulelistorig="authuserdb authpam
authcustom"
>courierauthtest myusername
I don't have such tool :(
>more authpgsqlrc| grep PGSQL
# more
authpgsqlrc| grep PGSQL
# To connect to a filesystem socket, delete PGSQL_HOST, and set PGSQL_PORT to
# the socket's last component. So, if your pg socket is /tmp/.s.PGSQL.5400
# set PGSQL_PORT to 5400.
PGSQL_HOST localhost
PGSQL_USERNAME quica
PGSQL_PASSWORD quica
PGSQL_PORT 5432
##NAME: PGSQL_OPT:0
# PGSQL_OPT specifies the connection debug options to PQsetdbLogin().
# PGSQL_OPT
PGSQL_OPT
##NAME: PGSQL_DATABASE:0
PGSQL_DATABASE quica
##NAME: PGSQL_USER_TABLE:0
PGSQL_USER_TABLE accounts
##NAME: PGSQL_CRYPT_PWFIELD:0
# Either PGSQL_CRYPT_PWFIELD or PGSQL_CLEAR_PWFIELD must be defined. Both
# are OK too. crypted passwords go into PGSQL_CRYPT_PWFIELD, cleartext
# passwords go into PGSQL_CLEAR_PWFIELD. Cleartext passwords allow
PGSQL_CRYPT_PWFIELD crypt
##NAME: PGSQL_CLEAR_PWFIELD:0
#PGSQL_CLEAR_PWFIELD clear
PGSQL_CLEAR_PWFIELD clear
##NAME: PGSQL_DEFAULT_DOMAIN:0
##NAME: PGSQL_UID_FIELD:0
# PGSQL_UID_FIELD - contains the numerical userid of the account
PGSQL_UID_FIELD uid
##NAME: PGSQL_GID_FIELD:0
PGSQL_GID_FIELD gid
##NAME: PGSQL_LOGIN_FIELD:0
# SELECT PGSQL_UID_FIELD, PGSQL_GID_FIELD, ... WHERE id='loginid'
PGSQL_LOGIN_FIELD id
##NAME: PGSQL_HOME_FIELD:0
PGSQL_HOME_FIELD home
##NAME: PGSQL_NAME_FIELD:0
PGSQL_NAME_FIELD name
##NAME: PGSQL_MAILDIR_FIELD:0
# $HOME/Maildir (where $HOME is read from PGSQL_HOME_FIELD).
# You still need to provide a PGSQL_HOME_FIELD, even if you uncomment this
# PGSQL_MAILDIR_FIELD maildir
##NAME: PGSQL_DEFAULTDELIVERY:0
# PGSQL_DEFAULTDELIVERY defaultDelivery
##NAME: PGSQL_QUOTA_FIELD:0
# Define PGSQL_QUOTA_FIELD to be the name of the field that can optionally
PGSQL_QUOTA_FIELD quota
##NAME: PGSQL_AUXOPTIONS:0
# Auxiliary options. The PGSQL_AUXOPTIONS field should be a char field that
# PGSQL_AUXOPTIONS_FIELD auxoptions
# PGSQL_AUXOPTIONS_FIELD 'disableimap=' || disableimap || ',disablepop3=' || disablepop3 || ',disablewebmail
=' || disablewebmail || ',sharedgroup=' || sharedgroup
##NAME: PGSQL_WHERE_CLAUSE:0
# This is optional, PGSQL_WHERE_CLAUSE can be basically set to an arbitrary
# PGSQL_WHERE_CLAUSE server='mailhost.example.com'
##NAME: PGSQL_SELECT_CLAUSE:0
# This is optional, PGSQL_SELECT_CLAUSE can be set when you have a database,
# PGSQL_SELECT_CLAUSE SELECT popbox.local_part, \
PGSQL_SELECT_CLAUSE SELECT id, crypt, clear, uid, gid, home, '', quota, '' FROM accounts WHERE id = '$(local_pa
rt)@$(domain)'
##NAME: PGSQL_ENUMERATE_CLAUSE:1
# PGSQL_ENUMERATE_CLAUSE SELECT popbox.local_part || '@' || popbox.domain_name, \
##NAME: PGSQL_CHPASS_CLAUSE:0
# This is optional, PGSQL_CHPASS_CLAUSE can be set when you have a database,
# PGSQL_CHPASS_CLAUSE UPDATE popbox
# To connect to a filesystem socket, delete PGSQL_HOST, and set PGSQL_PORT to
# the socket's last component. So, if your pg socket is /tmp/.s.PGSQL.5400
# set PGSQL_PORT to 5400.
PGSQL_HOST localhost
PGSQL_USERNAME quica
PGSQL_PASSWORD quica
PGSQL_PORT 5432
##NAME: PGSQL_OPT:0
# PGSQL_OPT specifies the connection debug options to PQsetdbLogin().
# PGSQL_OPT
PGSQL_OPT
##NAME: PGSQL_DATABASE:0
PGSQL_DATABASE quica
##NAME: PGSQL_USER_TABLE:0
PGSQL_USER_TABLE accounts
##NAME: PGSQL_CRYPT_PWFIELD:0
# Either PGSQL_CRYPT_PWFIELD or PGSQL_CLEAR_PWFIELD must be defined. Both
# are OK too. crypted passwords go into PGSQL_CRYPT_PWFIELD, cleartext
# passwords go into PGSQL_CLEAR_PWFIELD. Cleartext passwords allow
PGSQL_CRYPT_PWFIELD crypt
##NAME: PGSQL_CLEAR_PWFIELD:0
#PGSQL_CLEAR_PWFIELD clear
PGSQL_CLEAR_PWFIELD clear
##NAME: PGSQL_DEFAULT_DOMAIN:0
##NAME: PGSQL_UID_FIELD:0
# PGSQL_UID_FIELD - contains the numerical userid of the account
PGSQL_UID_FIELD uid
##NAME: PGSQL_GID_FIELD:0
PGSQL_GID_FIELD gid
##NAME: PGSQL_LOGIN_FIELD:0
# SELECT PGSQL_UID_FIELD, PGSQL_GID_FIELD, ... WHERE id='loginid'
PGSQL_LOGIN_FIELD id
##NAME: PGSQL_HOME_FIELD:0
PGSQL_HOME_FIELD home
##NAME: PGSQL_NAME_FIELD:0
PGSQL_NAME_FIELD name
##NAME: PGSQL_MAILDIR_FIELD:0
# $HOME/Maildir (where $HOME is read from PGSQL_HOME_FIELD).
# You still need to provide a PGSQL_HOME_FIELD, even if you uncomment this
# PGSQL_MAILDIR_FIELD maildir
##NAME: PGSQL_DEFAULTDELIVERY:0
# PGSQL_DEFAULTDELIVERY defaultDelivery
##NAME: PGSQL_QUOTA_FIELD:0
# Define PGSQL_QUOTA_FIELD to be the name of the field that can optionally
PGSQL_QUOTA_FIELD quota
##NAME: PGSQL_AUXOPTIONS:0
# Auxiliary options. The PGSQL_AUXOPTIONS field should be a char field that
# PGSQL_AUXOPTIONS_FIELD auxoptions
# PGSQL_AUXOPTIONS_FIELD 'disableimap=' || disableimap || ',disablepop3=' || disablepop3 || ',disablewebmail
=' || disablewebmail || ',sharedgroup=' || sharedgroup
##NAME: PGSQL_WHERE_CLAUSE:0
# This is optional, PGSQL_WHERE_CLAUSE can be basically set to an arbitrary
# PGSQL_WHERE_CLAUSE server='mailhost.example.com'
##NAME: PGSQL_SELECT_CLAUSE:0
# This is optional, PGSQL_SELECT_CLAUSE can be set when you have a database,
# PGSQL_SELECT_CLAUSE SELECT popbox.local_part, \
PGSQL_SELECT_CLAUSE SELECT id, crypt, clear, uid, gid, home, '', quota, '' FROM accounts WHERE id = '$(local_pa
rt)@$(domain)'
##NAME: PGSQL_ENUMERATE_CLAUSE:1
# PGSQL_ENUMERATE_CLAUSE SELECT popbox.local_part || '@' || popbox.domain_name, \
##NAME: PGSQL_CHPASS_CLAUSE:0
# This is optional, PGSQL_CHPASS_CLAUSE can be set when you have a database,
# PGSQL_CHPASS_CLAUSE UPDATE popbox
>and the output of a telnet session to port 25 to show a proper smtp session
How can I do this?
>please don't send a mini snippet from a line in the log, send all the
>information involved in a transaction, from the connection opening, up
>until the connection is closed
At 01:32 AM I ran pop3 client, and ONLY
one line appears in /var/log/maillog:
Jul 2
01:32:30 courier pop3d: LOGIN FAILED, user=test,
ip=[::ffff:213.85.182.14]
At 01:51 AM I sent massage,
and theese lines appears in /var/log/maillog:
Jul 2 01:51:10 courier courieresmtpd: started,ip=[::ffff:81.19.66.30]
Jul 2 01:51:18 courier courieresmtpd: error,relay=::ffff:81.19.66.30,from=<[EMAIL PROTECTED]>,to=<[EMAIL PROTECTED]hys.msu.ru>: 550 User unknown.
Jul 2 01:51:18 courier courieresmtpd: error,relay=::ffff:81.19.66.30,msg="502 ESMTP command error",cmd: DATA
Anton.
> ----- Original Message -----
> From: "Tim Hunter" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, June 28, 2005 5:37 PM
> Subject: Re: [courier-users] PGSQL accounts dont work
>
>
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Anton Basistov said:
>> I has installed Courier, PgSQL and Quica.
>> But now I can't login to Courier like pgsqldb-account-user,
>> and it do not deliver mail at all.
>> Default mail delivery is "maildrop".
>> What is the problem?
>
> Logs would help, courier config files would help too.
>
>>
>> Anton B.
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
