Welinton | 13 Jun 2013 19:53
Picon

Re: Re: Runtime error


Allan Dukat <vchkpw <at> dukat.dk> escreveu:

>Hello everyone on this list. 
>
>If I comment out the free-lines in in valias_select_names_end in vpalias.c, 
>like this: 
>
>void valias_select_names_end()
>{
> int i; 
>
>  /* if( NULL != names ) {
>    for(i=0;i<num_names;i++){
>      free(names[i]);
>    }
>    free(names);
>    names=NULL;
>  } */
>  max_names=0;
>  num_names=0;
>  cur_name=0;
>} 
>
>qmaildmin runs without any error. 
>
>Why is it needed to free the memory, is it not so that Apache will do a 
>proper clean up when the request ends anyway? 
>
>Unfortunately it is so that my C skills is not that good, that I myself can 
(Continue reading)

Allan Dukat | 4 Jun 2013 15:05
Picon

Runtime error

Hi list 

I have a problem with qmailadmin-1.2.16, configured like this: 

./configure \
 --enable-vpopmaildir=/home/vpopmail \
 --enable-htmldir=/usr/local/apache2/htdocs \
 --enable-cgibindir=/usr/local/apache2/cgi-bin \
 --enable-imageurl=/images/qmailadmin \
 --enable-imagedir=/usr/local/apache2/htdocs/images/qmailadmin \
 --enable-qmaildir=/var/qmail \
 --enable-ezmlmdir=/usr/local/bin/ezmlm \
 --enable-cgipath=/cgi-bin/qmailadmin \
 --enable-autoresponder-path=/usr/local/bin \
 --enable-vpopuser=vpopmail \
 --enable-vpopgroup=vchkpw \
 --disable-ezmlm-mysql \
 --enable-modify-quota \
 --enable-help 

When adding the fist Forward I got an empty page as answer, an this in
Apache errorlog: 

*** glibc detected *** /usr/local/apache2/cgi-bin/qmailadmin: double free 
or corruption (top): 0x0000000001f326e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f9ed7c8ab96]
/usr/local/apache2/cgi-bin/qmailadmin[0x421f04]
/usr/local/apache2/cgi-bin/qmailadmin[0x4219ad]
/usr/local/apache2/cgi-bin/qmailadmin[0x42202f]
(Continue reading)

swaroop kumar | 16 May 2013 14:14
Picon

[SPAM] Error: Unable to chdir to vpopmail/domains/domain directory


Hi All,

I am switching my mail server from sendmail to qmail, currently installing qmail in debian and i am following this link http://qmailrocks.thibs.com/

I Have a problem in creating domains using vpopmail, below is the error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"

Can any one suggest me to overcome this, quick response is highly appreciated.

Thanks in Advance.
 
Regards,
Swaroop Kundeti
!DSPAM:5194a4bc34126005364638!
qmail@polarismail.com | 16 Apr 2013 07:48

[SPAM] Vdelivermail qmail ext bug

I think this was addressed before but I'm wondering if any patches exist...

Basically if your username has a dash in it and you have QMAIL_EXT ( ension ) enabled, vdelivermail will never check if you have a .qmail file in your mail directory. It will check for .qmail-EXTension.

The problem lies in the code that checks if the current user is an extension or not and simply goes by a dashboard being present or not...

​ !DSPAM:516cca8e34141178015681!
Russell Sutherland | 15 Apr 2013 15:42
Picon
Favicon
Gravatar

LDAP module documentation

Is there a recent/up to date document describing how one uses the LDAP
module backend for authentication? I assume it is called via the
vchkpw interface. I have re-compiled vpopmail with the

--enable-auth-module=ldap

option. I am using vpopmail ver. 5.4.33

Thanks in advance.

--
Russell Sutherland
email: russ <at> quist.ca
cell: +1.416.803.0080

!DSPAM:516be81034149686624863!

Charles Sprickman | 11 Apr 2013 22:47

[SPAM] lastauth troubles, old version

It's been some time since I've had to dig into any vpopmail issues as we have a box that's been "frozen in time"
for years.  It's quite the frankenbox at this point and I'll be having to get myself up to speed in the coming
months to deal with a move to new hardware, moving to dovecot from courier, and fronting the whole qmail
mess with postfix.

So I decided to start small and verify I can still rebuild the current vpopmail version we run (5.4.7) in a VM
and alter a few options.

I opted to enable the "last login" function.  It was turned off long ago to alleviate some db load, but that's
no longer an issue for us.  I've rebuilt 5.4.7 with "--enable-auth-logging" but I'm not seeing all logins
show up in the "lastauth" table.  We use courier (4.0.6) and authdaemond (0.58) with vpopmail auth enabled.

In my testing, I tried a pop3, pop3s, imap, and imaps login and found no errors logged and no logins show up in
the lastauth table.  To complicate matters, I do see a handful of users showing up in the table, but I can't
find any common criteria here - some of these users are pop, some are imap.

I feel like I've probably forgotten some piece of this puzzle, any hints?  How can I debug why the logins are
not being logged?

Thanks,

Charles
!DSPAM:516705a134141703739669!

qmail | 7 Apr 2013 06:42

[SPAM] Vpopmail & end of headers

We are having some issues with Vpopmail , vdelivermail more precisely  
- in the function is_spam()

There is this code that is charged with finding out when the headers end:

switch(spambuf[k]) {
              /* skip blank spaces and new lines */
              case ' ':
              case '\n':
              case '\t':
              case '\r':
                break;

Basically it assumes that if it finds spaces or \n or \t or \r that  
it's a 'blank' character which means the headers are over and it can  
append the Spamassassin tags.

I think this is a problem because there are messages which have for  
example white spaces(WS) followed by newlines in the header:

         \n

That code assumes that line is the end of the headers, but shouldn't  
the end be a new line that contains only \n ( or \r\n ) ?

Thank you!

!DSPAM:5160ef4a34141334075067!

Nicholas C. | 20 Mar 2013 09:30

vpopmail with centos 6 mysql-5.5.30

Dear all,

I am trying to install a toaster and got into an issue with vpopmail  after
issuing make command

gcc     -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -Xlinker -R
-Xlinker /var/lib/mysql -L/var/lib/mysql  -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1

I am trying to install vpopmail 5.4.33 to mysql-5.5.30 on a CentOS 6 64bits
system

Thanks
Nicholas

!DSPAM:5149583434146183913219!

Remo Mattei | 20 Feb 2013 07:42

Vpopmail from 5.5 to 5.4.33

Hello I have a box that was running the 5.5 that I need to move to production can I downgrade to 5.4.33?

Thanks for any suggestions

!DSPAM:5124551334141561731251!

Remo Mattei | 18 Feb 2013 22:37

Qmailadmin -- on a Remote Machine

Hello everyone, 
I have a qmail server running and for some reasons qmailadmin does not install, I have rebuild a new qmail
server and the qmailadmin works fine same version of OS pretty much same configuration but does not want to
listen about having qmailadmin running. So is there a way to use the new qmail server and run the qmailadmin
from there to access the production qmail server?

Thanks, 
Remo 
!DSPAM:512283d534143580380007!

Alessio Cecchi | 5 Feb 2013 10:13
Picon

Vpopmail DB from MyISAM to InnoDB, is safe?

Hi,

I'm running vpopmail 5.4.33 with mysql replica. I would like switch from 
mysql 5.1 and myisam to mysql 5.5 and innodb for tables.

Is safe? Are there contraindications?

Thanks
--

-- 
Alessio Cecchi is:
 <at>  ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
 <at>  PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5110b20d34148933588849!


Gmane