Sendmail and Cyrus Virtual Domains

cyrus at fiddaman.net cyrus at fiddaman.net
Wed Sep 20 15:08:14 EDT 2006


On Wed, 20 Sep 2006, AJ wrote:

; > final            returns: john . smith
; > mailer local, user john.smith

Sendmail is selecting the local mailer instead of cyrusv2. This is likely
to be because the domain you're sending to is in class w - i.e. in the
/etc/mail/local-host-names file or it's the name of the machine in some
way.

Check class w by going into address test mode (sendmail -bt) and typing
'$=w' without the quotes, if domain.com appears in the list then that's
the problem.

Various solutions:

1. Make Cyrus your local mailer,

define(`confLOCAL_MAILER', `cyrusv2')

2. Take domain.com out of class w,

Check local-host-names and /etc/hosts

3. use the Local_localaddr ruleset to force redirection of local messages:

LOCAL_RULESETS
SLocal_localaddr
R$+	$#cyrusv2 $@ domain.com $: $1<@domain.com>

HTH,

Andy



More information about the Info-cyrus mailing list