Sendmail aliases and Cyrus
Per-Olov Sjöholm
pos at incedo.org
Mon Nov 21 07:57:34 EST 2005
On Monday 21 November 2005 06.38, Anthony Tibbs wrote:
> Hi everyone,
>
> I was trying to check the list archives for some hints, but it seems that
> that server is having some 'difficulties' at the moment, and isn't
> responding.
>
> I am currently in the process of setting up another Cyrus/IMAP server, as
> I've been (personally) running Cyrus/Sendmail for a few years now with good
> results. I had the usual sendmail+virtdomains+cyrus hoops to jump through,
> but now have THAT working all right (by way of a mailertable entries, i.e.
>
> mydomain.ca cyrusv2d:/var/lib/imap/socket/lmtp
>
> The problem is that for this to WORK, mydomain.ca must not be considered a
> "local domain" (i.e. it must not be in local-host-names), since this
> results in a rewrite that strips the 'host' portion of the address off, and
> then Cyrus rejects the message with an 'unknown mailbox' error.
>
> And all of this ultimately means that I can't use sendmail "aliases" (for
> non-local addresses), which I need in order to redirect such things as
> postmaster, root, etc. to a particular user.
>
> Have I missed something simple here? I've tried following the instructions
> at http://asg.web.cmu.edu/cyrus/download/imapd/install-virtdomains.html but
> that is where I am getting stuck...
>
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Is it a problem to use virtuserdomainfile and virtusertable?
This stuff can be enabled by using:
--snip--
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtuserdomainfile')dnl
FEATURE(`virtusertable',`hash /etc/mail/virtusertable.db')dnl
--snip--
In the sendmail.mc file.
Regards
/Per-Olov
--
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE
More information about the Info-cyrus
mailing list