dnl dnl *.mc dile modifications for real time integration of cyrus and sendmail dnl version using "socket" map: dnl http://www.sendmail.org/~ca/email/smenhanced.html - sendmail-8.12 dnl socket map is included in sendmail-8.13 (8.13.0) dnl socket map daemon (smmapd) is provided by cyrus-2.2.3 dnl dnl Updates available at http://anfi.homeunix.net/sendmail/rtcyrus-socket.txt dnl dnl It makes sendmail define user map in sendmail.cf define(`LUSER_RELAY') dnl define location of "socket map" socket provided by cyrus define(`SMMAP_SOCKET',`/var/imap/socket/smmapd') LOCAL_CONFIG # cyrus - map for checking cyrus maibox presence Kcyrus socket local:SMMAP_SOCKET LOCAL_RULESETS SLocal_localaddr # Treat system mailboxes as usual R$+ $: $(user $1 $) R$+ <> $@ # Detect cyrus mailboxes - deliver via cyrus mailer R$- $: $1 <$(cyrus $1 $: $)> R$- <$+> $# cyrus $: @$1 # Treat remaning as usuall R$* $@