Re: Sendmail and Cyrus Virtual Domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux