Sendmail and Cyrus Virtual Domains

cyrus at cyrus at
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

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

Various solutions:

1. Make Cyrus your local mailer,

define(`confLOCAL_MAILER', `cyrusv2')

2. Take out of class w,

Check local-host-names and /etc/hosts

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

R$+	$#cyrusv2 $@ $: $1<>



More information about the Info-cyrus mailing list