Virtual Domains

FORMER 03 | Baltasar Cevc baltasar.cevc at former03.de
Fri Aug 3 10:04:13 EDT 2007


Hi Jarod,

does the stripping ocurr whichever the setting of virtdomains is?
Setting it to userid is quite common. Is your domain.tld the
defaultdomain? In that case, cyrus substitutes it by the hostname, if I
remember the behaviour right. 

You could post imapd.conf. Using lmtp, Postfix should not be to be
blamed, I think.
One setting that makes trouble sometimes is unixhierarchysep, it should
be set to 1 (on) when using virtualdomains (at least when you're using
a dot somewhere in any of the usernames.
What's your sasl_sql_select statement. It should probably be something
like the following config:
   sasl_sql_hostnames: <sql_host(s)> 
   sasl_sql_user: <sql_user>
   sasl_sql_passwd: <pass>
   sasl_sql_database:<db>
   sasl_sql_select: SELECT `password` FROM `view_users` WHERE
`email`="%u@%r";

An option could be to test delivery with the lmtptest command which
allows you to manually talk to cyrus lmtpd.

Baltasar





More information about the Info-cyrus mailing list