sendmail hooks for pre-checking of over-quota imap users?
Didi Rieder
adrieder at sbox.tugraz.at
Wed May 19 15:34:32 EDT 2004
--On Wednesday, May 19, 2004 03:14:38 PM -0400 Ken Murchison
<ken at oceana.com> wrote:
>> [root at zidd-198 tmp]# ./socketmapClient.pl unix:/var/imap/socket/smmapd
>> cyrus koarl
>> koarl => PERM Over quota
>
> Check your imapd.conf. My guess is that you have
> lmtp_over_quota_perm_failure enabled. If not, then you have an
> old/broken version of smmapd.
You are right, if I disable it then I get:
[root at zidd-198 init.d]# /tmp/socketmapClient.pl
unix:/var/imap/socket/smmapd cyrus koarl
koarl => TEMP Over quota
BTW, this is cyurs-2.2.4
Now sendmail says:
[root at zidd-198 init.d]# /usr/lib/sendmail -d60.1 -bv koarl at xxx.tugraz.at
map_lookup(dequote, root) => NOT FOUND (0)
map_lookup(dequote, koarl) => NOT FOUND (0)
map_lookup(user, koarl) => NOT FOUND (67)
map_lookup(cyrus, koarl) => NOT FOUND (75)
map_lookup(cyrus, koarl) tempfail: errno=0
koarl at sbox.tugraz.at... deliverable: mailer local, user koarl
[root at zidd-198 init.d]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 zidd-198.tu-graz.ac.at ESMTP server ready at Wed, 19 May 2004 21:27:32
+0200 (CEST)
helo localhost
250 zidd-198.tu-graz.ac.at Hello localhost [127.0.0.1], pleased to meet you
mail from: <>
250 2.1.0 <>... Sender ok
rcpt to: <koarl at localhost>
250 2.1.5 <koarl at localhost>... Recipient ok (will queue)
But there is no local user "koarl". I'd like that sendmail does not queue
for users that are over quota. Sendmail also queues if cyrus (smmapd) is
not running, I'd like it to TEMPFAIL and reject messages.
Didi
--
---------------------------------
Didi Rieder
adrieder at sbox.tugraz.at
PGPKey ID: 3431D0B0
---------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040519/15a0c0e9/attachment.bin
More information about the Info-cyrus
mailing list