Virtual Domains

Jarod Watkins jarod at jxxtech.net
Fri Aug 3 03:06:51 EDT 2007


I have been searching google for the past 2 days trying to figure out 
how to finish setting up my Cyrus email system. I am almost there, 
however I cannot deliver emails from postfix to the virtual users in 
cyrus. After looking through the logs, its as if postfix isn't supplying 
the whole email address to Cyrus, or Cyrus is just stripping out it. Can 
anyone tell me what I have configured wrong?

Mail.info log:
Aug  3 02:52:40 debian cyrus/lmtpunix[13477]: lmtp connection preauth'd 
as postman
Aug  3 02:52:40 debian cyrus/lmtpunix[13477]: verify_user(user.test) 
failed: Mailbox does not exist
The true user here was test at domain.tld.

Main.cf:
virtual_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

Cyrus.conf
lmtpunix        cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" 
prefork=0 maxchild=20

I also tried using the cyrus delivery method in Master.cf, however i 
just got connection refused errors in my Mail.info log.

Mail.info log:
Aug  2 11:33:18 debian postfix/pipe[12205]: A76BC1807AC9D: 
to=<test at domain.tld>, relay=cyrus, delay=1646, delays=1646/0.05/0/0.01, 
dsn=4.3.0, status=deferred (temporary failure. Command output: couldn't 
connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't 
connect to lmtpd_ )


My config files for that were:

Main.cf:
virtual_transport = cyrus

Master.cf:
cyrus     unix  -       n       n       -       -       pipe
 flags=R user=cyrus argv=/usr/sbin/cyrdeliver -r ${sender} -m 
${extension} ${user}
note: I have tried this one various ways as well, as I have seen posts 
with the R flag there and some with out it, and also with the different 
options after the directory.

For both files I even added them to a new group I created call "lmtp" 
and then added the postfix user to this group, that didn't work either. 
Thanks for any help someone can provide!


More information about the Info-cyrus mailing list