Re: dbfunctions - it's over

2001-05-28 Thread tonix (Antonio Nati)
Sorry, but I don't agree. I don't know your product, Krzysztof, and I suppose your coding to be excellent, but I feel your vision is very close to your needs only. At 28/05/2001 28/05/2001 +0200, Krzysztof Dabrowski wrote: You can check the archives for the exact posting (subject Dbfunctions)

Re: dbfunctions - it's over

2001-05-29 Thread tonix (Antonio Nati)
Thanks for your reply. At 29/05/2001 29/05/2001 +0200, Krzysztof Dabrowski wrote: Only for my curiosity, did you ask Ken, before writing, how could you be useful in order to extend vpopmail functionalities while remaining integrated with all the rest? Did he give you any rule to follow?

Re: smtp-auth / vpopmail

2001-05-31 Thread tonix (Antonio Nati)
I want to do that, and in the future I'll extend my patch (checkusers on qmail-smtpd) or write a new one, but I've not studied actual patches nor I've time to do it in near future. Tonino At 31/05/2001 31/05/2001 +0100, Kieran Barnes wrote: Does anybody have any implementation of, or plans

Re: User over quota message

2001-06-27 Thread tonix (Antonio Nati)
I feel it could be solved only patching pop3d demon, letting him generate a first fake messages when user mailbox has exceeded (or it's going to do) its quota. So it doesn't waste space, it's always delivered, etc. But, before this patch, I would like to find an unique centralized way to

Re: [vchkpw] Invalid mailbox handling / bouncing bounce handling

2002-08-30 Thread tonix (Antonio Nati)
At 30/08/2002 30/08/2002 -0400, Jan Knepper wrote: Hi, this has probably been asked several times, but... It is possible to reject a SMTP connection for a mailbox that does not exists? Yes, the patch is at www.interazioni.it/qmail, specifically made for vpopmail. This patch rejects SMTP

RE: [vchkpw] Smtp-auth

2002-09-04 Thread tonix (Antonio Nati)
John, as long as I see in your attached lines, you didn't write correctly the host name following qmail-smtpd. You wrote /var/qmail/bin/qmail-smtpd \ qmail.cyberbytesbbs.com/home/vpopmail/bin/vchkpw /bin/true 21 It should be /var/qmail/bin/qmail-smtpd \ qmail.cyberbytesbbs.com

Re: [vchkpw] Catch-all and bounce

2002-09-08 Thread tonix (Antonio Nati)
Check the patch at http://www.interazioni.it/qmail. It checks if a domain has bounce enabled, then reject connections for not existing users. So you can do you what you want, but on a whole domain. Tonino P.S. You may modify the patch to fit your needs. At 08/09/2002 08/09/2002 -0300,

Re: [vchkpw] Vpopmail locking problem on NFS filesystem

2002-10-09 Thread tonix (Antonio Nati)
Gonzalo, may you please turn off notification when you post to a list? Thanks, Tonino At 09/10/02 09/10/02 +0200, Gonzalo G. Agulló wrote: Hi, I'm trying to share maildir directories with NFS from a backend file server to distribute load on a couple frontend pop/smtp boxes. In my first

[vchkpw] Bug (feature) in MySQL select

2002-10-15 Thread tonix (Antonio Nati)
I've received a message for user @mydomain.it, and vpopmail routine validating addresses has let this wrong address pass. I've found that when you make a SELECT * FROM VPOPMAIL WHERE pw_name = user it's exactly like SELECT * FROM VPOPMAIL WHERE pw_name = user This is a

Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-23 Thread tonix (Antonio Nati)
At 23/10/02 23/10/02 -0700, Bill Shupp wrote: On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create

Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-23 Thread tonix (Antonio Nati)
At 23/10/02 23/10/02 -0700, Bill Shupp wrote: On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: As usual, I don't see anything related to disablesmtp. Is this feature going to be merged in the main stream, or do I have to continue with my private copies? Yes

RE: [vchkpw] multi-table mysql domains

2002-10-19 Thread tonix (Antonio Nati)
I feel the reason of having multidomains=n is related to the possibility to have a very few domains (usually one) with a lot of mailboxes (hundreds of thousands). In such a case you save a lot of space on tables + indexes, semplify accesses to simpler indexes. Two or three years ago, all that

Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-23 Thread tonix (Antonio Nati)
As usual, I don't see anything related to disablesmtp. Is this feature going to be merged in the main stream, or do I have to continue with my private copies? Anyway, two notes: 1) I feel that would be much better another layout, like: domain CHAR(64) PRIMARY KEY, option

[vchkpw] Problem with smtp auth and Eudora

2002-11-28 Thread tonix (Antonio Nati)
I've problems with Eudora, trying to send a message using an account which has SMTP flag disabled (just testing the feature). Eudora hangs (indipendently of tls usage), and the qmail-smtpd process hangs the same. When I stop Eudora sending, also qmail-smtpd stops. When I try to recreate the

Re: [vchkpw] Qmail + Vpopmail + patches

2002-12-20 Thread tonix (Antonio Nati)
Hi Anton, I wrote the first patch you speak about (qmail-smtpd-chksr), and seen no problem with all the other patches I've installed until now (including TLS and AUTH). My suggestion. First, install all other pathes, except mine, and be sure they work. Second, be sure the installed patches

RE: [vchkpw] disk quota per domain

2003-01-29 Thread tonix (Antonio Nati)
I'm thinking to a new solution, modifying qmailadmin as follows. A unique .qmailmaildirsize should be created in the domain, and every user should have his own maildirsize linked by an ln -sf to the domain's .qmailmaildirsize. \domain \domain\.qmailmaildirsize [global]

[vchkpw] Re: feature request qmail-smtpd-chkusr

2003-01-30 Thread tonix (Antonio Nati)
Hi Eduardo, my patch basically modifies qmail-smtpd.c code, using vpopmail libraries. So, it may be seen practically in the category qmail patch, not vpopmail patch. As any patch, it may not work if someone applied other patches before, so I don't think it may be right to include it in

Re: [vchkpw] Re: feature request qmail-smtpd-chkusr

2003-01-30 Thread tonix (Antonio Nati)
Hi Brian, the versions you see on my website are tailored for vpopmail, so they handle every kind of user vpopmail handles, valias and .qmail aliases, ezmlm mailing lists. It may be easily customized for other handlers. A lot of people asked me, and they realized the same control out of

Re: [vchkpw] Quotas

2003-03-04 Thread tonix (Antonio Nati)
Hi Rick, it's a small bug in the quota patch of last official qmailadmin versions(I did not suppose Inter7 integrate patches without trying them, but that happens sometimes). diff -u qmailadmin-1.0.10/util.c qmailadmin-1.0.10-pooled2/util.c --- qmailadmin-1.0.10/util.cFri Jan 24 23:25:31 2003

Re: [vchkpw] Quotas

2003-03-05 Thread tonix (Antonio Nati)
/03/03 04/03/03 +0100, tonix (Antonio Nati) wrote: Hi Rick, it's a small bug in the quota patch of last official qmailadmin versions(I did not suppose Inter7 integrate patches without trying them, but that happens sometimes). diff -u qmailadmin-1.0.10/util.c qmailadmin-1.0.10-pooled2/util.c

Re: [vchkpw] qmail-smtpd patch

2003-03-12 Thread tonix (Antonio Nati)
Abdul, the patch you're looking for is at: www.interazioni.it/qmail It's been deeply proved and installed by hundreds of people. There are two versions: one completely compliant to qmail security model, the other semplified in order to work with TLS. Ciao, Tonino At 12/03/03 12/03/03

Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
Please correct me if I'm wrong... As far as I understand, the domain quota code included in the last development version of vpopmail is NOT 100% compatible with other programs like sqwebmail, courier, ecc., so you may have some disalignments, depending on the products you're using. Tonino At

Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
Brian, when you store a message inside an imap server (like when using squirrelmail courier, and keeping your outgoing message in the Sent folder), or when using sqwebmail just keep it in the Sent or upload an attach, which quota computing is done: courier, sqwebmail or vpopmail? I think in

Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, Brian Kolaci wrote: When a message arrives and is delivered by vdelivermail, the quotas are enforced. It also updates the maildirsize file (and uses the maildir++ naming conventions) thereby updating the maildir++ quota usage that is shared amongst all maildir++

Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, Brian Kolaci wrote: When a message arrives and is delivered by vdelivermail, the quotas are enforced. It also updates the maildirsize file (and uses the maildir++ naming conventions) thereby updating the maildir++ quota usage that is shared amongst all

Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, you wrote: I don't believe the Sent folder keeps track of any size. I looked and don't see any maildirsize files in Sent folders. So it doesn't look like it counts against either user or domain quotas. You'll have to take a look at the spec to be sure.

Re: [vchkpw] When I updated user's quota, maildirsize file is not with correct quota

2003-03-27 Thread tonix (Antonio Nati)
How did you change quota? Tonino At 27/03/03 27/03/03 +0800, [EMAIL PROTECTED] wrote: For example: A user's quota is 1M, and some mails are in its Inbox, and I was checked its directory, the maildirsize file is there. When I changed this user's quota to 3M, after a mail come in, the quota's

Re: [vchkpw] qmail-smtpd check for valid user/over quota with vpopmail api

2003-04-05 Thread tonix (Antonio Nati)
Hi Ken, why are you ignoring my patch at www.interazioni.it/qmail? You know it exists and works, so I don't understand why you continue to ignore it and prefer to post a rough (and poor) one. Tonino At 05/04/03 05/04/03 -0600, Ken Jones wrote: I read on the qmail list last week that someone

Re: [vchkpw] qmail-smtpd-chkusr Patch Problem

2003-06-06 Thread tonix (Antonio Nati)
Tom, I suppose you're using the regular version, as you speak of setuid. You have to read carefully instructions at www.interazioni.it/qmail. These are the instructions for the regular version: regular qmail-smtpd-chkusr must be installed (by default in /var/qmail/bin) with setuid (user qmaild)

Re: [vchkpw] chkusr patch

2003-06-17 Thread tonix (Antonio Nati)
Hi David, this is my Makefile: qmail-smtpd: \ load qmail-smtpd.o rcpthosts.o commands.o timeoutread.o \ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \ date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \

Re: [vchkpw] Catch all domain account

2003-07-04 Thread tonix (Antonio Nati)
At 04/07/03 04/07/03 +0200, Peter Palmreuther wrote: Hi Kiril, On Thu, 3 Jul 2003 21:24:20 +0300 Kiril Todorov wrote: How can I get the bounced mail from each domain delivered to the Postmaster of the coresponding domain instead of having all the bounced mail delivered to me? that's in the

Re: [vchkpw] chkuser patch

2003-07-04 Thread tonix (Antonio Nati)
Hi Rick, read carefully the running instructions on my page at www.interazioni.it/qmail. You must not use SUID and GUID bits on qmail-smtpd with the Easy-version, but must run it directly as vpopmail root from tcpserver (or root if you have different users for different domains), and all will

Re: [vchkpw] RE : [vchkpw] Deny on bad username?

2003-07-07 Thread tonix (Antonio Nati)
Use Bill's version if you're using his MegaPatch. Otherwise, look at the reference page for chkuser at www.interazioni.it/qmail. The unique difference (at the moment) is that Bill solves a bug of auth patch modifying chkuser, while in the reference page of chkusr it is indicated how to

Re: [vchkpw] SMTP is too slow

2003-07-09 Thread tonix (Antonio Nati)
Did you add -H -l yourlocalname to your tcpserver? It avoids consulting DNS for changing IP to names. When it looks for not existent names, or when yout DNS server is working bad, you have huge delays. If you have a private address as sender or receiver, no public DNS will be able to traslate

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

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

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(domain.s,

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

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

2003-09-04 Thread tonix (Antonio Nati)
() 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 versions of vpopmail. It looks like function vget_real_domain does not exists

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

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

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

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 problems?

[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

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

2003-10-05 Thread tonix (Antonio Nati)
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 +, David Benson wrote: Eric, thanks for the suggestion

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

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)
. 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 this flag up? 2) Are you sure you

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 |

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-04 Thread tonix (Antonio Nati)
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 set, that's all they get. otherwise, the domain limits are IN ADDITION

Re: [vchkpw] disable_external_relay [PATCH]

2003-12-05 Thread tonix (Antonio Nati)
, 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 Nati) wrote: Tom, thanks

Re: [vchkpw] disable_external_relay [PATCH]

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

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 cannot

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

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

Re: [vchkpw] Help in chkuser

2004-01-24 Thread tonix (Antonio Nati)
) 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 Tonix, How are you running qmail-smtpd? I 've setuid

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

[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

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

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).

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 connection

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 back

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

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, bounce-no-mailbox

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 suck (like

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) wrote

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

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

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 stdio.h *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

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

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 set

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

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

2004-06-10 Thread tonix (Antonio Nati)
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? Change system user for that domain? Move from cdb to MySQL? Tonino At 10/06/2004 10/06/2004 +0100, you

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

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

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:

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

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 things. Hi

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

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 Nati

[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

Re: [vchkpw] chkuser 2.0 - doc typos

2004-09-24 Thread tonix (Antonio Nati)
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 released. New version is available on: http

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

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

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

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

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 You could also set up an authenticated

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

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

  1   2   3   >