Qmail-LDAP
[Top] [All Lists]

Re: RCPT check

To: <qmail-ldap@qmail-ldap.org>
Subject: Re: RCPT check
From: "Berger Stefan" <Stefan.Berger@wvnet.at>
Date: Wed, 8 Nov 2006 15:22:58 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Thread-index: AccDPJofcSGJ10+KROGIapNN+/hUSwAA4PEg
Thread-topic: Re: RCPT check
On Wed, Nov 08, 2006 at 01:19:10PM +0100, Berger Stefan wrote:
> 
> Dear all ,
> 
> If have installed qmail-ldap in an lvs cluster and it's realy working 
> fine .
> On my Primary MX i have some domains which are all in control/locals.
> My control/rcpthosts is empty as i don't allow relaying trough this 
> Server.
> RCPT check is also working fine except for addresses which have only a

> local part .
> Does qmail-ldap automatically add a domainpart to the user if nothing 
> is given ?
> I'm using qmail-ldap-1.03-20060201.patch and 
> qmail-ldap-virtual.20060201.patch on Slackware 10.2 ( x86 32bit )
> 
> Below you can see my telnet test
> 
> 220 smtpgate.wvnet.at ESMTP
> ehlo
> 250-smtpgate.wvnet.at
> 250-PIPELINING
> 250-DATAZ
> 250 8BITMIME
> mail from:<test@test.net>
> 250 ok
> rcpt to:<test@test.net>
> 553 sorry, relaying denied from your location [PROTECTED] (#5.7.1)
> <-- OK , Domain not in RCPT
> rcpt to:<test56@bande.at>
> 554 Sorry, no mailbox here by that name. (#5.1.1) <--OK , Domain ist 
> local but no Mailbox with this name rcpt to:<hallo>
> <-- Only Test and it's working ????
> 250 ok
> data
> 354 go ahead punk, make my day
> test
> .
> 250 ok 1162987998 qp 23150 by smtpgate.wvnet.at quit
> 221 smtpgate.wvnet.at Goodbye.
> 
> I'am new to qmail-ldap - maybe someone can give me a hint on this 
> problem !
> 

>> No rcpt check does not add a domain to addresses without a domain
part.
>> So in the end the rcpt verification is skipped.
>> Probably we should append somethink like "plusdomain" or mails like
that should be rejected.

>>--
>>:wq Claudio

I think we could reject such mails .

Do you have any idea how we can do this ? I have no experience in
programming .
Maybe this Problem only appears with the qmail-ldap-virtual patch .
Could someone test it on a installation without this patch ?

Stefan



<Prev in Thread] Current Thread [Next in Thread>