Announcement

Collapse
No announcement yet.

How to configure postfix and cyrus for virt domain

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to configure postfix and cyrus for virt domain

    Hi,

    i still try to install a Mailserver for Open-Xchange using postfix and cyrus.

    this Server will get mails for several domains so cyrus is configured to use virtdomains,

    a user is created by

    cyradm -user cyrus localhost
    ->cm user/user.name@domain1.de

    so the filetree looks like

    /var/spool/cyrus/mail/domain/d/domain1.de/u/user/user^name@doamin1.de

    or for user test@example.de

    /var/spool/cyrus/mail/domain/e/example.de/t/user/test@example.de

    my problem is now postfix to say where it has to deliver the mail for user user.name@domain1.de or test@example.de

    i think this is done by

    virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps

    but how must the return look for?

    for more infos please post and i will deliver

    thx

    outlow

  • #2
    next Problem Sieve!

    hi

    i don´t no why but actualy mails are delivered to the right mailbox

    but now i have the next problem

    sieve creates only directories till domain name like:

    /var/spool/sieve/domain/d/domain1.de/global

    what i have to do that the user directory is also create by sieve like

    /var/spool/sieve/domain/d/domain1.de/t/test.user

    thx

    outlow

    Comment


    • #3
      hi

      changing the line in cyrus.conf from

      sieve cmd="/usr/lib/cyrus/bin/timsieved" listen="sieve" prefork=0 maxchild=100

      to

      sieve cmd="/usr/lib/cyrus/bin/timsieved" listen="%IPAdress%:sieve" prefork=0 maxchild=100

      fixed the problem for the user only still the first ox Account (Admin) use still the global folder and create none user folder but i don´t know why

      Comment

      Working...
      X