B. Cook ha scritto:
I am trying to build a new qmail server to replace our older one here..

We have the chkusr 2.0 (either 2.0.6 or 2.0.5) patch installed on our current qmail working fine.

The .qmail-defaults are not being recognized the correct way.

it never sees that all mail should be accepted, and instead returns the standard "no mailbox here by that name (chkuser)"

We have one or two domains that we use for internal things which is setup to accept all email sent to it.

This is the chkuser_settings.h without the STRING values..

grep ^#define work/qmail-1.03/chkuser_settings.h | egrep -v STRING
#define CHKUSER_ALWAYS_ON
#define CHKUSER_ALWAYS_ON disables .qmail-default checking.

See http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html#Enabling_chkuser

Ciao,

Tonino

#define CHKUSER_VPOPMAIL
#define CHKUSER_ENABLE_UIDGID
#define CHKUSER_DOMAIN_WANTED
#define CHKUSER_ENABLE_USERS
#define CHKUSER_ENABLE_ALIAS
#define CHKUSER_EZMLM_DASH '-'
#define CHKUSER_ENABLE_LOGGING
#define CHKUSER_LOG_VALID_RCPT
#define CHKUSER_MIN_DOMAIN_LEN 4
#define CHKUSER_LOG_VALID_SENDER
#define CHKUSER_RCPT_LIMIT_VARIABLE "CHKUSER_RCPTLIMIT"
#define CHKUSER_WRONGRCPT_LIMIT_VARIABLE "CHKUSER_WRONGRCPTLIMIT"
#define CHKUSER_MBXQUOTA_VARIABLE "CHKUSER_MBXQUOTA"
#define CHKUSER_ERROR_DELAY 1
#define CHKUSER_RCPT_DELAY_ANYERROR
#define CHKUSER_SENDER_DELAY_ANYERROR
#define CHKUSER_ENABLE_ALIAS_DEFAULT
#define CHKUSER_ENABLE_USERS_EXTENSIONS
#define CHKUSER_ENABLE_EZMLM_LISTS
#define CHKUSER_USERS_DASH '-'
#define CHKUSER_DB_CLEANUP
#define CHKUSER_ERROR_DELAY_INCREASE 1
#define CHKUSER_ENABLE_DOUBLEBOUNCE_VARIABLE "CHKUSER_DOUBLEBOUNCE"


and this is how I am starting qmail-smtpd..

        case ${qmail_smtp_enable} in
        [Yy][Ee][Ss])
                # Start the qmail smtp daemon
                env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -c255 -x /usr/local/vpopmail/etc/tcp.smtp.cdb \
                -u89 -g89 0 8125 /var/qmail/bin/qmail-smtpd \
                2>&1 | splogger qsmtpd &

                echo -n " qmail-smtp"
                ;;
        esac


This is the example domain that I am working with..

name:   postmaster
passwd: $1$mTA57gKn$6DB52U9PX/ksXYWGT3PkE/
clear passwd: UFG7XSYp
comment/gecos: Postmaster
uid:    0
gid:    0
flags:  0
gecos: Postmaster
limits: No user limits set.
dir:       /usr/local/vpopmail/domains/test.domain/postmaster
quota:     104857600S
usage:     0%
last auth: Tue Nov 25 17:41:48 2008
last auth ip: imap


and here is an example session:

r...@chlorine [/usr/local/vpopmail/domains/test.domain]# 121 > ls -al
total 14
drwx------    4 vpopmail  vchkpw   512 Jan  5 15:07 .
drwx------  133 vpopmail  vchkpw  3584 Dec  1 13:15 ..
-rw-------    1 vpopmail  vchkpw    60 Jan  5 15:07 .qmail-default
-rw-------    1 vpopmail  vchkpw   283 Nov 27 23:40 .qmailadmin-limits
drwx------    3 vpopmail  vchkpw   512 Nov 25 15:58 bcook
drwx------    3 vpopmail  vchkpw   512 Nov  9 18:59 postmaster

r...@chlorine [/usr/local/vpopmail/domains/test.domain]# 122 > telnet localhost 8125
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.test.domain ESMTP
helo blah
250 mail.test.domain
mail from:<n...@aol.com>
250 ok
rcpt to:<n...@test.domain>
550 5.1.1 sorry, no mailbox here by that name (chkuser)
quit
221 mail.test.domain
Connection closed by foreign host.

r...@chlorine [/usr/local/vpopmail/domains/test.domain]# 123 > cat .qmail-default
| /usr/local/vpopmail/bin/vdelivermail '' bc...@test.domain


Everything else is working just fine..

Clues or suggestions would be greatly appreciated..

For what it is worth..

This is a FreeBSD 7.0-p7 amd64 (no zfs) the only patch this has in it is the LOCALTIME_PATCH; I have tried it without the localtime patch and it does not make a difference.







--
------------------------------------------------------------
in...@zioni Interazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it ------------------------------------------------------------


!DSPAM:4964d13b32672465817975!

Reply via email to