smmmapd maps [Was: Is smmapd murder friendly ?]

Andrzej Filip anfi at priv.onet.pl
Sat Mar 13 02:39:48 EST 2004


Ken Murchison wrote:
> Andrzej Filip wrote:
> 
>> [news:comp.mail.sendmail "Integration o Cyrus virtual domains with 
>> Sendmail"]
>>
>> According to report in news:comp.mail.sendmail attempt to use smmapd 
>> with murder caused the following errors:
>> [...]
> 
> I just committed an untested fix to CVS which should take care of this. 
> Note that it does not do a quota check since the frontends currently 
> have no way of checking quotas.
> 
> Let me know if this works.

[I do not use murder myself]

Ken,

What is you opinion about making smmapd support a few different maps ?
AFAIR current smmapd implementation ignores map name passed via socket map 
protocol

I think about something like:

map_name      input                       output on match
cyrus         mailbox_name                mailbox_name
cyrus-size    messages_size:mailbox_name  mailbox_name
curus-murder  mailbox_name                backend_name:mailbox_name

* cyrus-size would give cyrus opportunity to reject "too big" messages
[ zero or empty messages_size would mean "message size unknown" ]

* cyrus-murder would allow cyrus to inform on which backend imap server the 
mailbox is located  [ it would allow sendmail to send messages directly to 
backends via LMTP over TCP without using front end proxy ]

-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
http://anfi.webhop.net http://slashdot.org/~anfi
---
Home Page: http://asg.web.cmu.edu/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