cyrus accepts mails for "unknown users"

Mike Brodbelt m.brodbelt at acu.ac.uk
Thu Dec 2 09:18:57 EST 2004


Marcus Schopen wrote:

> Is there another way? There are no sendmail-8.13.x and Cyrus-2.2.x packages 
> for Debian and I don't want to build all that stuff from source.

I'm in the same situation as you. The options are basically:-

a) Upgrade to Cyrus 2.2 and sendmail 8.13 and use the socket map.

b) Use an old sendmail.cf hack where sendmail checks the existence of a
user by actually looking for the physical directory for the Cyrus inbox
on disk. Only works if sendmail and Cyrus are on the same box.

c) Maintain your own static map of valid users, and make it available to
sendmail via virtusertable or something similar.

d) Stick all your email accounts into LDAP, and backend both Cyrus and
sendmail off that.

The first option is a bit painful on Debian, as is basically requires
you to maintain your own sendmail and Cyrus packages separate to
mainstream. I've done this in the past (for Cyrus 2.0, which never had
official debs), and it's enough effort that these days I try to avoid
rolling local debs where possible (though I confess to still using my
own sendmail debs, as I'm not at all fond of the Debian ones). The
second and third options work, but each has fairly ugly points. I'm
moving towards using LDAP for everything, but haven't had time to sort
it all out yet.

Mike.
---
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




More information about the Info-cyrus mailing list