It is sendmail's fault [Was: sendmail hooks for pre-checking of over-quota
imap users?]
Andrzej Filip
anfi at priv.onet.pl
Thu May 20 14:12:22 EDT 2004
1) Sendmail "ignores" 4?? error codes selected in localaddr (5) rule set and keeps previously selected (local) mailer unchanged.
( default "lmtp_over_quota_perm_failure: 0" )
map_lookup(cyrus, test) => NOT FOUND (75)
map_lookup(cyrus, test) tempfail: errno=0
rewritten as: < error : 5 . 1 . 1 : 550 User unknown > test < @ error : 5 . 1 . 1 : 550 User unknown > $| test < TMPF >
-----trying rule: < $* > $+ < @ $* > $| $* < TMPF >
-----rule matches: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewritten as: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewrite: ruleset mrs_cyrus_user returns: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewritten as: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewrite: ruleset MailerToTriple returns: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewritten as: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
rewrite: ruleset localaddr returns: $# error $@ 4 . 3 . 0 $: "451 Temporary system failure. Please try again later."
test... deliverable: mailer local, user test
2) when cyrus uses "lmtp_over_quota_perm_failure: 1" and returns PERM failure sendmail.cf sees it as "user unknown" (no match)
I hope I will publish fixed implementation of socket map over the weekend.
P.S. Excusme my lack of faith in cyrus :-)
--
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