Alternative ways of sendmail & cyrus integration [Was: Virtual domains, Mailbox unknown]

Andrzej Filip anfi at
Thu Feb 26 12:10:21 EST 2004

Ken Murchison wrote:
> Sebastian Hagedorn wrote:
>> -- Ken Murchison <ken at> is rumored to have mumbled on 
>> Mittwoch, 25. Februar 2004 16:37 Uhr -0500 regarding Re: Alternative 
>> ways of sendmail & cyrus integration [Was: Virtual domains, 
>> user at Mailbox unknown]:
>>>> if I understand the description correctly, this approach doesn't
>>>> currently handle hashed spools, does it?
>>> I don't know if it does or not.  But IMHO, the best way to do this is to
>>> use the socket map support in Sendmail 8.13 (a patch is available for
>>> 8.12) and smmapd in Cyrus 2.2.  This eliminates the need to peek into 
>>> the
>>> imap spool and will support whatever mailbox namespace and/or spool
>>> hashing that Cyrus is using.
>> I'd heard about that, but wasn't aware of the patch for 8.12. Do you 
>> have a URL for that? We have yet to upgrade to 2.2, but that might 
>> just be the reason to do so ...

Below please find modified lines to make sendmail check cyrus 
mailbox existence using socket map [instead of fstat map]:
dnl *.mc file modifications for real time integration of cyrus and sendmail
dnl It makes sendmail define user map in
# cyrus - map for file stat checking
Kcyrus socket local:_path_to_smmapd_socket_
# Treat system mailboxes as usual
R$+             $: $(user $1 $)
R$+ <>          $@
# Detect cyrus mailboxes - deliver via cyrus mailer
R$+             $: $1 <$(cyrus $1 $: $)>
R$<$+>          $# cyrus $: @$1
# Treat remaining as usual
R$*             $@

I hope will publish next version next week:
* capable to support cyrus virtual domains
* milter-sender friendly
[current version creates problems with checking local address validity]

Andrzej [en:Andrew] Adam Filip anfi at anfi at
Home Page:
List Archives/Info:

More information about the Info-cyrus mailing list