Sorry,
I did not read carefully your message.
It looks like qmail-smtpd is not able to read .qmail-default (infact
when you run it directly, probably as root, it works fine).
How do you run qmail-smtpd? Are you using the vpopmail user?
Tonino
At 11.35 02/10/2007, tonix (Antonio Nati) wrote:
Hi Michel,
you have to check if bouncing is enabled for each domain ("DOMAIN"
setting in CHKUSER_START variable).
Check in each domain's .qmail-default or use qmailadmin and set
bouncing on for the domain.
See
http://www.interazioni.it/opensource/chkuser/documentation/faq/enabling.html#D1
for more informations.
Ciao,
Tonino
At 11.15 02/10/2007, you wrote:
Hi all, this is my first message so any RTFM is wellcome.
I have installed netqmail 1.0.5 and chkuser 2.0.9 with #define
CHKUSER_STARTING_VARIABLE "CHKUSER_START"
but not with #define CHKUSER_ALWAYS_ON
This is my /etc/tcp.smtp
127.:allow,RELAYCLIENT="",SIMSCAN_DEBUG="3",QMAILQUEUE="/var/qmail/bin/simscan",CHKUSER_START="DOMAIN"
:allow,QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK='1',SIMSCAN_DEBUG='3',CHKUSER_START="DOMAIN"
My problem is that chkuser do not check if the "rcpt to" is an existent user:
mail from: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
250 ok
rcpt to: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
250 ok
This is in the log:
@4000000047021726037c0954 CHKUSER accepted any rcpt: from
<[EMAIL PROTECTED]::> remote <:x.x.x.x:y.y.y.y> rcpt
<<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]> : accepted any
recipient for this domain
Why accept any rcpt ?
this is my qmail-default of <http://test.com>test.com domain:
| /opt/vpopmail/bin/vdelivermail '' bounce-no-mailbox
Ah, this works:
# cd /root/netqmail-1.05/netqmail-1.05
# export CHKUSER_START="DOMAIN"
# ./qmail-smtpd
220 <http://mailmw.merlinwizard.com>mailmw.merlinwizard.com ESMTP
mail from: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
CHKUSER accepted sender: from <[EMAIL PROTECTED]::> remote
<:unknown:unknown> rcpt <> : sender accepted
250 ok
rcpt to: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
CHKUSER rejected rcpt: from <[EMAIL PROTECTED]::> remote
<:unknown:unknown> rcpt <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>
: not existing recipient
550 5.1.1 sorry, no mailbox here by that name (chkuser)
Any help is wellcome.
M.
--
Michel 'ZioBudda'
Morelli <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: +39-3939890025 -- Fax: +39-0291390660
<http://www.ziobudda.net>http://www.ziobudda.net
ICQ: 58351764
<http://www.ziobuddalabs.it>http://www.ziobuddalabs.it
Skype: zio_budda
<http://www.ajaxblog.it>http://www.ajaxblog.it
MSN: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]