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:
>> 
>> @4000000046ad060a2ee9c5f4 tcpserver: pid 24710 from 193.99.144.71
>> @4000000046ad060a2eeb2d54 tcpserver: ok 24710 0:213.221.xxx.xx:25 
>> :193.99.144.71::43701
>> @4000000046ad060b1956e67c unable to stat 
>> /usr/daten/vpopmaildomains/domains/xxx.de/.qmail-testrc: access denied
>> @4000000046ad060b1b978b94 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      wheel    512 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  vchkpw    34 Jul 29 21:14 .dir-control
-rw-------   1 vpopmail  vchkpw    25 Jan  6  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    72 Feb 19 10:31 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    26 Jan  6  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    54 Jan  6  2007 .qmail-xx
-rw-------   1 vpopmail  vchkpw    44 Jan  4  2007 .qmail-default
-rw-------   1 vpopmail  vchkpw    36 Jan  4  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    36 Jan  4  2007 .qmail-domainmaster
-rw-------   1 vpopmail  vchkpw    52 Jan  6  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    36 Jan  4  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    14 Jan  6  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    65 Jan  6  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    36 Jan  4  2007 .qmail-xxx
-rw-------   1 vpopmail  vchkpw    19 Jul 29 23:04 .qmail-testrc
-rw-------   1 vpopmail  vchkpw    28 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 xxxx
drwx------   3 vpopmail  vchkpw   512 May 15 13:23 xxxxx
drwx------   3 vpopmail  vchkpw   512 Jan  4  2007 xxxxxx
-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:="5000000"}
: ${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 s10000000 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="qmailsmtpd_stat"
pause_cmd="qmailsmtpd_pause"
cont_cmd="qmailsmtpd_cont"
cdb_cmd="qmailsmtpd_cdb"
qmailsmtpd_precmd()
{
        # tcpserver(1) is akin to inetd(8), but runs one service per process.
        # We want to signal only the tcpserver process responsible for SMTP
        # service. Use argv0(1) to set procname to "qmailsmtpd".
        if [ -f /etc/rc.subr ]; then
                checkyesno qmailsmtpd_log || 
qmailsmtpd_logcmd=${qmailsmtpd_nologcmd}
        fi

        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
ailsmtpd_logcmd}"
        command_args="&"
        rc_flags=""
}

qmailsmtpd_stat()
{
        run_rc_command status
}

qmailsmtpd_pause()
{
        if ! statusmsg=`run_rc_command status`; then
                echo $statusmsg
                return 1
        fi
        echo "Pausing ${name}."
        kill -STOP $rc_pid
}

qmailsmtpd_cont()
{
        if ! statusmsg=`run_rc_command status`; then
                echo $statusmsg
                return 1
        fi
        echo "Continuing ${name}."
        kill -CONT $rc_pid
}

qmailsmtpd_cdb()
{
        echo "Reloading /etc/qmail/tcp.smtp."
        /usr/pkg/bin/tcprules /etc/qmail/tcp.smtp.cdb /etc/qmail/tcp.smtp.tmp < 
/etc/qmail/tcp.smtp
        /bin/chmod 644 /etc/qmail/tcp.smtp.cdb
}

if [ -f /etc/rc.subr ]; then
        load_rc_config $name
        run_rc_command "$1"
else
        echo -n " ${name}"
        qmailsmtpd_precmd
        eval ${command} ${qmailsmtpd_flags} ${command_args}
fi












Reply via email to