5 messages in net.sourceforge.lists.courier-users[courier-users] FW: authmysql $(serv...
FromSent OnAttachments
Kóczán PéterJul 24, 2006 10:23 am 
Kóczán PéterJul 24, 2006 10:53 am 
Martin SchusterJul 25, 2006 12:40 am 
Kóczán PéterJul 25, 2006 12:58 am 
Kóczán PéterJul 26, 2006 11:24 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] FW: authmysql $(service)Actions...
From:Kóczán Péter (pet@koczan.org)
Date:Jul 24, 2006 10:23:07 am
List:net.sourceforge.lists.courier-users

Hi,

Another point. I've noticed the MYSQL_AUXOPTIONS_FIELD, and defined one field. Config file says:

# This will let you define fields called "allowimap", etc, with the end result # being something that the OPTIONS parser understands.

Is there any option that the option parser understands as the user cannot send mail through the server?

Thanks,

Peter

-----Original Message----- From: Kóczán Péter [mailto:pet@koczan.org] Sent: Monday, July 24, 2006 6:35 PM To: 'cour@lists.sourceforge.net' Subject: RE: [courier-users] authmysql $(service)

Hi,

Thanks, but as I see it does not log mysql query so I can't debug, why it is not working. Please give me a hint on this:

MYSQL_WHERE_CLAUSE ((smtp='1' and $(service)='esmtp') or ($(service) != 'esmtp'))

Still I want to have some of my users only be able to use pop3d, but not smtp.

Any help would be appreciated.

Regards,

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Pawel Tecza Sent: Thursday, July 20, 2006 9:21 AM To: Kóczán Péter Cc: cour@lists.sourceforge.net Subject: Re: [courier-users] authmysql $(service)

Hello Peter,

On Wed, 19 Jul 2006, Kóczán Péter wrote:

Hi,

Anyone knows a way how to debug authdaemond? I would like to see the exact query sent to mysql, because I believe $(service) is not replaced to 'esmtp', since my query is still not working...

Please give me a hint. My aim is to be able to ban specific users from using smtp through server (smtp-auth).

# grep DEBUG_LOGIN authdaemonrc ##NAME: DEBUG_LOGIN:0 # DEBUG_LOGIN=0 - turn off debugging # DEBUG_LOGIN=1 - turn on debugging # DEBUG_LOGIN=2 - turn on debugging + log passwords too # ** YES ** - DEBUG_LOGIN=2 places passwords into syslog. ##DEBUG_LOGIN=0 DEBUG_LOGIN=1

My best regards,