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 passwor

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 al

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 listeni

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, Devendr

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 ex

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 dis

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 | vlimi

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 Modified

Re: [vchkpw] disable_external_relay

2003-12-03 Thread Tom Collins
No, domain limits apply to all users (that don't have V_OVERRIDE set). They are not default limits for new users. On Wednesday, December 3, 2003, at 09:27 AM, tonix (Antonio Nati) wrote: Tom, we were speaking of already existing users (in this case). Domain limits should work for new users.

Re: [vchkpw] disable_external_relay

2003-12-03 Thread Tom Collins
On Wednesday, December 3, 2003, at 02:34 AM, tonix (Antonio Nati) wrote: you must set/modify that flag for users already existing. If you run "vuserinfo [EMAIL PROTECTED]", you'll see if flag is active. If not, enable it (with vmoduser). That's not accurate -- the whole point of domain-wide set

Re: [vchkpw] disable_external_relay

2003-12-03 Thread Devendra Singh
Dear Tonino, Thanks. It worked. I am delighted. BTW, where is this info stored in case of non-mysql limits? Devendra Singh At 03/12/03 15:04 (), tonix (Antonio Nati) wrote: Devendra, you must set/modify that flag for users already existing. If you run "vuserinfo [EMAIL PROTECTED]", you'll se

Re: [vchkpw] disable_external_relay

2003-12-03 Thread tonix (Antonio Nati)
Devendra, you must set/modify that flag for users already existing. If you run "vuserinfo [EMAIL PROTECTED]", you'll see if flag is active. If not, enable it (with vmoduser). Ciao, Tonino At 03/12/2003 03/12/2003 +0530, Devendra Singh wrote: Dear Tonino, 1. I have put the ".qmailadmin-limits

Re: [vchkpw] disable_external_relay

2003-12-03 Thread Devendra Singh
Dear Tonino, 1. I have put the ".qmailadmin-limits" into the /home/vpopmail/domains/0/del4.intermesh.net with following rights: -rw---1 vpopmail vchkpw126 Dec 2 18:59 .qmailadmin-limits and contains: maxpopaccounts: 10 maxaliases: 0 maxforwards: 10 maxautoresponders: 0 maxmail

Re: [vchkpw] disable_external_relay

2003-12-03 Thread Devendra Singh
Dear Tom, I am using SMTP AUTH. Devendra Singh At 02/12/03 20:50 (), Tom Collins wrote: On Tuesday, December 2, 2003, at 07:12 AM, Devendra Singh wrote: Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the domain. The current version of vpopmail (5.3.30) supports th

Re: [vchkpw] disable_external_relay

2003-12-02 Thread tonix (Antonio Nati)
Devendra, 1) did you set this flag up? 2) Are you sure you are not an open relay? Tonino At 02/12/2003 02/12/2003 +0530, you wrote: At 24/11/03 21:46 (), Tom Collins wrote: On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested t

Re: [vchkpw] disable_external_relay

2003-12-02 Thread Tom Collins
On Tuesday, December 2, 2003, at 07:12 AM, Devendra Singh wrote: Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the domain. The current version of vpopmail (5.3.30) supports this flag. I upgraded to vpopmail-5.3.30, qmailadmin-1.0.29. Recompiled Courier-Imap-1.7.3. B

Re: [vchkpw] disable_external_relay

2003-12-02 Thread Devendra Singh
At 24/11/03 21:46 (), Tom Collins wrote: On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. Use disable_smtp in the .qmailadmin-lim

Re: [vchkpw] disable_external_relay

2003-11-29 Thread Devendra Singh
At 24/11/03 21:46 (), Tom Collins wrote: On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. Use disable_smtp in the .qmailadmin-lim

Re: [vchkpw] disable_external_relay

2003-11-24 Thread Tom Collins
On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the d

Re: [vchkpw] disable_external_relay

2003-11-24 Thread tonix (Antonio Nati)
No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. So, you may also disable SMTP relay, but I don't know if you find the disable_smtp line working in the last vpopmail versions. I made the patch for ma

[vchkpw] disable_external_relay

2003-11-24 Thread Devendra Singh
Dear List Members, What does "disable_external_relay" do in the ".qmailadmin-limits" file? Can it be used to disable SMTP Relay even if I am using SMTP Authentication instead of POP-Before-SMTP? The install.txt says: *** quote *** You may disable these services: a) POP Access b)