FYI: Sendmail and Cyrus IMAP - Real Time Integration
Lenny
rahl at mindcryme.com
Thu Aug 5 15:23:12 EDT 2004
This doesn't appear to be working for me for some reason. Are there
prerequisites for this working?
I'm using a Murder setup with virtual domains. Does the quota checking
of smmapd
work if it's in a Murder setup?
I set a test account to have a 1k limit and sent a 3k email to it. Then I sent
another, got the requisite bounceback saying the account was overquota. So I
tried via telnet and it's still accepting the mail at the rcpt to phase:
[root at cyr-fe1 cyrus-imapd-2.2.8]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 cyr-fe1 ESMTP Sendmail 8.12.10/8.12.10; Thu, 5 Aug 2004 15:15:40 -0400
helo logical.net
250 cyr-fe1 Hello localhost.localdomain [127.0.0.1], pleased to meet you
mail from: rahl at mindcryme.com
250 2.1.0 rahl at mindcryme.com... Sender ok
rcpt to: [email hidden]
250 2.1.5 [email hidden]... Recipient ok
quit
In cyradm:
cyr-fe1> lq user/[email hidden]
Password:
STORAGE 3/1 (300%)
Thanks.
Lenny
--
"Wisdom is to a man an infinite Treasure" - Anonymous"
Quoting Ken Murchison <ken at oceana.com>:
> Lenny wrote:
>
>> I know this has been asked before (heck, I think maybe I've even
>> asked before),
>> so I apologize right away for being redundant.
>>
>> But, is there anyway to have sendmail check quota and reject during
>> the RCPT TO
>> stage if the user is over quota as well? The amount of bounceback
>> emails that
>> gets generated from over quota accounts is horrible for us :)
>
> Yes, Cyrus smmapd (which Sendmail talks to) checks the existence of the
> mailbox, the ACL and the quota.
>
>>
>> Quoting Andrzej Filip <anfi at priv.onet.pl>:
>>
>>> Revision: 1.1 2004/06/30 11:36:27
>>>
>>> Real Time Sendmail and Cyrus Integration Version 2
>>> http://anfi.homeunix.net/sendmail/rtcyrus2.html
>>>
>>> The above link leads to recipe how to integrate sendmail-8.13
>>> and cyrus-2.2.3+ (the latest is cyrus-2.2.6) using socket map.
>>> [Making sendmail 8.12 support socket map requires patching the sources.]
>>>
>>> The recipe allows sendmail to reject messages to non existing
>>> cyrus mailboxes in response to "RCPT TO:" without taking responsibility
>>> for sending bounce messages for non existing mailboxes.
>>>
>>> Feel free to send me you comments or suggest improvements.
>>>
>>> URL(s):
>>> * The recipe http://anfi.homeunix.net/sendmail/rtcyrus2.html
>>> * Sendmail.org http://www.sendmail.org/
>>> * Cyrus IMAP Server http://asg.web.cmu.edu/cyrus/imapd/
>>> * Cyrus Virtual Domains
>>> http://asg.web.cmu.edu/cyrus/download/imapd/install-virtdomains.html
>>> ---
>>> 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
>>
>>
>>
>> ---
>> 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
>>
>
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26 Orchard Park, NY 14127
> --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
---
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