> Did you updated cdb files ? qmail-ldap doen't use cdb files for RCPT check, right?
The only cdb file wich I'm using and updating with each change is tcp.cdb. > About this connexion, what said qmail-smtp and qmail-send log ? It may > seem > to accept the message and reject it. Here the logs of qmail-smtpd, qmail-send and smtp session: ---------------------- qmail-smtpd: ---------------------- 2008-09-19 14:08:56.224639500 tcpserver: status: 1/40 2008-09-19 14:08:56.224907500 tcpserver: pid 13194 from 172.19.21.56 2008-09-19 14:08:56.225025500 tcpserver: ok 13194 correo.prueba.es:172.19.21.57:25 :172.19.21.56::4168 2008-09-19 14:08:56.226744500 qmail-smtpd 13194: connection from 172.19.21.56 (unknown) to correo.prueba.es 2008-09-19 14:08:56.226783500 qmail-smtpd 13194: enabled options: starttls rblcheck rcptcheck smtp-auth-tls-required 2008-09-19 14:09:01.060343500 qmail-smtpd 13194: unrecognized command: 2008-09-19 14:09:05.129638500 qmail-smtpd 13194: RBL check with 'zen.spamhaus.org': no match found, continue. 2008-09-19 14:09:05.129689500 qmail-smtpd 13194: mail from: [EMAIL PROTECTED] 2008-09-19 14:09:10.551626500 qmail-smtpd 13194: rcpt to: kakita 2008-09-19 14:09:13.777502500 qmail-smtpd 13194: message queued: 1221826153 qp 13195 size 8 bytes 2008-09-19 14:09:15.140966500 tcpserver: end 13194 status 0 2008-09-19 14:09:15.140968500 tcpserver: status: 0/40 ------------------- qmail-send: ------------------- 2008-09-19 14:09:13.797245500 new msg 1953 2008-09-19 14:09:13.797282500 info msg 1953: bytes 283 from <[EMAIL PROTECTED]> qp 13195 uid 1002 2008-09-19 14:09:13.797339500 starting delivery 1: msg 1953 to local [EMAIL PROTECTED] 2008-09-19 14:09:13.797436500 status: local 1/10 remote 0/20 2008-09-19 14:09:13.803451500 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2008-09-19 14:09:13.803887500 status: local 0/10 remote 0/20 2008-09-19 14:09:13.813224500 bounce msg 1953 qp 13197 2008-09-19 14:09:13.813388500 end msg 1953 2008-09-19 14:09:13.829325500 new msg 2521 2008-09-19 14:09:13.829356500 info msg 2521: bytes 878 from <> qp 13197 uid 1007 2008-09-19 14:09:13.829410500 starting delivery 2: msg 2521 to remote [EMAIL PROTECTED] 2008-09-19 14:09:13.829505500 status: local 0/10 remote 1/20 2008-09-19 14:11:19.352258500 delivery 2: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ 2008-09-19 14:11:19.352261500 status: local 0/10 remote 0/20 ----------------------------- SMTP Conversation: ----------------------------- If you see it, when I use [EMAIL PROTECTED], the check is done by qmail-smtpd and reject in smtp conversation if its necesary. But if you only insert a user name, qmail-smtp always accept the message and then, qmail-send show an error at log level without inform to sender (delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/)o . I want that always qmail-smtp block the send of message if user doesn't exist. Is it possible? // Only username // 220 mail.midominio.com ESMTP ehlo 250-mail.midominio.com 250-PIPELINING 250-DATAZ 250-STARTTLS 250 8BITMIME mailfro 502 unimplemented (#5.5.1) mail from:[EMAIL PROTECTED] 250 ok rcpt to: kakita 250 ok data 354 go ahead punk, make my day adfadsf . 250 ok 1221826153 qp 13195 by mail.midominio.com quit 221 mail.midominio.com Goodbye. // [EMAIL PROTECTED] // 220 mail.midominio.com ESMTP ehlo 250-mail.midominio.com 250-PIPELINING 250-DATAZ 250-STARTTLS 250 8BITMIME mail from:[EMAIL PROTECTED] 250 ok rcpt to:[EMAIL PROTECTED] 553 sorry, relaying denied from your location [172.19.21.56] (#5.7.1) rcpt to:[EMAIL PROTECTED] 554 Sorry, no mailbox here by that name. (#5.1.1) rcpt to:[EMAIL PROTECTED] 250 ok data 354 go ahead punk, make my day asdfadsf . 250 ok 1221826847 qp 13250 by mail.midominio.com ----------------------------- > > Qmail-ldap.org: > > RCPTCHK > > - Only applies to recipients whose domain is listed in > ~control/locals<http://www.qmail-ldap.org/wiki/index.php/%7Econtrol/locals>. > > - Recipients domains listed in > ~control/rcpthosts<http://www.qmail-ldap.org/wiki/index.php/%7Econtrol/rcpthosts>are > allowed, no check will be made. > - If > RELAYCLIENT<http://www.qmail-ldap.org/wiki/index.php?title=RELAYCLIENT&action=edit>is > set, all other recipients are allowed as well. > - Addresses or domains listed in > ~control/goodmailaddr<http://www.qmail-ldap.org/wiki/index.php/%7Econtrol/goodmailaddr>are > unconditionally allowed in all cases. > > > > 2008/9/19 Jimmy Spam <[EMAIL PROTECTED]> > >> I already have tried this. The mailserver acept the message with any >> LoginUser. If LoginUser doesn't exist, mailserver acept message in any >> case. This is "the problem". >> >> >> > Try from remote computer: >> > >> > telnet YourServer 25 >> > ehlo >> > mail from: [EMAIL PROTECTED] >> > rcpt to: LoginUser (without domain) >> > data >> > test >> > . >> > >> > >> > 2008/9/18 Jimmy Spam <[EMAIL PROTECTED]> >> > >> >> yes, but the problem is that if you only insert a name, the RCPTCHECK >> >> doesn't work. >> >> >> >> Can a spamer flood my server with this? >> >> >> >> >> >> > What is the problem ? if you have valid account. >> >> > >> >> > You send mails for local users or external users. >> >> > >> >> > Without domain, you cannot receive mail from mails servers but you >> can >> >> > send >> >> > only for local users. >> >> > >> >> > >> >> > >> >> > 2008/9/18 Jimmy Spam <[EMAIL PROTECTED]> >> >> > >> >> >> Hi friends, >> >> >> >> >> >> I have see that if I enable RCPTCHECK, when I do: >> >> >> >> >> >> rcpt to: [EMAIL PROTECTED] >> >> >> >> >> >> check correctly if user/domain exist, but if I do: >> >> >> >> >> >> rcpt to: user >> >> >> >> >> >> the RCPTCHECK doesn't work and mail is acepted. This mail is >> consider >> >> >> for >> >> >> recipient user@<machine>.<domain>, for example, >> >> >> [EMAIL PROTECTED] >> >> >> >> >> >> Can I modify this? I don't want this happen. If is posible, I only >> >> want >> >> >> acept valid email address. >> >> >> >> >> >> Regards, >> >> >> spamis >> >> >> >> >> >> >> >> >> >> ______________________________________________________________________ >> >> >> Correo gratis de Pobladores.com >> >> >> Ahora con 25MB de capacidad. >> >> >> http://www.pobladores.com/services/webmail >> >> >> >> >> > >> >> >> >> >> >> >> >> ______________________________________________________________________ >> >> Correo gratis de Pobladores.com >> >> Ahora con 25MB de capacidad. >> >> http://www.pobladores.com/services/webmail >> >> >> > >> >> >> >> ______________________________________________________________________ >> Correo gratis de Pobladores.com >> Ahora con 25MB de capacidad. >> http://www.pobladores.com/services/webmail >> > ______________________________________________________________________ Correo gratis de Pobladores.com Ahora con 25MB de capacidad. http://www.pobladores.com/services/webmail
