Re: [vchkpw] Qmail keeps failing!

2005-07-07 Thread Alex Povolotsky

[EMAIL PROTECTED] wrote:

I have a fairly new installation of Qmail running, and when it works, 
it works great. But, from time to time it will begin to time out.
 
There are zero error messages appearing in any of the logs 
/var/log/messages or /var/log/qmail.
 
All services are running
 
A packet sniffer shows the entire session going as what would appear 
to be normal. I receive the final POP Request: QUIT packet and the 
mail server replying POP Response: +OK
 
Though the mail will not leave Outlook
 
This is a LAN wide issue on all workstations.
 
The only thing that looks out of the nor is in my running processes 
that are listed below from doing a ps -aux
 
Note: network issue are ruled out. The network is entirely Cisco and 
wide open on the inside and confirmed error free at router and 
switching level.
 
This error occurs when trying to send mail only and can be quickly 
band-aided by running a restore script of the master configuration 
from weeks back.
 
Surely you can see this as being a pain.
 
This problem occurs daily
 
MY ps -aux
 

vpopmail  4417  0.0  0.2  3500 1176 ?S00:05   0:00 
/var/qmail/bin/qm
qscand4418  0.0  0.7  8984 3988 ?S00:05   0:00 
/usr/bin/perl -T
vpopmail  4476  0.0  0.2  3500 1376 ?S00:19   0:00 
/var/qmail/bin/qm
qscand4477  0.0  0.9  9664 4780 ?S00:19   0:00 
/usr/bin/perl -T


Are you running some kind of perl-based filter forking or starting for 
every message? This is a sure way to bring any production system down.


Alex.




Re: [vchkpw] Automatic Folder creation

2003-06-01 Thread Alex Povolotsky
On Sat, 31 May 2003 19:47:04 +0100
Michael Fabricius [EMAIL PROTECTED] wrote:

MF Could somebody please give me a pointer as to how I can alter the
MF vpopmail source to automatically create Sent, Trash, Drafts folder
MF etc? Surely if vpopmail can create a maildir, it isn't a huge step
MF to create a few subfolders? I just can't find the function that does
MF this...

I thought about this patch, too... However, I've planned to implement it outside of 
vpopmail. Now I think that better place will be in vpopmail itself, thanks for idea...


-- 
Alex.



Re: Next 5.0 features

2001-02-02 Thread Alex Povolotsky

On Thu, Feb 01, 2001 at 10:26:51PM -0600, Ken Jones wrote:
 3. Code review for efficency
 
 These are the things that are important to me. If anyone here
...

0. Code review for stability. Always check ALL return values to avoid
incomplete creations. Make vpopmail.pm understand when to use users table,
and when - vpopmail. Chrck once again quite messy code in vmysql.c. Add
ability to specify SQL login/password at configure-time.

Thanks for great package,
wishing to kick bugs off it,
Alex.



problem with default domain (or am I crazy?)

2001-01-29 Thread Alex Povolotsky

Hello!

I'm (still) fighting with vpopmail, with default domain (to be checked
before virtual users list), with users base in mysql.

I've found that code in vpopmail.c handles case of default directory
(~vpopmail/users) QUITE incorrectly.

I've added a patch at vpopmail.c, line 1638:
===
if (!sstrcmp(domain, DEFAULT_DOMAIN)) {
return(0);
}
===

to prevent replacing default domain name with 'users'.

Or have I installed something totally incorrectly?

Alex.



Bug(s) in vpopmail, serious!

2001-01-25 Thread Alex Povolotsky

Hello!

Trying to make vpopmail working with mysql and default domain, I've found
rather serious bug:

in vmysql.c, line 127 (vauth_adduser_size), dom_dir is not initialised to
anything, so it's filled with garbage.

vget_assign is called at line 164 with garbled dom_dir

Later, in vget_assign, domain (which is _default_ domain, as it was
configured) doesn't present in /var/qmail/users/cdb, so dom_dir doesn't
change and vget_assign returns NULL, bot no one ever cares to check return
value!

So, should I add default domain to virtualdomains? If yes, why doesn't it
mentioned in any docs? 

And why doesn't return value get checked?

Alex.