qmail-queue patch for Kaspersky Antivirus

2001-07-29 Thread Ondřej Surý
strlen(auto_qmail)+strlen(messfn)+8; + scanfn = alloc(scanlen); + snprintf(scanfn, scanlen, "%s/%s/%s", auto_qmail, "queue", messfn); + if ((scanres = AvpScan(scanfn)) != 0) die_virus(); + alloc_free(scanfn); + AvpClose(); + } intdfd = open_excl(intdfn); if (intdfd == -1) die

Re: smtp-auth / vpopmail

2001-05-31 Thread Ondřej Surý
[EMAIL PROTECTED] (Ondřej Surý) writes: Jonas Pasche <[EMAIL PROTECTED]> writes: > as chris bolt correctly stated, vchkpw has to be suid, but suid vpopmail > unfortunately is not enough; it has to be suid root (ken jones told me that > long time ago), This is *not* true! I have

Re: smtp-auth / vpopmail

2001-05-31 Thread Ondřej Surý
il.vchkpw you have to add access to your tcp.smtp file for vpopmail user. -- Ondřej Surý <[EMAIL PROTECTED]>Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 GPG fingerprint: CC91 8F02 8CDE 911A 933F AE52 F4E6 6A7C C20D F273

Patch to allow runtime configuration via environment variables

2001-05-30 Thread Ondřej Surý
s to other people. 4.10.9-runtime.getenv.config.diff.gz -- Ondřej Surý <[EMAIL PROTECTED]>Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 GPG fingerprint: CC91 8F02 8CDE 911A 933F AE52 F4E6 6A7C C20D F273

Re: dbfunctions - it's over

2001-05-29 Thread Ondřej Surý
to achieve. It > doesn't break the code, but it breaks the product. Not true, I think that everyone is welcome to add needed functionality to other backends using API defined by dbfunction patch. -- Ondřej Surý <[EMAIL PROTECTED]>Globe Internet s.r.o. http://globe

Re: Authenticated SMTP?

2001-05-07 Thread Ondřej Surý
;cause qmail-smtpd is running under qmaild user and so it hasn't access to /var/lib/vpopmail/... -- Ondřej Surý <[EMAIL PROTECTED]>Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 GPG fingerprint: CC91 8F02 8CDE 911A 933F AE52 F4E6 6A7C C20D F273

Re: Antivirus

2001-05-03 Thread Ondřej Surý
(via socket) and in case it found infection, it will delete message and bounce it back (recepient is not notified). -- Ondřej Surý <[EMAIL PROTECTED]>Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 GPG fingerprint:

Re: Antivirus

2001-05-02 Thread Ondřej Surý
;); + len+=2; + p=index(buftoscan,'>')+1; + (void)write(fd,p,len-(p-buftoscan)); + (void)close(fd); + return -1; +} + +int AvpTest(int flags,const char *fmt, ...) +{ + int rez=-1; + va_list ap; + register char *p; + int saved_errno=0; + char tbuf[2048], fmt_cpy[1024]; + time_t now

Re: from mysql to ldap

2001-04-19 Thread Ondřej Surý
authentication > > - right now i'm using mysql, if i want to use ldap auth. should i move my > > user from mysql to ldap ? how to do it ? > > - is there any effect to sqwebmail and qmailadmin ? > > > > thanks for your help, it's nice if you also tel

Re: A little problem with Courier-IMAP

2001-03-22 Thread Ondřej Surý
3.5, >sqwebmail-1.2.4.20010202 > > Everything is working (well not everything, that's why I wrote this mail). > This is working > 1 - sqwebmail gets mail from real users and from users on the virtual domain. :) > 2 - mail is delivered to real users and to users on the vi

Re: LDAP authentication...

2001-03-19 Thread Ondřej Surý
good for, just stop commenting it. You are comparing onions with apples. You cannot compare Directory Service and RDBMS! -- Ondřej Surý <[EMAIL PROTECTED]> Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 M