Re: [vchkpw] vpopmail and virusscanner

2003-07-13 Thread tonix (Antonio Nati)
I'm using qmailscanner with NOD32. Fast, safe, cheap. Ciao, Tonino At 13/07/03 13/07/03 +0200, Bård Tommy Nilsen wrote: Hello   Have anyone set up a mail virus checker on a FreeBSD machine with Qmail and vpopmail ??   What did you use ??     Best Regards Bård Tommy Nilsen -

Re: [vchkpw] domain quotas query

2003-07-25 Thread tonix (Antonio Nati)
On Saturday 19 July 2003 12:01, Paul Theodoropoulos wrote: > >i now want to convert to domain quotas, wherein i give the domain a 'bulk' > >quota, then the customer can allocate individual user quotas within that > >total. but i'm a little confused about a couple of things: > > I already sent some

Re: [vchkpw] ISP Anti Virusscanner

2003-08-20 Thread tonix (Antonio Nati)
Here we're using nod32 since more than one year, with excellent results. It's cheap and very fast. Tonino At 20/08/03 20/08/03 +0200, Widmer Hannes wrote: Hello List We are looking for a good antivirusscanner for a qmail system with qmailscanner. Does somebody can give me a tip for a good solut

Re: [vchkpw] courier pop3d

2003-08-29 Thread tonix (Antonio Nati)
Courier pop3d is run directly by courier, as a daemon, and (as long as I know) cannot be run using tcpserver. Read courier documentation. You'll find an initial courier command file that must be run at startup time (I have /mypath/courier-imap-1.5.1/libexec/pop3d.rc start as my starting

Re: [vchkpw] courier pop3d

2003-08-29 Thread tonix (Antonio Nati)
It's not question of being stupid or smart, just what you like and feel useful. Anyway, I'm running all the qmail stuff since two years (courier a little bit lesser) without supervise, and I never had a problem. I've examined the supervise architecture, and I don't like it. Unique problems on M

Re: [vchkpw] 5.3.26 error with chkusr patch + mysql

2003-08-31 Thread tonix (Antonio Nati)
Shane, I did not try the last versions of vpopmail. It looks like function vget_real_domain does not exists anymore. Try commenting out these lines of code, and please let me know. /* Check if domain is a real domain */ /* if (!stralloc_0 (&domain)) die_nomem(); vget_real_domain

Re: [vchkpw] 5.3.26 error with chkusr patch + mysql

2003-09-01 Thread tonix (Antonio Nati)
I thought of this initially, but then I forgot because of the general gain this patch gives. We could introduce a delay for each not existing user, or a limit for the maximum number of "rcpt to". But for a massive hacker, that could not be a problem. I'm thinking of a more sophisticated code, bu

Re: [vchkpw] 5.3.26 error with chkusr patch + mysql

2003-09-01 Thread tonix (Antonio Nati)
Just another thought. What is done through the ckuser patch, is what all other e-mail systems (escluding native qmail) all do usually. So, this is a general problem for all e-mail systems. Ciao, Tonino At 01/09/03 01/09/03 -0500, [EMAIL PROTECTED] wrote: Just thinking out loud. The approa

Re: [vchkpw] disable pop before smtp feature in vpopmail

2003-09-04 Thread tonix (Antonio Nati)
If I'm not in confusion, you could just enable (for all users) the flag related to NORELAY, and put the line disabling this feature into the limits file (I don't know anymore where this file is). Ciao, Tonino At 04/09/03 04/09/03 +0200, Riccardo Gori wrote: Hi all, I am trying to disable th

Re: [vchkpw] 5.3.26 error with chkusr patch + mysql

2003-09-04 Thread tonix (Antonio Nati)
wn to vget_real_domain calling ChangeLog: the vget_real_domain() function to change the domain vpopmail.h:int vget_real_domain(char *domain, int len ); Looks like the function is gone... Charles On Sun, 31 Aug 2003, tonix (Antonio Nati) wrote: > Shane, > > I did not try the last versio

Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-09 Thread tonix (Antonio Nati)
At 09/09/03 09/09/03 -0700, Tom Collins wrote: Ken Jones hasn't contributed to vpopmail and qmailadmin development since March. We've had 12 qmailadmin releases and 7 vpopmail releases since then. Managing the projects on SourceForge keeps everything out in the open, and allows anyone to cont

Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-10 Thread tonix (Antonio Nati)
My 2 cents. I'm not satisfied both with the last year of Inter7 and the SF period. I've seen a lot of changes done, but I've the strong feeling that there is no coherence in the architecture of vpopmail, anymore. Too much programmers at work, no analists. No "-enable" on configuration for new

RE: [vchkpw] more SMTP relay problem

2003-09-16 Thread tonix (Antonio Nati)
The copy indicated does not solve correctly a bug of TLS. Check the original at www.interazioni.it/qmail. Tonino At 16/09/03 16/09/03 +0800, Shane Chrisp wrote: Check out the checkusr patch. There is a copy on http://shupp.org Shane >-Original Message- >From: gabi [mailto:[EMAIL PROTE

Re: [vchkpw] any thoughts on use of chkusr patch with tmda?

2003-09-17 Thread tonix (Antonio Nati)
This topic should have been already covered. Please check if this "change" works for you. Ciao, Tonino - In such a case, I may suggest a very general and "to be adjiusted manually" patch "over the patch" like this.

Re: [vchkpw] any thoughts on use of chkusr patch with tmda?

2003-09-18 Thread tonix (Antonio Nati)
At 18/09/03 18/09/03 -0400, Vinnie wrote: If I'm understanding this correctly (and definitely may not be, since I'm just getting started messing around with TMDA), what this would do is cause qmail-smtpd to: 1. look for an exact match of the recipient first - if an exact match is found, hand of

Re: [vchkpw] any thoughts on use of chkusr patch with tmda?

2003-09-21 Thread tonix (Antonio Nati)
Hi Vince, it looks like I'm continuosly using the wrong call, in these patch over patch sequences. Probably I should have used "byte_chr" (look starting from left) instead of "byte_rchr" (look starting from right). Sorry. May you please confirm me if using the "byte_chr" call solves all probl

[vchkpw] Bugs solved for chkuser and TMDA

2003-09-22 Thread tonix (Antonio Nati)
Thanks to some warnings I received (thanks Vince), I've modified and tested the "patch over patch" made for making chkuser work together with TMDA, and made a final version that looks exempt from bugs (!). Note: The original chkuser has no problems. Problems have been found on the extension made

Re: [vchkpw] Outlook unable to relay, Kmail can...

2003-10-01 Thread tonix (Antonio Nati)
Are Linux clients relaying using your SMTP box, or are they sending by themselves? Tonino At 01/10/03 01/10/03 +, David Benson wrote: Eric, thanks for the suggestion, but that was not the solution... I will be reviewing the site you recommended to see if I can find a clue as to what this co

Re: [vchkpw] Outlook unable to relay, Kmail can...

2003-10-05 Thread tonix (Antonio Nati)
on of using recordio to see what is being sent, maybe that will turn up some clues... On Wednesday 01 October 2003 02:31, tonix (Antonio Nati) wrote: > Are Linux clients relaying using your SMTP box, or are they sending by > themselves? > > Tonino > > At 01/10/03 01/10/03 +, 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

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

Re: [vchkpw] disable_external_relay

2003-12-03 Thread tonix (Antonio Nati)
: 41943040 disable_smtp 2. It's not a Open Relay Server. Checked with http://members.iinet.net.au/~remmie/relay/ and with http://spamlart.homeunix.org/ (Server referenced above is a test Server) Devendra Singh At 02/12/03 20:35 (), tonix (Antonio Nati) wrote: Devendra, 1) did you set thi

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-04 Thread tonix (Antonio Nati)
rs. Ciao, Tonino At 03/12/2003 03/12/2003 -0700, you wrote: On Wednesday, December 3, 2003, at 10:05 AM, tonix (Antonio Nati) wrote: Tom, sorry if I may be out of logic, just a fast look at the patch. Here's how it works. pw_gid is the user's limits. if the user has V_OVERRIDE s

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread tonix (Antonio Nati)
2003 +0530, Devendra Singh wrote: 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 N

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread tonix (Antonio Nati)
n-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, may guide us. Devendra Singh At 05/12/03 13:48 (), tonix (Anton

Re: [vchkpw] checkuser patch

2004-01-14 Thread tonix (Antonio Nati)
Can you explain better what are you trying to do? How the "patched qmail-smtpd" is run? Have both servers the same domains declared and the same "users data base"? Tonino At 14/01/2004 14/01/2004 -0500, Jeff Koch wrote: We trying to setup a Smart Host mail router but kludge the checkuser patch

RE: [vchkpw] qmail-smtpd-chkusr patch not applying

2004-01-17 Thread tonix (Antonio Nati)
At 16/01/2004 16/01/2004 -0800, Russell Mann wrote: Thanks Rick... I'm sure that's where I'm hanging up, but there are no good instructions on how to do this, just "This is what you should do." You should understand the reason. As you, with vpopmail, could use MySQL, ldap, Postgres, etc., I canno

Re: [vchkpw] realrcppto

2004-01-22 Thread tonix (Antonio Nati)
There should be no problem, except some flags (I don't remember exactly which) that may be missing in the 5.2 vpopmail headers. I suggest to try, and eventually modify the code where necessary. Write me if you have any problems. Ciao, Tonino At 21/01/2004 21/01/2004 -0500, Rick Macdougall wro

Re: [vchkpw] Help in chkuser

2004-01-23 Thread tonix (Antonio Nati)
How are you running qmail-smtpd? Is bouncing enabled? Ciao, Tonino At 23/01/2004 23/01/2004 -0200, Mario Junior wrote: Hello, I've setup a qmail+vpopmail-3.2.20+mysql with 3 virtual domains. So I applied only the shupp and chk.user.mysql patches from the toaster page; I 've already read in t

Re: [vchkpw] Help in chkuser

2004-01-24 Thread tonix (Antonio Nati)
chkusr must be installed normally (-r-xr-xr-x) and executed by tcpserver with -u vpopmail-user and -g vchkpw-group parameters. Try this way, and it should work. Ciao, Tonino At 23/01/2004 23/01/2004 -0200, Mario Junior wrote: Em Friday 23 January 2004 13:53, tonix (Antonio Nati) escreveu: Hello Toni

RE: [vchkpw] Enter Network Password

2004-03-10 Thread tonix (Antonio Nati)
Usually, when you install an antivirus, and ask it to check incoming messages, it modifies client setup and redirects the mail client to pop a local port (on localhost); so the client pop the antivirus, the antivirus pop the real mail server. Tonino At 10/03/2004 10/03/2004 +0800, Shane Chrisp

[vchkpw] dial-up authorization with vpopmail

2004-03-15 Thread tonix (Antonio Nati)
Is there anyone using vpopmail as backend for a dial-up authorization system? Any tip/suggestion on which could be the easiest way to configure a RAS server asking to a vpopmail backend? I'm evaluating freeradius, thinking to let it use the vpopmail MySQL tables, but I'ld like not to be tied to

Re: [vchkpw] Re: How to avoid rblsmtpd for smtp authenticated users

2004-04-15 Thread tonix (Antonio Nati)
You could make a modified smtpd server only for autenticated users (it's only another "tcpserver qmail-smtpd-mod" on another address. On this tcpserver server you'll not enable rbl checking. In this way you achieve easily your goal and make distinct smtp server for authorized users and inco

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
Charles, this is not a chkuser limit, but a vpopmail limit. vpopmail's vauth_getpw() does not check for the availability of the resource (that may be MySQL as LDAP), but simply returns something like 1/0 (pointer exists, pointer does not exist, despite of the reason why it does not exist). You

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
At 12/05/2004 12/05/2004 -0600, you wrote: tonix (Antonio Nati) wrote: I feel it would be nice if it could be developed another set of "robust" vpopmail calls. What if you had vauth_open() which you can call early in the program. If it returns 0, you have a valid authentication conn

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
At 12/05/2004 12/05/2004 -0400, you wrote: On Wed, 12 May 2004, tonix (Antonio Nati) wrote: > You have the same problem in vdelivermail, if MySQL is down. You see > chkuser because it is the first filter in the chain. Unless I'm mistaken though, in this case the mail will simply go

Re: [vchkpw] Tip for using chkuser with Maildrop

2004-04-29 Thread tonix (Antonio Nati)
You may do it enabling chkuser always, deleting the lines of code checking for that string. We could also look for a different string or for a different file (i.e. like .qmailenablebounce), if you tell me your need and we may change what we want. Tonino P.S. I'm studying for version 2.0 of ch

Re: [vchkpw] Tip for using chkuser with Maildrop

2004-04-29 Thread tonix (Antonio Nati)
At 29/04/2004 29/04/2004 -0400, you wrote: On Thu, 2004-04-29 at 10:49, tonix (Antonio Nati) wrote: > You may do it enabling chkuser always, deleting the lines of code checking > for that string. You mean disable this code in qmail-smtpd.c ? : if ( strstr(read_buf, &quo

Re: [vchkpw] Tip for using chkuser with Maildrop

2004-04-29 Thread tonix (Antonio Nati)
Jeremy, why does the actual suck? It's the first time I hear that. Tonino At 29/04/2004 29/04/2004 -0500, you wrote: On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati) wrote: > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. please make it not s

Re: [vchkpw] Tip for using chkuser with Maildrop

2004-04-30 Thread tonix (Antonio Nati)
I understand the problem. Goodbye. Tonix At 29/04/2004 29/04/2004 -0400, you wrote: tonix (Antonio Nati) wrote: Jeremy, why does the actual suck? It's the first time I hear that. Tonino At 29/04/2004 29/04/2004 -0500, you wrote: On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati)

Re: [vchkpw] RE:[vchkpw] Making qmail check for existant user against vpopmail _before_ accepting mail

2004-05-27 Thread tonix (Antonio Nati)
Alex, At 27/05/2004 27/05/2004 +0200, you wrote: .. But there is at least one problem that can be considered as bug. if you use comments in .qmail-default like in: #| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/domain.de/use

Re: [vchkpw] Making qmail check for existant user against vpopmail _before_ accepting mail

2004-05-27 Thread tonix (Antonio Nati)
At 27/05/2004 27/05/2004 +0200, you wrote: -BEGIN PGP SIGNED MESSAGE- Another question: Does this patch look, if there is a "catch-all" for the domain? Yes, does look for catchall, aliases, mailing lists. Is there anything to take care of when using vpopmail with MySQL in conjunction with t

Re: [vchkpw] RE:[vchkpw] Making qmail check for existant user against vpopmail _before_ accepting mail

2004-05-27 Thread tonix (Antonio Nati)
At 27/05/2004 27/05/2004 -0500, you wrote: On Thursday 27 May 2004 04:26 am, Tonix wrote: *ahem* +#include *ahem* If you comment out this line, you have this compilation error: In file included from qmail-smtpd.c:45: /vpopmail/include/vpopmail.h:133: syntax error before `*' This is the guilty 133

Re: [vchkpw] Making qmail check for existant user against vpopmail _before_ accepting mail

2004-05-27 Thread tonix (Antonio Nati)
At 27/05/2004 27/05/2004 -0400, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 These patches don't have any glibc stuff in them, and they do check for catch-all aliases. Sorry for being picky, but my patch has not internal glibc stuff inside... Just it must call vpopmail, who has glib s

Re: [vchkpw] RE:[vchkpw] Making qmail check for existant user against vpopmail _before_ accepting mail

2004-05-27 Thread tonix (Antonio Nati)
At 27/05/2004 27/05/2004 -0600, you wrote: tonix (Antonio Nati) wrote: I'll ask, nextly, to join the development group and develop a robust subset of calls solving this problem (for all, not only for chkuser). Help on vpopmail would be welcome, at least by me, [1] but creating another s

Re: [vchkpw] Problem with bounce-no-mailbox

2004-06-10 Thread tonix (Antonio Nati)
Is that domain unique in your system, or do you have other domains (working fine)? What did you change in the last times? Install a new version of vpopmail? Change system user for that domain? Move from cdb to MySQL? Tonino At 10/06/2004 10/06/2004 +0100, you wrote: Hi I'm having a problem with

Re: [vchkpw] Problem with bounce-no-mailbox

2004-06-10 Thread tonix (Antonio Nati)
sue with version 5.4.1, and I am not aware that it is Cheers Alastair tonix (Antonio Nati) said: > > Is that domain unique in your system, or do you have other domains > (working fine)? > > What did you change in the last times? > > Install a new version of vpopmail? Chang

Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-16 Thread tonix (Antonio Nati)
At 16/06/2004 16/06/2004 +0200, you wrote: Hello James, Wednesday, June 16, 2004, 9:57:44 AM you wrote: I really don't see why you would have to recompile qmail, and especially qmail-smtpd. qmail-smtp uses an external password checker like vchkpw. qmail-send bounces the message if it can't find a m

Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-16 Thread tonix (Antonio Nati)
This is not strange, as you are disabling chkuser. You have a misconfiguration. You must modify your qmail Makefile, and recompile it, with the lastest vpopmail library you are using. Tonino At 16/06/2004 16/06/2004 -0700, you wrote: Actually, strangely enough, this DID fix the problem so mail is

Re: [vchkpw] chkuser patch

2004-07-07 Thread tonix (Antonio Nati)
At 06/07/2004 06/07/2004 -0400, you wrote: Hi, I believe there was some discussion about this some time ago, but recent events have made me think of this again... The "standard" chkuser patch that vpopmail uses (see Bill Shupp's update to the original: http://www.shupp.org/patches/chkuser-0.6.mysql

Re: [vchkpw] chkuser patch

2004-07-08 Thread tonix (Antonio Nati)
At 07/07/2004 07/07/2004 -0400, you wrote: There's some larger issue here that involves a moderately loaded machine running both mysql and qmail (and incidentally, vpopmail) having trouble getting some sql queries out in time. The mysql people (mostly Zawodny) don't think it's a bug/problem with m

Re: [vchkpw] chkuser patch

2004-07-11 Thread tonix (Antonio Nati)
Jeremy, pls switch to private, as I need more info on serial mail. Tonino At 11/07/2004 11/07/2004 -0400, you wrote: On Wednesday, July 07, 2004 5:32 AM, tonix (Antonio Nati) wrote: > I'm preparing chkuser 2.0, that will integrate all these changes, and will > improve a lot of other

Re: [vchkpw] troubleshooting chkusr

2004-09-03 Thread tonix (Antonio Nati)
chkusr is not working because it can't read .qmail-default, so, or chkusr is not running as vpopmail, or .qmail-default is not readable by vpopmail users. It means you're running qmail-smtpd on the secondary server with different uid/gid/privileges. Tonino At 03/09/2004 03/09/2004 -0400, you w

Re: [vchkpw] troubleshooting chkusr

2004-09-05 Thread tonix (Antonio Nati)
Are all .qmail-default rsynced? Has been rcpthosts amd morercpthosts copied as well? You can out a printf - out() - at the beginning of each case, and after the rcpthosts checking, and see what's happening. Tonino At 04/09/2004 04/09/2004 -0400, you wrote: On Fri, 3 Sep 2004, tonix (Antonio

[vchkpw] chkuser 2.0

2004-09-23 Thread tonix (Antonio Nati)
chkuser 2.0 has been released. New version is available on: http://www.interazioni.it/opensource/chkuser. These are the most evident changes: - new design, a lot more easy to install and update - extended logging - flexible and powerful tarpitting - quota checking

Re: [vchkpw] chkuser 2.0

2004-09-23 Thread tonix (Antonio Nati)
At 23/09/2004 23/09/2004 -0400, you wrote: I didn't see anything in the docs or change logs specifically regarding the mysql connection problem that sometimes crops up with vpopmail.  Has this been addressed ? Yes, chkuser 2.0 includes a new call, vauth_open(), that Rick Widmer told is in vpopma

Re: [vchkpw] chkuser 2.0 - doc typos

2004-09-24 Thread tonix (Antonio Nati)
who's sending to who a who's sending to whom Ciao, Remo - Original Message ----- From: "tonix (Antonio Nati)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 23, 2004 4:16 PM Subject: [vchkpw] chkuser 2.0 > > chkuser 2.0 has been rele

[vchkpw] chkuser 2.0.6

2004-09-25 Thread tonix (Antonio Nati)
chkuser 2.0.5 contained some mistakes:  an important #define was not documented (CHKUSER_ENABLE_VGET_REAL_DOMAIN)  patch file for toaster-0.6-1 was emtpy (thanks to Roberto Heras for warning me about this lack) Now 2.0.6-update is online with corrections. Tonino ---

Re: [vchkpw] chkuser 2.0

2004-10-13 Thread tonix (Antonio Nati)
At 13/10/2004 13/10/2004 -0500, you wrote: as a suggestion, would it be possible to have a definition placed into vpopmail.h such as: #define HAVE_VAUTH_OPEN that way programs that link against vpopmail can support both methods without any user intervention, and also this way, if say perhaps th

Re: [vchkpw] Forward not showing in qmailadmin 1.2.3

2004-10-13 Thread tonix (Antonio Nati)
At 12/10/2004 12/10/2004 -0700, you wrote: On Oct 10, 2004, at 3:11 AM, tonix (Antonio Nati) wrote: when you compile with valias enabled, qmail and vpopmail will anyway handle any existing .qmail-alias file. So it may be misleading not to show them. That's a good point. I guess I could

Re: [vchkpw] chkuser starting variable not working

2004-10-13 Thread tonix (Antonio Nati)
At 13/10/2004 13/10/2004 -0700, you wrote: Hello all, I am having a problem with getting the CHKUSER_STARTING_VARIABLE to work with my system. When I use this setting when compiling qmail chkuser doesn't work at all. However when I use the CHKUSER_ALWAYS_ON it works fine. Did you enable bouncing f

Re: [vchkpw] chkuser starting variable not working

2004-10-13 Thread tonix (Antonio Nati)
At 13/10/2004 13/10/2004 -0700, you wrote: Hello all, I am having a problem with getting the CHKUSER_STARTING_VARIABLE to work with my system. When I use this setting when compiling qmail chkuser doesn't work at all. However when I use the CHKUSER_ALWAYS_ON it works fine. #!/bin/sh QMAILDUID=`id -

Re: [vchkpw] chkuser 2.0

2004-10-14 Thread tonix (Antonio Nati)
Eric, we are waiting for the release of this feature, that should already be in CVS. See this previous message: Charles Sprickman wrote: > Take a look at vpopmail CVS HEAD. What I did was add a vauth_open() function in vmysql.c, and every other > authentication back end that did not already have

[vchkpw] Safe closing of DB connections - it was Re: [vchkpw] chkuser 2.0

2004-10-14 Thread tonix (Antonio Nati)
At 14/10/2004 14/10/2004 -0500, you wrote: Several people, myself included, are still seeing problems with MySQL under a large useage. So far I have not been able to get to the cause of the problem other than to convince myself I have no network or MySQL issues. I don't know C well enough to add

Re: [vchkpw] Re: chkuser and SSL with stunnel

2004-10-16 Thread tonix (Antonio Nati)
At 16/10/2004 16/10/2004 +0200, you wrote: I think the problem is, that qmail-smtpd is called by a wrapper program (stunnel here) and chkuser sends log-messages to stdout when called directly (logging enabled in this example): chkuser sends log messages using qmail routines (that should use stde

Re: [vchkpw] mail from patch

2004-09-27 Thread tonix (Antonio Nati)
-mail headers (if you're using autenticated smtp). Tonino can you understand - me ? - Original Message - From: "tonix (Antonio Nati)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 27, 2004 2:33 PM Subject: Re: [vchkpw] mail from patch &

Re: [vchkpw] SIMSCAN

2004-09-28 Thread tonix (Antonio Nati)
At 27/09/2004 27/09/2004 -0300, you wrote: i am running simscan with vpopmail user. I feel you should run simscan as qmaild user, as vpopmail user cannot write in qmail spool archives. but when i set the QMAILQUEUE to simscan i receive this message. (unable to exec qq) That should be the reason:

Re: [vchkpw] SIMSCAN working directory privs

2004-09-28 Thread tonix (Antonio Nati)
At 28/09/2004 28/09/2004 +0200, you wrote: Simscan creates the working directory with a privilege of 700. in this way clamd must run with the same owner of simscan to access the msg. They work on the same files (and only on those files), so why should they have different users? I feel this desig

Re: [vchkpw] Integration with maildrop as default deliver?

2004-10-08 Thread tonix (Antonio Nati)
You could try keeping commented as first line in .qmail-default the same line usually written by qmailadmin inside .qmail-default when bouncing is enabled. Or you could use chkuser patch, enabling it always or adding a commented line, containing "bounce-no-mailbox" to .qmail-default (see www.int

Re: [vchkpw] MySql load causes bounced mail

2004-10-21 Thread tonix (Antonio Nati)
At 21/10/2004 21/10/2004 -0700, you wrote: We could also consider just using atexit() to register functions that will be automatically called at exit, then we don't have to worry about calling vexit instead (which calls vclose). Wow! In another thread I just suggested to use atexit() in vpopmail.

Re: [vchkpw] MySql load causes bounced mail

2004-10-21 Thread tonix (Antonio Nati)
At 21/10/2004 21/10/2004 +0100, you wrote: But, as we are speaking of atexit(), I'll give the good example ( :-) ) and in next 2.0.7 version I'll use it to call vclose(). As another thread is saying, qmail-smtpd also is using _exit(), so atexit() is useless. I'll put another solution to work. P

Re: [vchkpw] MySql load causes bounced mail

2004-10-22 Thread tonix (Antonio Nati)
At 21/10/2004 21/10/2004 -0700, you wrote: vdelivermail calls _exit() when running a command in a .qmail file (exit codes 99, 100 and 111). It should really be calling vexit() to give the MySQL lib a chance to close its connections. We could also consider just using atexit() to register functio

Re: [vchkpw] MySql load causes bounced mail

2004-10-25 Thread tonix (Antonio Nati)
At 22/10/2004 22/10/2004 -0400, you wrote: On Oct 22, 2004, at 8:13 AM, tonix (Antonio Nati) wrote: Any comment? Tonino Why is qMail calling _exit() and not exit()? Is there a reason it does not want its files closed, and other stuff properly cleaned up? Or is it because DJB is just not happy

[vchkpw] chkuser 2.0.7 released

2004-10-26 Thread tonix (Antonio Nati)
chkuser 2.0.7, development version, is now available on the site (www.interazioni.it/opensource). This is an important version, because a lot of bugs have been solved and a lot of new features have been added. But, most of all, this is the first version caring to close all DB connections

Re: [vchkpw] 2.0.7 not correctly working?

2004-10-27 Thread tonix (Antonio Nati)
Alastair, main difference between 2.0.5 and 2.0.7, speaking only about sender checking, is related to NULL SENDER (<>), now accepted by default, while previously it was accepted only if its IP had a corresponding DNS name. This (default) change makes more messages accepted. Can you check if you h

Re: [vchkpw] MySql load causes bounced mail

2004-10-27 Thread tonix (Antonio Nati)
At 25/10/2004 25/10/2004 -0400, you wrote: I feel it could be time to redesign qmail and use atexit() functions. This could be a lengthy process. But if you are willing to undertake it, and write the patches for it, then it is certainly worth it. I'm willing to do it, but I've no time shortly. An

Re: [vchkpw] 2.0.7 not correctly working? [SEMI SOLVED]

2004-10-27 Thread tonix (Antonio Nati)
At 27/10/2004 27/10/2004 +0100, you wrote: I've discovered the problem with this. Using "MAIL FROM" without the colon, results in a null sender. This bit of code in chkuser.c accepts the email address as it is null: ... In chkuser 2.0.5 ommiting the colon would have been picked up with a

Re: [vchkpw] just noticed something with chkuser ....

2004-11-24 Thread tonix (Antonio Nati)
Jeremy, you should add also CHKUSER_ENABLE_NULL_SENDER. When CHKUSER_SENDER_FORMAT or CHKUSER_SENDER_MX are defined, CHKUSER_ENABLE_NULL_SENDER will exclude NULL SENDERS from those checkings. This is the new default in the last distributions, after CHKUSER_ENABLE_NULL_SENDER has been added:

Re: [vchkpw] just noticed something with chkuser ....

2004-11-24 Thread tonix (Antonio Nati)
CORRECTION TO THE PREVIOUS MESSAGE. CHKUSER_ENABLE_NULL_SENDER is in 2.0.7. This version may be considered stable, despite of its "devel" attribute. On next days I'll publish a 2.0.8 "release", and update online documentation. 2.0.8 that will probably be the definitive stable chkuser, with the mo

Re: [vchkpw] just noticed something with chkuser ....

2004-11-25 Thread tonix (Antonio Nati)
At 18.34 24/11/2004, you wrote: On Wednesday 24 November 2004 04:17 am, tonix (Antonio Nati) wrote: > CORRECTION TO THE PREVIOUS MESSAGE. > > > CHKUSER_ENABLE_NULL_SENDER is in 2.0.7. > > This version may be considered stable, despite of its "devel" attribute. I tried t

Re: [vchkpw] chkuser 2.0.7 released

2004-12-07 Thread tonix (Antonio Nati)
2004, you wrote: On Tue, 26 Oct 2004, tonix (Antonio Nati) wrote: Patch is working in a production enviromnent, but it is anyway released as "development" version, because changes are so important that I'ld like to have a wider testing. As usual, please help me testing it. Any bug w

[vchkpw] chkuser 2.0.8 released

2004-12-07 Thread tonix (Antonio Nati)
chkuser 2.0.8 has been released, and is available at www.interazioni.it/opensource. As usual, this version has been tested and is now working on my production systems since some weeks. This version, basically: freeze all important changes in 2.0.7 (closing DB connections among all)  

[vchkpw] chkuser 2.0.8 released again -> 2.0.8a

2004-12-08 Thread tonix (Antonio Nati)
A damned typing error in chkuser.c gives compile error when #define CHKUSER_STARTING_VARIABLE is defined. You may download 2.0.8a, or change, in chkuser.c, this line:     if (strùcasecmp(starting_string, "ALWAYS") == 0) { to     if (strcasecmp(starting_string, "ALWAYS") =

Re: [vchkpw] vchkpw problemm!

2004-12-10 Thread tonix (Antonio Nati)
Are you testing as root? If yes, it should work... If not, you should setuid and setgid qmail-smtpd as indicated in documentation. Tonino At 15.43 10/12/2004, you wrote: Hello all! i install netqmail-1.05 qmail-toaster-0.6-1.patch netqmail-1.05_toaster-0.6-1_chkuser-2.0.8b.patch and have a problemm

Re: [vchkpw] vchkpw problemm!

2004-12-10 Thread tonix (Antonio Nati)
Hi, watching better your post. If you are using Shupp's toaster, you must run qmail-smtpd as vpopmail user, not qmail (see documentation). You may also comment CHKUSER_ENABLE_UIDGID. Tonino At 15.43 10/12/2004, you wrote: Hello all! i install netqmail-1.05 qmail-toaster-0.6-1.patch netqmail-1.05_

Re: [vchkpw] Howto reject invalid recipients AFTER SMTPD receipt of msg?

2005-01-11 Thread tonix (Antonio Nati)
At 15.07 11/01/2005, you wrote: Vpopmail 5.4.5, Mysql 3.23.54. Also, I'm aware of Tonix's patch to prevent invalid users BEFORE SMTPD accepts mail. Am considering it, but want to understand options if I'm willing to take the bandwidth hit but not provide hints to dictionary attackers. You may use

Re: [vchkpw] Howto reject invalid recipients AFTER SMTPD receipt of msg?

2005-01-11 Thread tonix (Antonio Nati)
At 15.07 11/01/2005, you wrote: Vpopmail 5.4.5, Mysql 3.23.54. Also, I'm aware of Tonix's patch to prevent invalid users BEFORE SMTPD accepts mail. Am considering it, but want to understand options if I'm willing to take the bandwidth hit but not provide hints to dictionary attackers. You may use

Re: [vchkpw] chkuser 2.0 and vpopmail w/mysql

2005-01-14 Thread tonix (Antonio Nati)
I feel these two statements are not in opposition. chkuser checks recipients only for domains who are in virtualdomains. When a domain is already inside virtualdomains, for a new user you may simply add a new line with MySQL vpopmail database, and the user will be added automatically as it is use

Re: [vchkpw] chkuser 2.0 and vpopmail w/mysql

2005-01-14 Thread tonix (Antonio Nati)
At 10.17 14/01/2005, you wrote: I feel these two statements are not in opposition. chkuser checks recipients only for domains who are in virtualdomains. When a domain is already inside virtualdomains, for a new user you may simply add a new line with MySQL vpopmail database, and the user will be

Re: [vchkpw] qmail-default, bounce and reply

2005-01-19 Thread tonix (Antonio Nati)
I can't say for the qmailrocks version, in standard chkuser 2.0.8 you have new defines that may help you. CHKUSER_ENABLE_ALIAS_DEFAULT Enables checking of .qmail-alias-default files You may try to keep your patched qmail-smtpd.c and copy newer chkuser.h, chkuser_settings.h, chkuser.c, then chang

RE: [vchkpw] chkuser 2.0 and vpopmail w/mysql

2005-01-20 Thread tonix (Antonio Nati)
At 17.47 20/01/2005, you wrote: So based on what you have said, if chkuser relies on vpopmail commands to determine existence then my current setup should work just fine. If chkuser directly reads the virtualdomains file, then I will have problems. Hi Brian, chkuser relies on vpopmail for domains (

Re: [vchkpw] Removing entries from vlog with user/domain deleted

2005-01-21 Thread tonix (Antonio Nati)
At 17.08 21/01/2005, you wrote: On Thursday 20 January 2005 9:43 pm, Tom Collins wrote: > "secnetdk" submitted the following patch on SourceForge: > > http://sourceforge.net/tracker/? > func=detail&atid=577800&aid=1099800&group_id=85937 > > It adds code to delete the associated vlog entries when a

[vchkpw] MyQMAIL - was: vhostadmin development release

2005-03-08 Thread tonix (Antonio Nati)
At 22.35 08/03/2005, you wrote: Hmmm, I'm pondering this one. Still liking the idea of qmail and vpopmail both in MySQL. DAve I'm thinking to this since months... Move all qmail files to MySQL/Postgres. I'm thinking about a replicated mail system, working with more machines in different sites.

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
I don't remember exactly, I studied a lot of documents and found same tables that lead me to that decision (to have a close correspondence to 5.x.x formats). These are all definitions within chkuser_settings.h #define CHKUSER_NORCPT_STRING "511 sorry, no mailbox here by that name (#5.1.1 - chku

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
licies (#5.7.1 - chkuser)\r\n" #define CHKUSER_NORELAY_STRING "553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser)\r\n" I feel #define CHKUSER_RESOURCE_STRING "430 system temporary unavailable, try again later (#4.3.0 - chkuser)\r\n" is p

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
(in settings file) to let anyone chose own best behaviours. Tonino At 14.06 15/03/2005, you wrote: tonix (Antonio Nati) wrote: #define CHKUSER_MBXFULL_STRING "522 sorry, recipient mailbox is full (#5.2.2 - chkuser)\r\n" #define CHKUSER_RCPTMX_STRING "511 sorry, can't find

Re: [vchkpw] chkuser 2.0.8 oddities

2005-03-16 Thread tonix (Antonio Nati)
At 15.31 16/03/2005, you wrote: Good morning, I recently installed chkuser in response to a SpamCop listing. I have a user getting addresses rejected that we know exist. The addresses are in valias and work fine when I send a message. The user in question is recently getting rejections. Here is a

Re: [vchkpw] chkuser 2.0.8 oddities

2005-03-16 Thread tonix (Antonio Nati)
Sorry for the previous message, this is indented better. At 15.31 16/03/2005, you wrote: Good morning, I recently installed chkuser in response to a SpamCop listing. I have a user getting addresses rejected that we know exist. The addresses are in valias and work fine when I send a message. The u

Re: [vchkpw] chkuser 2.0.8 oddities

2005-03-16 Thread tonix (Antonio Nati)
At 19.21 16/03/2005, you wrote: tonix (Antonio Nati) wrote: At 15.31 16/03/2005, you wrote: Good morning, I recently installed chkuser in response to a SpamCop listing. I have a user getting addresses rejected that we know exist. The addresses are in valias and work fine when I send a message

<    1   2   3   4   >