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



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 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)


[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 2>&1

-- 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-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 2>&1

-- 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-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






[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