On 30/05/2013 1:23 PM, Viktor Dukhovni wrote:
On Thu, May 30, 2013 at 01:03:04PM +1000, Carl Brewer wrote:
Firstly, the doco I've read suggests that every mailbox needs an
entry in the virtual_mailbox_maps file, with my current sendmail
setup sendmail checks against Cyrus for if a mailbox exists and has
no (or at least not very many, and they're aliases etc) direct lists
of email addresses.
The Cyrus check you perform with Sendmail is also a table lookup,
the table happens to be maintained by Cyrus. Can you make this
data available via one of the table types supported by Postfix?
- cdb
- Berkeley DB
- LDAP
- PgSQL
- MySQL
- tcp
- ...
Without knowing the inner workings of cyrus, I don't know.
Anyone here who's a cyrus guru?
Does Postfix require a list of all email
addresses or can it pull this from cyrus in realtime like Sendmail
does (means I can admin it mostly just using cyradm). The realtime
sendmail integration is from here :
http://www.jmaimon.com/sendmail/anfi.homeunix.net/sendmail/rtcyrus2.html
Perhaps someone would like to contribute a table driver for the Cyrus
socketmap interface, or you could query it via a "tcp" table.
If I'm using unix domain separators (/) for cyrus's virtual domains,
how do I tell Postfix about this? My Cyrus usernames are
user/f...@bar.com
The above does not make sense (the "unix domain" part is a non
sequitur). What is the public email address of a typical valid
user? What is the mailbox SMTP address when this is internally
forwarded to Cyrus? Do you really include "/" in the local part
of user email addresses?
No, but when using cyrus, you can use a . or a / as the UNIX heirarchy
separator in the imapd.conf file as follows :
unixhierarchysep: yes
which is a /, the default is a .
so when I use cyradm to create a user :
cyradm> cm user/f...@bar.com
that then maps neatly into the filesystem.
Is there anyone out there with a working cyrus, virtual domains and
postfix setup (there must be 100's!) who's got a solid howto
somewhere? The one on the postfix website is blank :
http://www.postfix.org/CYRUS_README.html
At previous employer Cyrus was used with users defined in LDAP.
I want to avoid multiple places where user data is stored, at present
it's in cyrus and using sasldb for passwords, I'd like to keep that if I
can. LDAP is just another thing I'd have to learn and maintain.
thank you
Carl