sendmail hooks for pre-checking of over-quota imap users?

Sergey a_s_y at sama.ru
Sat May 15 10:07:17 EDT 2004


Andrzej Filip wrote:

> > The daemon verifies the existence of the rcpt, the ACL and the quota at 
> > the RCPT TO time of the SMTP exchange.  For me, its cut down on a HUGE 
> > amount of garbage destined for non-existent users, thus eliminating the 
> > outgoing bounce messages.

> Take a look at http://anfi.homeunix.net/sendmail/rtcyrus2.html if you 
> want more details how to use smmapd provided in cyrus-2.2.3 in sendmail.

> BTW Sendmail-8.13 is available as public Beta 
> http://www.sendmail.org/8.13.0.Beta2.html

Is this work ? I can't test solution rtcyrus2.html now (some problem
with downloading mrs-8.12.11.patch and mrs.m4), but I attempt to use 
old http://anfi.homeunix.net/sendmail/rtcyrus-socket.html.

I was install sendmail 8.13.0.Beta2 and cyrus-imap 2.2.3. I can see what
socket map partially work only. A user's existence is verify only:

May 15 16:57:49 smmapd[21219]: executed
May 15 16:57:49 smmapd[21219]: accepted connection
May 15 16:57:49 smmapd[21219]: append_check() of 'user.hsadhjcbvh' failed (Mailbox does not exist)

and I receive bounce from my MX:

==
   ----- The following addresses had permanent fatal errors -----
<hsadhjcbvh at xxxxxxx.ru>
    (reason: 550 5.1.1 <hsadhjcbvh at xxxxxxx.ru>... User unknown)

   ----- Transcript of session follows -----
... while talking to mail.xxxxxxx.ru.:
>>> DATA
<<< 550 5.1.1 <hsadhjcbvh at xxxxxxx.ru>... User unknown
550 5.1.1 <hsadhjcbvh at xxxxxxx.ru>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)
==

Then I to send mail to exsisted but overquoted user I receive bounce 
from end server:

==
   ----- The following addresses had permanent fatal errors -----
<real-user at xxxxxxx.ru>
    (reason: 552 5.2.2 Over quota)

   ----- Transcript of session follows -----
... while talking to localhost:
>>> DATA
<<< 552 5.2.2 Over quota
554 5.0.0 Service unavailable
<<< 503 5.5.1 No recipients
==

Is this the old sendmail's solutions issue or something another ?

-- 
Regards,
Sergey
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list