Re: AUTHed smtp USER+BADRCPTTO=DENY, why?
"Gennady G. Marchenko" <[email protected]> Thu, 02 Sep 2010 17:00:56 +0400
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <[email protected]> |
02.09.2010 13:33, Tomas Kuliavas пишет: > 2010.09.02 11:23 Gennady G. Marchenko rašė: >> Hello guys. >> >> There is a problem with badrcptto file. If I put in it some address, >> then user who successfuly did smtp auth can't send mail to it. Why? As I >> know, after user authed over smtp - RELAYCLIENT env will set. Does it? > RELAYCLIENT does not bypass badrcptto restrictions. Nothing in qmail-ldap > install docs says that it does. This option does not implement all > features of qmail's qregex patch. > Thanks for answer, Tomas hm... here: http://www.mail-archive.com/[email protected]/msg02803.html I found the answer from Claudio Jeker, he said that "2. if you are sending form a relay client (RELAYCLIENT set) no badrcptto check is done." and the reporter answered that it's true: "Aha, this is it. I have a passthrough sendmail on my firewall that is a match for RELAYCLIENT so badrcptto will never work in my setup. " Claudio said: "You could disable RELAYCLIENT for the gateway sendmail or patch qmail-smtpd.c to always check badrcptto" So, where was my mistake? Best wishes, Gennady.