sendmail & cyrus IMAP : socket map timeout hardcoded in cyrus's smmapd

sendmail & cyrus IMAP : socket map timeout hardcoded in cyrus's smmapd

Post by Andrzej Ad » Fri, 16 Jan 2009 02:32:21

*IMHO* The problem requires changes in cyrus (imap/smmapd.c) or
sendmail (sendmail/map.c) sources.

The only *UGLY* temporary fix I can think about is "intermediary" server
(e.g. perl script) relaying sendmail socket map queries to cyrus.

Have you considered moving to LDAP based configuration of sendmail
and cyrus? Socket map (potentially) may provide only better handling of
"over quota" situations with in SMTP session rejects.

[pl>en Andrew] Andrzej Adam Filip : XXXX@XXXXX.COM : XXXX@XXXXX.COM
Lay on, MacDuff, and curs'd be him who first cries, "Hold, enough!".
-- Shakespeare

1. socket map and Cyrus IMAP (possible sendmail's feature request)

2. cyrus + smmapd without patching sendmail?

I'm currently getting mailbombed with bounce messages because of the
interaction between cyrus and sendmail (sendmail accepts spam message
for unknown user, passes message to cyrus, cyrus rejects message,
sendmail bounces back to non-existent address forged by spammer,
remote mail server sends bounce message to the postmaster, me).

I know this is a known issue and the question has come up quite a few
times in the archives (search "smmapd" if you're curious), but a few
years have passed since the last activity that I can find (2005), and
I'd like to know if there is any way to avoid this problem _without_
hacking/patching Sendmail.

This page outlines the steps that need to be taken, involving patching

http://ftp. ***

And the official cyrus site only says, "Cyrus also includes a socket
map daemon smmapd ... To use this daemon, add smmapd as a service in
cyrus.conf and configure Sendmail accordingly.":

Basically, I'm wondering if in 2008 "configure Sendmail accordingly"
can be down without patching. I'm running sendmail 8.13.8-2.el5 and
cyrus 2.3.7-1.1.el5 (provided by Red Hat with RHEL 5.1). I didn't
actually choose cyrus myself, it was just the "official" imap solution
provided; things were a bit easier with UW-IMAP.


3. Beyond rtcyrus2 (Cyrus IMAP & Sendmail integration)

4. Cyrus IMAP, Sendmail, Procmail, Sieve, SpamAssassin OH MY!

5. [Info: RTCyrus3] Sendmail and Cyrus-IMAP integration

6. FYI: Integration of sendmail-8.13 and cyrus-2.3.3+ IMAP server

7. sendmail local delivery and cyrus imap server

8. sendmail with cyrus imap server

9. Mismatch between sendmail and cyrus-IMAP

10. sendmail LMTP authenticate to cyrus-imap

11. Migrating from sendmail/imap to postfix/cyrus

12. [Info: RTCyrus3] Sendmail and Cyrus-IMAP integration

13. Problem getting the full username including domain from sendmail to Cyrus Imap

14. Sendmail w/Cyrus IMAP users

15. MBDB interface to Cyrus IMAP (was: Quick Question about sendmail)