Re: [vchkpw] disable_external_relay [PATCH]

2003-12-08 Thread Devendra Singh
Dear Tonino, Thanks a lot for the info. In my case the password is stored in MySQL. A further hunt provided me the following: The following options are bit flags in the gid int field (pw_gid) with the int values stored. -u ( set no dialup flag ) -- 64 -d ( set no

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread tonix (Antonio Nati)
Devendra, I'm still with an old version, and my domain limits are in .qmailadmin-limits, within the domain directory. I don't know if this is still valid for new version. Give a look at your Changelog and README files (andpost the result). Ciao, Tonino At 05/12/2003 05/12/2003 +0530,

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread Devendra Singh
Dear Tonino, Earlier when I had put the disable_smtp into .qmailadmin-limits, it still allowed to relay the users. When I did use the vmoduser to set the disable_smtp flag, it worked. But, where did the vmoduser store this flag info. I could not locate it. May some expert out there listening,

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread tonix (Antonio Nati)
vmoduser store this flag within the user record (either in .cdb or MysQl or LDAP, depending on your configuration). It's in the gid field. Tonino At 05/12/2003 05/12/2003 +0530, Devendra Singh wrote: Dear Tonino, Earlier when I had put the disable_smtp into .qmailadmin-limits, it still

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-04 Thread tonix (Antonio Nati)
Tom, thanks for your clear explanation. However, don't you think that kind of things should be discussed in the general list instead of development list? I feel that development list should deal with implementation, how to develop, how to improve code, while functionalities should be

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-04 Thread Devendra Singh
Dear Tonino / Tom, In between the whole expert discussion the user level curious question BTW, where is this user's limits info stored in case of non-mysql limits? got lost. Please, let us know. Devendra Singh At 04/12/03 14:32 (), tonix (Antonio Nati) wrote: Tom, thanks for your clear

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-03 Thread Tom Collins
Here's the patch to fix the domain limits problem. It's in CVS now, and will be in the next release (which I'll make by the end of the week). Hopefully the email gateways won't totally screw the file up... Update of /cvsroot/vpopmail/vpopmail In directory sc8-pr-cvs1:/tmp/cvs-serv1963

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-03 Thread tonix (Antonio Nati)
Tom, sorry if I may be out of logic, just a fast look at the patch. Is it correct to keep using user flags if override is off? +if ((! (pw-pw_gid V_OVERRIDE)) if user not overriding domain limits + (vget_limits (domain, limits) == 0)) { +pw-pw_flags = pw-pw_gid |