Re: [courier-users] PGSQL accounts dont work

2005-07-12 Thread Anton Basistov

Hello, everybody!
Ok, I finded the problem, there was not authpgsql in authdaemonrc.
And now - it works! Funny...

Thanks to everybody!

Anton Basistov.


Gordon Messmer wrote:
In the file authdaemonrc, authpgsql should appear in the 
authmodulelist setting.



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-06 Thread Anton Basistov


I installed pgsql devel 8.0, then recompile authlib.
But nothing have changed! NO login. NO deliver.

What's the matter? Tell me please all cfg-files involved in this


Anton Basistov



---
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=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-04 Thread Anton Basistov

*This message was transferred with a trial version of CommuniGate(tm) Pro*
I was compile courier with pgsql. Webadmin shows that.
authlib was compilled at that time too. while pgsql was on the system.
How I must  compile authlib? How can I determine about pgsql option of 
compiler was setup?



- Original Message - 
From: Sam Varshavchik [EMAIL PROTECTED]

To: courier-users@lists.sourceforge.net
Sent: Saturday, July 02, 2005 2:47 AM
Subject: Re: [courier-users] PGSQL accounts dont work


Postgres support was not compiled.
See http://www.courier-mta.org/FAQ.html#authlib



---
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=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-04 Thread Gordon Messmer

Anton Basistov wrote:

I was compile courier with pgsql. Webadmin shows that.
authlib was compilled at that time too. while pgsql was on the system.


If that's correct, then you should find 
/usr/lib/courier-authlib/libauthpgsql.so on your system (though it may 
be located elsewhere).


If that's not there, then you need to install the postgresql development 
software.  On systems like Red Hat, it's a package called 
postgresql-devel.  With that installed, you'll need to compile 
courier-authlib.



---
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=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-04 Thread Anton Basistov



I was compile courier with pgsql. Webadmin shows that.
authlib was compilled at that time too. while pgsql was on the system.


If that's correct, then you should find 
/usr/lib/courier-authlib/libauthpgsql.so on your system (though it may 
be located elsewhere).


Yes, I have one!

If that's not there, then you need to install the postgresql development 
software.  On systems like Red Hat, it's a package called 
postgresql-devel.  With that installed, you'll need to compile 
courier-authlib.


I installed pgsql devel 8.0, then recompile authlib.
But nothing have changed! NO login. NO deliver.

Anton Basistov


---
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=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-02 Thread Anton Basistov

I was compile courier with pgsql. Webadmin shows that.
authlib was compilled at that time too. while pgsql was on the system.
How I must  compile authlib?


- Original Message - 
From: Sam Varshavchik [EMAIL PROTECTED]

To: courier-users@lists.sourceforge.net
Sent: Saturday, July 02, 2005 2:47 AM
Subject: Re: [courier-users] PGSQL accounts dont work


Postgres support was not compiled.
See http://www.courier-mta.org/FAQ.html#authlib



---
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=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-07-01 Thread Anton Basistov



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 ofmore authdaemonrc | grep 
  authmodulelist
# more authdaemonrc | 
grep authmodulelist##NAME: 
authmodulelist:2authmodulelist="authuserdb authpam authcustom"##NAME: 
authmodulelistorig:2
authmodulelistorig="authuserdb authpam 
authcustom"



  courierauthtest 
  myusername
I don't havesuch 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 
localhostPGSQL_USERNAME quicaPGSQL_PASSWORD 
quicaPGSQL_PORT 5432##NAME: 
PGSQL_OPT:0# PGSQL_OPT specifies the connection debug options to 
PQsetdbLogin().# PGSQL_OPTPGSQL_OPT##NAME: 
PGSQL_DATABASE:0PGSQL_DATABASE quica##NAME: 
PGSQL_USER_TABLE:0PGSQL_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 
allowPGSQL_CRYPT_PWFIELD crypt##NAME: 
PGSQL_CLEAR_PWFIELD:0#PGSQL_CLEAR_PWFIELD 
clearPGSQL_CLEAR_PWFIELD clear##NAME: 
PGSQL_DEFAULT_DOMAIN:0##NAME: PGSQL_UID_FIELD:0# PGSQL_UID_FIELD - 
contains the numerical userid of the accountPGSQL_UID_FIELD uid##NAME: 
PGSQL_GID_FIELD:0PGSQL_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:0PGSQL_HOME_FIELD 
home##NAME: 
PGSQL_NAME_FIELD:0PGSQL_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 optionallyPGSQL_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_part)@$(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 theinformation involved in a 
  transaction, from the connection opening, upuntil 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=[:::213.85.182.14]
At 01:51 AM I sent massage, 
andtheeselines appears in /var/log/maillog:
Jul 2 
01:51:10 courier courieresmtpd: started,ip=[:::81.19.66.30]Jul 2 
01:51:18 courier courieresmtpd: 
error,relay=:::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=:::81.19.66.30,msg="502 ESMTP command 
error",cmd: DATA


Anton.
 - 
Original Message - From: "Tim Hunter" [EMAIL PROTECTED] To: courier-users@lists.sourceforge.net 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_idt77alloc_id492op=ick 
___ courier-users mailing 
list cour

Re: [courier-users] PGSQL accounts dont work

2005-07-01 Thread Sam Varshavchik

Anton Basistov writes:

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 
authmodulelistorig=authuserdb authpam authcustom 


Postgres support was not compiled.

See http://www.courier-mta.org/FAQ.html#authlib




pgpMTMPtzlOZV.pgp
Description: PGP signature


[courier-users] PGSQL accounts dont work

2005-06-28 Thread Anton Basistov



I has installed Courier, PgSQL and 
Quica.
But now I can't login to Courier like 
pgsqldb-account-user,
and itdo not deliver mail at 
all.
Default mail delivery is "maildrop".
What is the problem?

Anton B.


Re: [courier-users] PGSQL accounts dont work

2005-06-28 Thread Tim Hunter
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_idt77alloc_id492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] PGSQL accounts dont work

2005-06-28 Thread Tim Hunter
Anton Basistov said:
 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 Ok, which conf files I must show?

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
 courierauthtest myusername
 more authpgsqlrc| grep PGSQL
 and the output of a telnet session to port 25 to show a proper smtp session


 In log's written just imapd: LOGIN FAILED
 when I try to login
 and courieresmtpd: 550 USER UNKNOWN
 when try to send e-mail

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

All this information has been covered in the archives and is general
information you need to send when expecting help on a mailing list.


 - Original Message -
 From: Tim Hunter [EMAIL PROTECTED]
 To: courier-users@lists.sourceforge.net
 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_idt77alloc_id492op=ick
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 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=7477alloc_id=16492op=click
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 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_idt77alloc_id492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users