[vchkpw] Vpopmail 5.5.0 Qmailadmin 1.2.14

2010-05-04 Thread Sérgio Rosa

Hi all,

installed vpopmail-5.5.0 today and downloaded form SF qmailadmin-1.2.14, 
but qmailadmin won't compile.


Matt refered earlier that the latest trunk of qmailadmin shuld be used. 
Is it not 1.2.14?


The output:
[r...@mail-srv qmailadmin-1.2.14]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for crypt in -lcrypt... yes
checking for crypt in -lshadow... no
checking for an ANSI C-conforming const... yes
checking for egrep... grep -E
checking for uid_t in sys/types.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether closedir returns void... no
checking for dup2... yes
checking for memset... yes
checking for mkdir... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking whether we should prohibit caching... no
checking whether to require ip authentication... yes
checking whether to display user index... yes
checking whether to allow admins to modify user quotas... no
checking whether to autofill domain name on login page... no
checking whether to enable catchall accounts... yes
checking whether to enable trivial password... yes
checking whether to append the email to the end of the spam command... no
checking whether to allow spam check enable/disable... no
checking whether to show help pages... no
checking for ezmlm-idx... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

qmailadmin 1.2.13
Current settings
---
   cgi-bin dir = /var/www/cgi-bin
  html dir = /var/www/html
 image dir = /var/www/html/images/qmailadmin
 image URL = /images/qmailadmin
  template dir = /usr/local/share/qmailadmin
 qmail dir = /var/qmail
  vpopmail dir = /home/vpopmail
   autorespond dir = /usr/bin
 ezmlm dir = /usr/local/bin/ezmlm
 ezmlm idx = yes
   mysql for ezmlm = yes
  help = no
  modify quota = no
   domain autofill = no
 catchall accounts = yes
 trivial passwords = yes
 modify spam check = no
[r...@mail-srv qmailadmin-1.2.14]#

[r...@mail-srv qmailadmin-1.2.14]# make
make  all-am
make[1]: Entering directory `/var/src/qmailadmin-1.2.14'
source='user.c' object='user.o' libtool=no \
depfile='.deps/user.Po' tmpdepfile='.deps/user.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -I. -I/home/vpopmail/include  -I. -I. -I. -g -O2 -Wall 
-c `test -f 'user.c' || echo './'`user.c

In file included from user.c:43:
qmailadmin.h:37:1: warning: MAX_FILE_NAME redefined
In file included from user.c:32:
/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location 
of the previous definition

user.c: In function âcall_hooksâ:
user.c:522: error: âVPOPMAILDIRâ undeclared (first use in this function)
user.c:522: error: (Each undeclared identifier is reported only once
user.c:522: error: for each function it appears in.)
user.c: In function âset_qmaildefaultâ:
user.c:627: error: âVPOPMAILDIRâ undeclared (first use in this function)
make[1]: *** [user.o] Error 1
make[1]: Leaving directory `/var/src/qmailadmin-1.2.14'
make: *** [all] Error 2
[r...@mail-srv qmailadmin-1.2.14]#

Do note that qmailadmin reports 1.2.13, but I definitively download 
1.2.14, several times.


Thanks and waiting for a hand on this.

Sérgio Rosa
--
*AWD
*arquitectura web e design, lda
rua do moinho velho, 19 2ºdto
2655-242 ericeira

tlm +351 913 489 195
mail 

[vchkpw] vpopmail and qmailadmin

2003-12-31 Thread DOV
Still no luck logging in from remote using Eudora with smtpd-auth patch... have tried 
using root in qmail-smtpd, no help there...

in qmailqueue:
messages contain: Unable to switch to /var/vpopmail/users/root

-- which should have been /var/vpopmail/domains/www9.landings.com/root right?


/var/log/maillog contains:
www9 vpopmail[21742]: vchkpw-pop3: vpopmail user not found root@:69.3.72.9

-- seems the above should be [EMAIL PROTECTED]:69.3.72.9 is that correct?)


qmailctl stat reports stuck messages:

/service/qmail-send: up (pid 23547) 13 seconds
/service/qmail-send/log: up (pid 23548) 13 seconds
/service/qmail-smtpd: up (pid 23551) 13 seconds
/service/qmail-smtpd/log: up (pid 23552) 13 seconds
/service/qmail-pop3d: up (pid 23555) 13 seconds
/service/qmail-pop3d/log: up (pid 23556) 13 seconds
messages in queue: 15
messages in queue but not yet preprocessed: 0



/var/qmail/control/defaultdomain contains www9.landings.com


have reinstalled qmail with smtpd-auth patch... using ./config etc... as previously 
done... did this cause this problem?



current /var/qmail/supervise/qmail-smtpd/run:

#!/bin/sh

QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open relay
exit 1
fi

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 
www9.landings.com \
/var/vpopmail/bin/vchkpw /bin/true 21

-- no different if -u 89 -g 89 above...

-rwxr-xr-x1 root root   895532 Dec 29 17:47 /var/vpopmail/bin/vchkpw
-rwxr-xr-x1 root qmail   32872 Dec 30 19:05 /var/qmail/bin/qmail-smtpd

=

setup:
RH7.2
MySQL 4.1.1
vpopmail-5.4.0-pre2
vqadmin-2.3.6
qmailadmin-1.2.0-rc1
netqmail-1.04 (qmail) patch smtp-auth
ezmlm-idx-0.40
ezmlm-0.53
qmail-scanner-1.20
ucspi-tcp-0.88
autorespond-2.0.2


any ideas to try next?

Thx,

Yonatan.


Re: [vchkpw] vpopmail and qmailadmin

2003-12-31 Thread Chris Ess
On Wed, 31 Dec 2003, DOV wrote:

 Still no luck logging in from remote using Eudora with smtpd-auth patch... have 
 tried using root in qmail-smtpd, no help there...

 in qmailqueue:
 messages contain: Unable to switch to /var/vpopmail/users/root

 -- which should have been /var/vpopmail/domains/www9.landings.com/root right?


 /var/log/maillog contains:
 www9 vpopmail[21742]: vchkpw-pop3: vpopmail user not found root@:69.3.72.9

 -- seems the above should be [EMAIL PROTECTED]:69.3.72.9 is that correct?)

[snip]

This may sound like a silly question, but...  What is the login name you
are using in Eudora?  Are you using '[EMAIL PROTECTED]'?  If so, try
using 'root%www9.landings.com'.  In my experience, Eudora drops the '@'
and everything to the right of it in the login name.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] vpopmail and qmailadmin

2003-12-31 Thread Jeremy Kitchen
On Wed, 2003-12-31 at 15:05, Chris Ess wrote:
 
  /var/log/maillog contains:
  www9 vpopmail[21742]: vchkpw-pop3: vpopmail user not found root@:69.3.72.9
 
  -- seems the above should be [EMAIL PROTECTED]:69.3.72.9 is that correct?)
 
 [snip]
 
 This may sound like a silly question, but...  What is the login name you
 are using in Eudora?  Are you using '[EMAIL PROTECTED]'?  If so, try
 using 'root%www9.landings.com'.  In my experience, Eudora drops the '@'
 and everything to the right of it in the login name.

older versions of eudora did this because you specified your incoming
mail server in the username field:
[EMAIL PROTECTED]

where username was (duh) your username, and mail.example.com was the
address of the pop3 server.  5.xx+ doesn't do this.

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] vpopmail and qmailadmin

2003-12-31 Thread Jeremy Kitchen
please keep list posts on the list.  I get lots of email, and if it's
posted to the list it's automatically filed for me, as well as being
available for other list members and for the archives.  If it arrives in
my inbox, it may get inadvertently deleted, or perhaps, even
intentionally deleted.

also:
bad: http://www.faqs.org/docs/jargon/T/top-post.html
good: http://www.faqs.org/docs/jargon/B/bottom-post.html

On Wed, 2003-12-31 at 15:28, DOV wrote:
  (note: that something looks off...
  from main page: click 'List Domains' leave it empty and click on button, now 
  showing
  All domains
  roo Aliased to root
  root
  localhost
  test.com
  www9.landings.com
 
  the only domain setup is www9.landings.com, where are the extras arriving from?)
 
 vqadmin reads the users/assign (cdb?) file.  Perhaps you have some other
 entries in there and it's getting confused.  If this is the case, ignore
 it.

 This is the contents of assign...
 /var/qmail/users/assign
 
 =root:root:89:89:/var/vpopmail/users/root:::
 +root-:root:89:89:/var/vpopmail/users/root:-::
 +localhost-:localhost:89:89:/var/vpopmail/domains/localhost:-::
 +test.com-:test.com:89:89:/var/vpopmail/domains/test.com:-::
 +www9.landings.com-:www9.landings.com:89:89:/var/vpopmail/domains/www9.landings.com:-::
 
 What is the procedure for rebuilding the cdb file...

man qmail-users
(hint: /var/qmail/bin/qmail-newu )

 and does it look right?

sure.  if it's not right, qmail-newu will complain.

like I said, vqadmin is seeing those other entries and getting
confused.  Ignore it.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



[vchkpw] vpopmail and qmailadmin

2003-12-30 Thread DOV
qmailadmin is now working... thank Tom..
vqadmin seems to be working

(note: that something looks off...
from main page: click 'List Domains' leave it empty and click on button, now showing
All domains
roo Aliased to root
root
localhost
test.com
www9.landings.com

the only domain setup is www9.landings.com, where are the extras arriving from?)


In rc1, `make install-strip` doesn't install with the correct permissions.  Try `make 
install` instead or wait until the rc2 release which I'll be making in the next few 
days.

Currently, it seems that there's a disconnect between qmailadmin and what 
qmail/vpopmail are using as database for users...


in qmailadmin and vqadmin, checking for users shows both postmaster and root users...  
when sending from Eudora an email to [EMAIL PROTECTED] I see the following reports:


in qmailqueue:
messages contain: Unable to switch to /var/vpopmail/users/root

-- which should have been /var/vpopmail/domains/www9.landings.com/root right?


/var/log/maillog contains:
www9 vpopmail[21742]: vchkpw-pop3: vpopmail user not found root@:69.3.72.9

-- seems the above should be [EMAIL PROTECTED]:69.3.72.9 is that correct?)


qmailctl stat reports stuck messages:

/service/qmail-send: up (pid 23547) 13 seconds
/service/qmail-send/log: up (pid 23548) 13 seconds
/service/qmail-smtpd: up (pid 23551) 13 seconds
/service/qmail-smtpd/log: up (pid 23552) 13 seconds
/service/qmail-pop3d: up (pid 23555) 13 seconds
/service/qmail-pop3d/log: up (pid 23556) 13 seconds
messages in queue: 15
messages in queue but not yet preprocessed: 0



/var/qmail/control/defaultdomain contains www9.landings.com


have reinstalled qmail with smtpd-auth patch... using ./config etc... as previously 
done... did this cause this problem?



current /var/qmail/supervise/qmail-smtpd/run:

#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open relay
exit 1
fi

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 
www9.landings.com \
/var/vpopmail/bin/vchkpw /bin/true 21

-- no different if -u 89 -g 89 above...
-rwxr-xr-x1 root root   895532 Dec 29 17:47 /var/vpopmail/bin/vchkpw
-rwxr-xr-x1 root qmail   32872 Dec 30 19:05 /var/qmail/bin/qmail-smtpd

=

setup:
RH7.2
MySQL 4.1.1
vpopmail-5.4.0-pre2
vqadmin-2.3.6
qmailadmin-1.2.0-rc1
netqmail-1.04 (qmail) patch smtp-auth
ezmlm-idx-0.40
ezmlm-0.53
qmail-scanner-1.20
ucspi-tcp-0.88
autorespond-2.0.2


any ideas to try next?

Thx,

Yonatan.


Re: [vchkpw] vpopmail and qmailadmin

2003-12-30 Thread Jeremy Kitchen
On Tue, 2003-12-30 at 19:20, DOV wrote:
 qmailadmin is now working... thank Tom..
 vqadmin seems to be working
 
 (note: that something looks off...
 from main page: click 'List Domains' leave it empty and click on button, now showing
 All domains
 roo Aliased to root
 root
 localhost
 test.com
 www9.landings.com
 
 the only domain setup is www9.landings.com, where are the extras arriving from?)

vqadmin reads the users/assign (cdb?) file.  Perhaps you have some other
entries in there and it's getting confused.  If this is the case, ignore
it.

-Jeremy

-- 
Jeremy Kitchen [EMAIL PROTECTED]



[vchkpw] vpopmail and qmailadmin

2003-08-28 Thread Steven Job

Hello,

Does vpopmail analyze the qmaillimits all of the time or do you have to do 
something to enable it?  Because as I disable permissions (disable_pop for 
example) they are often ignored.

I am able to set the qmailadmin limits (using the mysql version and the 
flat file verion) but it doesn't seem to work the way I thought.

I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.

Am I missing something here?

Thanks for any help in understanding this.
-Steve




RE: [vchkpw] vpopmail and qmailadmin

2003-08-28 Thread Clayton Weise
Not sure if things have changed in recent versions, but after changing the
setting on the domain I had to change it for each user as well.

-Clayton

-Original Message-
From: Steven Job [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 9:59 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail and qmailadmin



Hello,

Does vpopmail analyze the qmaillimits all of the time or do you have to do 
something to enable it?  Because as I disable permissions (disable_pop for 
example) they are often ignored.

I am able to set the qmailadmin limits (using the mysql version and the 
flat file verion) but it doesn't seem to work the way I thought.

I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.

Am I missing something here?

Thanks for any help in understanding this.
-Steve