Sendmail and Cyrus Virtual Domains

AJ aj at mindcrash.com
Wed Sep 20 00:32:09 EDT 2006


Sorry for the cross post, but I think this is the proper list for this  
question as opposed to info-sasl.

I cannot get sendmail to deliver to a cyrus inbox with virtual  
domains.  I created mailboxes for john.smith at domain.com, but if I try  
to deliver it via sendmail, it comes back as a user unknown.  I have  
patched it with the Realtime Sendmail Integration as listed on the cyrus
web site.  I get no errors in the maillog.
Any ideas what I am missing here?


Here is my sendmail.mc file:

OSTYPE(`linux')
#
# We don't need these
#
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
#
# Here are the define statements
#
define(`confCW_FILE', `/etc/mail/sendmail.cw')dnl
define(`confCR_FILE', `/etc/mail/relay-domains')dnl
define(`confCF_VERSION', `CFG-070104')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTO_ICONNECT', `15s')dnl
define(`confMAX_MESSAGE_SIZE', `2000000')dnl
define(`confSMTP_LOGIN_MSG', `$j MTA v1.0')dnl
define(`confPRIVACY_FLAGS', `goaway,noreceipts')dnl
define(`confQUEUE_SORT_ORDER', `host')dnl
define(`confDELIVERY_MODE', `background')dnl
define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl
define(`confAUTH_OPTIONS', `y')dnl
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`CYRUSV2_MAILER_ARGS', `FILE /var/cyrus/imap/socket/lmtp')
#
# Here are the features
#
FEATURE(`smrsh', `/usr/sbin/smrsh')
FEATURE(`no_default_msa')
FEATURE(`use_cw_file')
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
FEATURE(`virtuser_entire_domain')dnl
FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl
FEATURE(`mailertable', `hash /etc/mail/mailertable')dnl

GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
DAEMON_OPTIONS(`Name=MTA, Port=25, Address=10.1.1.2')dnl
DAEMON_OPTIONS(`Name=MSA, Port=25, Address=127.0.0.1, M=E')dnl
CLIENT_OPTIONS(`Family=inet, Address=10.1.1.2')dnl

# Cyrus stuff
FEATURE(`mrs')dnl
FEATURE(`mrs_cyrus')dnl

#
# The mailer definitions
#
MAILER(`cyrusv2')
MAILER(`local')
MAILER(`smtp')

And my mailertable:

domain.com          mrs_cyrus_mailertable:error:5.1.1:550 No such user

And my imapd.conf:

configdirectory: /var/cyrus/imap
partition-default: /var/cyrus/spool/imap
admins: cyrus at domain.com
sievedir: /var/cyrus/sieve
sendmail: /usr/sbin/sendmail
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
hashimapspool: true
altnamespace: yes
unixhierarchysep: yes
lmtp_downcase_rcpt: 1
autocreatequota: 8192
virtdomains: userid



More information about the Info-cyrus mailing list