real time cyrus integration difficulties

Rod Gutierrez rod at combase.com
Thu May 26 18:37:09 EDT 2005


On Thu, 26 May 2005, Andrzej Adam Filip wrote:

> You can make non sendmail.org FEATURE(`mrs_cyrus.m4') use non built in 
> smmapd socket location by defining CYRUS_SMMAPD_SOCKET before the 
> feature e.g.
> define(`CYRUS_SMMAPD_SOCKET',`/var/lib/imap/socket/smmapd')dnl
> 
> You can test replies sendmail gets from smmapd by using the command below:
> echo '/map cyrus rod' | sendmail -bt
> 

i added the line that you suggested into my sendmail.mc file (which 
is included below). i've also tried using the command you provided. the 
command produces the following output for both existing and nonexisting 
accounts:

[root at mysubdomain ~]# echo '/map cyrus rod' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: cyrus (rod) no match (75)

[root at mysubdomain ~]# echo '/map cyrus test' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: cyrus (test) no match (75)

here is a copy and paste of my sendmail.mc file...

divert(0)dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
FEATURE(`nocanonify')
FEATURE(`always_add_domain')
define(`confTRUSTED_USERS',`cyrus')
define(`CYRUS_LMTP_SOCKET',`/var/lib/imap/socket/lmtp')dnl
define(`CYRUS_SMMAPD_SOCKET',`/var/lib/imap/socket/smmapd')dnl
define(`LUSER_RELAY',`mrs_cyrus_user:error:5.1.1:550 User unknown')dnl
FEATURE(`mrs')dnl
FEATURE(`mrs_cyrus',`/usr/lib/cyrus-imapd/smmapd')dnl
MODIFY_MAILER_FLAGS(`CYRUSV2',`-A5')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`cyrusv2')dnl

LOCAL_RULE_0
Rbb + $+ < @ $=w . >    $#cyrusbb $: $1

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
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