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

Andrzej Filip anfi at priv.onet.pl
Mon May 17 14:05:48 EDT 2004


Sergey wrote:
> On Sunday 16 May 2004 23:27, Andrzej Filip wrote:
> 
> 
>>>But I have new question. The 
>>>reason: 550 5.1.1 <xxxxxx at xxxxxxx.xx>... User unknown
>>>is return both for unreal and real but overquoted users. Is real
>>>cyrus reason's sending possible ?
>>
>>Please send what cyrus map lookups returned in both cases.
> 
> 
> # echo '/map cyrus overquoted-user at xxxxxx.ru' | sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
> 
>>map_lookup: cyrus (overquoted-user at xxxxxx.ru) no match (69)
> 
> #
> # echo '/map cyrus unreal-user at xxxxxx.ru' | sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
> 
>>map_lookup: cyrus (unreal-user at xxxxxx.ru) no match (68)

1) Could you post definition of cyrus map you use ?
grep Kcyrus /etc/mail/sendmail.cf
2) Cpuld you post exact link of solution you have used ?
[there are a few versions]

> I read in sendmail's documentation about possibility arbitrary test 
> in some replyes :
> 
>                 The status indicator is one of the following
>                 upper case words:
> 
>                     OK       the key was found, result contains the looked up value
>                     NOTFOUND the key was not found, the result is empty
>                     TEMP     a temporary failure occured
>                     TIMEOUT  a timeout occured on the server side
>                     PERM     a permanent failure occured
> 
>                 In case of errors (status TEMP,  TIMEOUT  or
>                 PERM)   the  result  field  may  contain  an
>                 explanatory message.
> 
> Or is cyrus send NOTFOUND (and not TEMP or PERM) in both cases ?

*.cf file sees TEMP as NOTFOUND unless the map is defined with -T...

BTW I can see no way to make "explanation" send by cyrus with TEMP reply 
avaialbale in *.cf file (All TEMP land in "one rubber bag").

-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
http://anfi.homeunix.net/ http://slashdot.org/~anfi
---
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