Sendmail and Cyrus Virtual Domains

AJ aj at mindcrash.com
Wed Sep 20 11:12:03 EDT 2006


After removing any mr* stuff from my .mc file, I still get the below result.
My mailertable now only has:

domain.com          cyrusv2:/var/cyrus/imap/socket/lmtp

And my sendmail.mc:

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')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.1')dnl
DAEMON_OPTIONS(`Name=MSA, Port=25, Address=127.0.0.1, M=E')dnl
CLIENT_OPTIONS(`Family=inet, Address=10.1.1.1')dnl

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




> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
>> /parse john.smith at domain.com
> Cracked address = $g
> Parsing envelope recipient address
> canonify           input: john . smith @ domain . com
> Canonify2          input: john . smith < @ domain . com >
> Canonify2        returns: john . smith < @ domain . com . >
> canonify         returns: john . smith < @ domain . com . >
> parse              input: john . smith < @ domain . com . >
> Parse0             input: john . smith < @ domain . com . >
> Parse0           returns: john . smith < @ domain . com . >
> Parse1             input: john . smith < @ domain . com . >
> Parse1           returns: $# local $: john . smith
> parse            returns: $# local $: john . smith
> 2                  input: john . smith
> 2                returns: john . smith
> EnvToL             input: john . smith
> EnvToL           returns: john . smith
> final              input: john . smith
> final            returns: john . smith
> mailer local, user john.smith




More information about the Info-cyrus mailing list