Re[2]: [vchkpw] smtp logfile .. unable to stat .qmail-file

2007-07-30 Thread cad
Hello Rick

am Montag, 30. Juli 2007 um 18:08 schrieben Sie:

> [EMAIL PROTECTED] wrote:
>> am Montag, 30. Juli 2007 um 00:41 schrieben Sie:
>> 
>>> [EMAIL PROTECTED] wrote:
 Hello,

 i hope this is the correct mailinglist for the question and perhaps
 someone can help.
>> 
>> command="/usr/bin/env - ${qmailsmtpd_postenv} /usr/pkg/bin/softlimit 
>> -m ${qmailsmtpd_datalimit} ${qmailsmtpd_pretcpserver} /usr/pkg/bin/argv0 
>> /usr/pkg/
>> bin/tcpserver ${name} ${qmailsmtpd_tcpflags}  -c `/usr/bin/head -1 
>> /etc/qmail/control/concurrencyincoming` -u `/usr/bin/id -u qmaild` -g 
>> `/usr/bin/id -g qmaild
>> ` ${qmailsmtpd_tcphost} ${qmailsmtpd_tcpport} ${qmailsmtpd_presmtpd} 
>> /usr/pkg/bin/qmail-smtpd ${qmailsmtpd_postsmtpd} 2>&1 | 
>> /usr/pkg/bin/setuidgid qmaill ${qm

> Hi,

> How is qmail going to read the .qmail-* files owned by vpopmail:vchkpw,
> and only readable by that user, if the user it is running as is qmaild ?

> Here my -u is the uid of vpopmail and the -g is the gid of vchkpw

you are right.

I changed " ... -u qmaild ..." to "-u 89" and "-g
qmaild"  to "-g 89".
This are uid/gids of vpopmail and vchkpw.
It works and there no entry in the logfile anymore.

But now the question is, why it works on the other systems with
"qmaild"?
If i find an answer i will post it in this newsgroup.

Thanks for your quick answers.
Regards
Reinhold




Re: [vchkpw] smtp logfile .. unable to stat .qmail-file

2007-07-30 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

am Montag, 30. Juli 2007 um 00:41 schrieben Sie:


[EMAIL PROTECTED] wrote:

Hello,

i hope this is the correct mailinglist for the question and perhaps
someone can help.


command="/usr/bin/env - ${qmailsmtpd_postenv} /usr/pkg/bin/softlimit -m 
${qmailsmtpd_datalimit} ${qmailsmtpd_pretcpserver} /usr/pkg/bin/argv0 /usr/pkg/
bin/tcpserver ${name} ${qmailsmtpd_tcpflags}  -c `/usr/bin/head -1 
/etc/qmail/control/concurrencyincoming` -u `/usr/bin/id -u qmaild` -g 
`/usr/bin/id -g qmaild
` ${qmailsmtpd_tcphost} ${qmailsmtpd_tcpport} ${qmailsmtpd_presmtpd} 
/usr/pkg/bin/qmail-smtpd ${qmailsmtpd_postsmtpd} 2>&1 | /usr/pkg/bin/setuidgid 
qmaill ${qm


Hi,

How is qmail going to read the .qmail-* files owned by vpopmail:vchkpw, 
and only readable by that user, if the user it is running as is qmaild ?


Here my -u is the uid of vpopmail and the -g is the gid of vchkpw

Regards,

Rick



Re[2]: [vchkpw] smtp logfile .. unable to stat .qmail-file

2007-07-30 Thread cad
am Montag, 30. Juli 2007 um 00:41 schrieben Sie:

> [EMAIL PROTECTED] wrote:
>> Hello,
>> 
>> i hope this is the correct mailinglist for the question and perhaps
>> someone can help.
>> 
>> I´m  using qmail, vpopmail under NetBSD.
>> The logfile smtpd/current shows these messages for mails that are
>> delivered to an adress which will be forwarded with an dot-qmail file:
>> 
>> @400046ad060a2ee9c5f4 tcpserver: pid 24710 from 193.99.144.71
>> @400046ad060a2eeb2d54 tcpserver: ok 24710 0:213.221.xxx.xx:25 
>> :193.99.144.71::43701
>> @400046ad060b1956e67c unable to stat 
>> /usr/daten/vpopmaildomains/domains/xxx.de/.qmail-testrc: access denied
>> @400046ad060b1b978b94 tcpserver: end 24710 status 0
>> 
>> Where do the line .. "unable to stat ..." mean?
>> 
>> It seems the .qmail-xxx files are evaluated and the mails
>> is delivered correctly.
>> 
>> The permissons are the same as on our  other systems.



> Can you give us the output of an ls -la in the domains and 
> domains/xxx.de directories ?


Hello,
thank you for your answers.
Below you can find the directories and the smtpd start script.
The deactivation of the greylist / rblsmtp has no effect.


The permissions and the startscript are the same as on other machines,
where also vpopmail and qmail is working.

vpomail and qmail seems to work because the mails are delivered correctly, but 
there is always the message in
the smtpd/current logfile.

The system is netbsd 3.0.1.

I hope this may help

Best regards
Reinhold

the "domains" directory
total 36
drwx--  10 vpopmail  vchkpw   512 Jul 11 11:43 .
drwxr-xr-x   5 root  wheel512 May 24 23:16 ..
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 bernoulli.rmroppert.com
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 capri-sun.com
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 capricamp.de
drwx--   6 vpopmail  vchkpw  1024 Jul 29 23:04 caprisonne.de
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 caprisonnecaps.de
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 caprisunbig.de
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 leckernaturschmecker.de
drwx--   3 vpopmail  vchkpw   512 Jul 29 21:14 soyundjoy.de



and here the
caprisonne.de - directory


drwx--   6 vpopmail  vchkpw  1024 Jul 29 23:04 .
drwx--  10 vpopmail  vchkpw   512 Jul 11 11:43 ..
-rw-r--r--   1 vpopmail  vchkpw34 Jul 29 21:14 .dir-control
-rw---   1 vpopmail  vchkpw25 Jan  6  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw72 Feb 19 10:31 .qmail-xxx
-rw---   1 vpopmail  vchkpw26 Jan  6  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw54 Jan  6  2007 .qmail-xx
-rw---   1 vpopmail  vchkpw44 Jan  4  2007 .qmail-default
-rw---   1 vpopmail  vchkpw36 Jan  4  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw36 Jan  4  2007 .qmail-domainmaster
-rw---   1 vpopmail  vchkpw52 Jan  6  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw36 Jan  4  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw14 Jan  6  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw65 Jan  6  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw36 Jan  4  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw19 Jul 29 23:04 .qmail-testrc
-rw---   1 vpopmail  vchkpw28 Jan  4  2007 .qmail-xxx
-rw---   1 vpopmail  vchkpw 0 May 15 13:23 .vpasswd.lock
drwx--   3 vpopmail  vchkpw   512 Dec 23  2006 xxx
drwx--   3 vpopmail  vchkpw   512 Jan  4  2007 
drwx--   3 vpopmail  vchkpw   512 May 15 13:23 x
drwx--   3 vpopmail  vchkpw   512 Jan  4  2007 xx
-rw---   1 vpopmail  vchkpw   541 May 15 13:23 vpasswd
-rw---   1 vpopmail  vchkpw  2677 May 15 13:23 vpasswd.cdb


smtpd startscript


#!/bin/sh
#
# $NetBSD: qmailsmtpd.sh,v 1.7 2005/07/19 21:06:39 schmonz Exp $
#
# qmail-run-20060604 script to control qmail-smtpd (SMTP service).
# PROVIDE: qmailsmtpd mail
# REQUIRE: qmailsend
name="qmailsmtpd"
# User-settable rc.conf variables and their default values:
: ${qmailsmtpd_postenv:="QMAILQUEUE=/usr/pkg/bin/qmail-queue"}
: ${qmailsmtpd_tcpflags:="-v -R -H -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb"}
: ${qmailsmtpd_tcphost:="0"}
: ${qmailsmtpd_tcpport:="25"}
: ${qmailsmtpd_datalimit:="500"}
: ${qmailsmtpd_pretcpserver:=""}
: ${qmailsmtpd_presmtpd="/usr/pkg/bin/qgreylist /usr/pkg/bin/rblsmtpd -r 
ix.dnsbl.manitu.net -r problems.dnsbl.sorbs.net -r rhsbl.sorbs.net"}
: ${qmailsmtpd_postsmtpd:=""}
: ${qmailsmtpd_log:="YES"}
: ${qmailsmtpd_logcmd:="/usr/pkg/bin/multilog t s1000 n20 
/usr/daten/log/qmail/smtpd"}
: ${qmailsmtpd_nologcmd:="/usr/pkg/bin/multilog -*"}

if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
rcvar=${name}
required_files="/usr/pkg/etc/qmail/control/concurrencyincoming"
required_files="${required_files} /etc/qmail/tcp.smtp.cdb"
required_files="${required_files} /etc/qmail/control/rcpthosts"
command="/usr/pkg/bin/tcpserver"
procname=${name}
start_precmd="qmailsmtpd_precmd"
extra_commands="stat pause cont cdb"
stat_cmd=

[vchkpw] vchkpw-pop3: vpopmail user not found

2007-07-30 Thread [EMAIL PROTECTED]
Hi,

I'm receiving random reports of people being informed about authentication 
problem.
In logs i have: vchkpw-pop3: vpopmail user not found [EMAIL].

I have exactly the same problem like this:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02825.html
and this:
http://www.tnpi.biz/internet/mail/toaster/faq/random-auth-fail.shtml

vchkpw-smtp work fine, authentication via imap too, without any problems

On second there is described that a problem is vpopmail and MySQL interaction.

Im not sure that it is a linuxthreads MySQL problem, because before i have 
reinstall mail and mysql server there is a linuxthreads MySQL version and 
everything works fine.
I think this is vpopmail <-> MySQL interaction problem.

Have you some experience about that?

ph88