Hello all,

My Setup:

RedHat 7.3+Vpopmail
5.3.11-(MySql)+qmail-1.03+qmailadmin-1.0.6+qmail-scanner-1.15+vqadmin-2.3.4+
SpamAssassin-2.43

I have a somewhat strange problem that just started occurring.  As of a few
days ago my vpopmail started giving me segmentation faults whenever I try to
use 'vadddomain'.  I have added two programs to the system (Spamassassin and
qmail-scanner), but I don't think either of these programs would cause the
Segmentation Fault when trying to add a domain.
I was thinking of recompiling qmail now, but I am not sure this would help?
I am wondering if I have some sort of corruption somewhere?  I've included
my settings at the end of this message.  BTW, I can add/delete/modify/delete
current users and domains.  I can also add new users to domains with no
problems.  It's just adding a new domain that segfaults.

The segmentation fault happens as follows:

---
[root@mail bin]# ./vadddomain testing.com
Please enter password for postmaster:
enter password again:
Segmentation fault
[root@mail bin]#
---

Here's what I have tried to fix the problem (1a-1d):

1) Searched mailing list, tried each of the following from what others
suggested in earlier messages with similar/same problem:

1a) Running 'vadddomain' as either the root user or vpopmail user and
neither works. Both give Segmentation Fault.

1b) Tried recompiling vpopmail as follow:

make distclean
./configure  --enable-roaming-users=y --enable-logging=y --enable-learn-pass
words=y --enable-clear-passwd=y --enable-defalt-domain=fuzzylinux.net --enab
le-mysql --enable-defaultquota=20M
make
make install-strip

1c) Checked permissions of the /var/qmail/users/assign file

[root@mail vpopmail-5.3.11]# ls -all /var/qmail/users/
total 16
drwxr-xr-x    2 root     qmail        4096 Dec 22 10:07 .
drwxr-xr-x   11 root     qmail        4096 Dec 22 09:56 ..
-rw-r--r--    1 root     qmail        1201 Dec 19 19:05 assign
-rw-------    1 root     root            0 Dec 22 10:07 assign.lock
-rw-r--r--    1 root     root         3566 Dec 22 10:06 cdb

1d) I tried compiling vqadmin and it works great, I can modify users, add
users to existing domains, but when I try to add a new domain it craps out.
---------


My current settings:


vpopmail 5.3.11
            Current settings
---------------------------------------

vpopmail directory = /home/vpopmail
               uid = 508
               gid = 503
          ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
     roaming users = ON  --enable-roaming-users=y
    tcpserver file = /home/vpopmail/etc/tcp.smtp
    open_smtp file = /home/vpopmail/etc/open-smtp
        user quota = 20M -enable-hardquota=20M
       auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
      file locking = ON  --enable-file-locking=y default
         file sync = OFF --enable-file-sync=n default disable vdelivermail
fsync
     make seekable = ON  --enable-make-seekable=y default
      auth logging = ON  --enable-auth-logging=y default
     mysql logging = OFF --enable-mysql-logging=n default
      clear passwd = ON  --enable-clear-passwd=y (default)
     users big dir = ON  --enable-users-big-dir=y (default)
 valias processing = OFF --enable-valias=n
      mysql limits = OFF --enable-mysql-limits=n default
        pop syslog = show successful and failure login attempts
                     --enable-logging=y
    default domain =  --enable-default-domain=
          auth inc = -I/usr/include/mysql
          auth lib = -L/usr/lib/mysql  -lmysqlclient -lz

---------------------------------------

[root@mail vpopmail-5.3.11]# ls -all /home/vpopmail/
total 60
drwxr-xr-x    9 vpopmail vchkpw       4096 Dec 21 10:20 .
drwxr-xr-x    7 root     root         4096 Dec 20 23:14 ..
drwxr-xr-x    2 vpopmail vchkpw       4096 Dec 22 09:07 bin
drwxr-xr-x    4 vpopmail vchkpw       4096 Dec 15 12:29 doc
drwx------   14 vpopmail vchkpw       4096 Dec 22 09:54 domains
drwxr-xr-x    2 vpopmail vchkpw       4096 Dec 22 10:33 etc
drwxr-xr-x    2 vpopmail vchkpw       4096 Dec 15 12:29 include
drwx------    2 root     root         4096 Dec 15 12:29 lib
-rw-------    1 vpopmail vchkpw       3920 Dec 21 10:15 mailfilter
drwx------    2 vpopmail root         4096 Dec 22 10:30 .spamassassin

[root@mail vpopmail-5.3.11]# ls -all /var/qmail/
total 48
drwxr-xr-x   11 root     qmail        4096 Dec 22 09:56 .
drwxr-xr-x   24 root     root         4096 Dec 15 21:29 ..
drwxr-sr-x    2 alias    qmail        4096 Dec 22 09:59 alias
drwxr-xr-x    2 root     qmail        4096 Dec 22 10:00 bin
drwxr-xr-x    2 root     qmail        4096 Dec 15 12:11 boot
drwxr-xr-x    2 root     qmail        4096 Dec 22 10:03 control
drwxr-xr-x    2 root     qmail        4096 Dec 15 12:11 doc
drwxr-xr-x   10 root     qmail        4096 Dec 15 12:11 man
drwxr-x---   11 qmailq   qmail        4096 Dec 15 12:11 queue
-rwxr-xr-x    1 root     qmail         215 Dec 15 12:14 rc
drwxr-xr-x    6 root     qmail        4096 Dec 15 12:16 supervise
drwxr-xr-x    2 root     qmail        4096 Dec 22 10:29 users

---


Thanks for any suggestions to fix this issue.

Steve Sobka
[EMAIL PROTECTED]



Reply via email to