sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

Andrzej Filip anfi at
Tue Nov 4 12:35:31 EST 2003

Mike Brodbelt wrote:
> A Clockwork Orange wrote:
>>I'd like sendmail to check presence of the cyrus mailbox during
>>establishing SMTP connection.
>>If the cyrus mailbox doesn't present sendmail drops SMTP connection
>>(doesn't recieve email).
>>What have i to write in file?
> There's a page about it here:-

It is nice to see that somebody knows about my rtcyrus existence ;)
RTCyrus requires sendmail patch (new custom "file" map) but was 
"reluctant" to accept it.

> Unfortunately, this relies on giving sendmail knowledge of the internal
> arrangement of Cyrus mailboxes, to check for the existence of the user.
> I've avoided implementing it, as I feel it goes counter to the idea of
> Cyrus as a "black box", accessible via IMAP/LMTP/POP only. As such it'll
> only work where sendmail and Cyrus are on the same machine.
> If there are any better ways to achieve the same end, I'd also be
> interested.

There are two alternative approaches I can think of right now:
1) custom milter
[servicing only "RCPT TO:"]
2) socket map
[ available in 8.13 preview ]

Both will make sendmail ask separate process (which may be located on another 
server) if the given envelope recipient address should be accepted.

IMHO socket map will be a better solution of the problem:
Are you interested in testing simple perl based "socket map" server for cyrus?
[ and testing sendmail 8.12 of course ]

Andrzej [pl>en: Andrew] Adam Filip
anfi at anfi at [former: anfi at]

More information about the Info-cyrus mailing list