Changes between Version 4 and Version 5 of Mail Server


Ignore:
Timestamp:
03/07/06 18:36:30 (21 years ago)
Author:
Daniel Kahn gillmor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Mail Server

    v4 v5  
    1515We'll also have `test.astro.columbia.edu` set up to match, to make it simpler to test things.
    1616
     17postfix now pulls the address maps directly from CAL's LDAP, though it took a bit of tweaking to do this.  as it turns out, the postfix library which binds to LDAP binds to the OpenLDAP libraries, and those libraries are configured to pull their entropy sources from `/dev/random` on the default packages in sarge.  Of course, this doesn't work properly if the daemon using these libraries is running within a chroot which doesn't have `/dev/random`.  the `ldap_table` man page implies that setting the `tls_random_file` option will direct the libraries to use an alternate entropy source.  However, this option doesn't work because the openLDAP libraries are configured to expect `/dev/random` anyway (probably when the URANDOM_DEVICE variable gets set in the configure stage of compilation).
     18
     19i resolved this problem by creating a new kernel device node within the postfix chroot:
     20
     21{{{
     22# mknod -m 444 /dev/random c 1 9
     23}}}
     24
     25(note that this is in fact a pseudo-random device (1,9) instead of a true random device (1,8).  i made this decision because i didn't want a depleted entropy pool to shutdown postfix's `smtpd` lookups.)
     26
    1727== cyrus configuration ==
    1828
    … …  
    2434
    2535 * cyrus should only allow TLS-based IMAP connections.  should we bother with IMAPS?
    26  * postfix needs to pull mailbox mappings from ldap.
    2736 * postfix needs to allow relaying based on SMTP AUTH (presumably over TLS) -- how would this work if we don't allow krb5 connections from outside the lab?
    2837