Deliver messages to the accounts of virtualdomains.
Simon Matter
simon.matter at ch.sauter-bc.com
Wed Jun 9 00:44:43 EDT 2004
> Hi, all.
>
> I want to add the virtual domain supported to my Cyrus-IMAP server.
> And i have followed the docs with the Distribution
> http://asg.web.cmu.edu/cyrus/download/imapd/install-virtdomains.html
> First i changed my imapd.conf to:
Which version of cyrus are you using?
>
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> sievedir: /var/imap/sieve
> tls_cert_file: /etc/cyrusimapd/server.crt
> tls_key_file: /etc/cyrusimapd/server.key
> admins: cyrus
> virtdomains: userid
> hashimapspool: yes
> allowanonymouslogin: no
> allowplaintext: yes
> unixhierarchysep: yes
> defaultdomain: hackerdom.org
> sasl_pwcheck_method: saslauthd
> mech_list: plain login
> sendmail: /usr/sbin/sendmail
> autocreateinboxfolders: Sent|Drafts|Templates|Trash
>
> And my saslauthd.conf to:
>
> ldap_servers: ldap://localhost/
> ldap_bind_dn: cn=Manager, dc=hackerdom, dc=org
> ldap_bind_pw: Secret:)
> ldap_search_base: ou=Realss, dc=hackerdom, dc=org
> ldap_version: 3
>
> Then i have added a account named user at domain.com in the LDAP directory.
>
> I try two motheds to login with it.
> First: I used the command "cyradm"
> cyradm --user user at domain.com --auth login --server localhost
> After type the correct password, I could login well.
> Second: I used Mozilla-thunderbird as the MUA.
> I filled the IMAP server as "localhost".
> After type the correct password, I could login well too.
>
> Then i try to send a message for a test.
> But i found that it could not be received at all.
>
> I have checked the /var/log/mail.info, and found the follow log:
>
> Jun 9 08:15:03 hartt postfix/trivial-rewrite[5476]: warning:
> dict_ldap_lookup: Fixed query_filter (associatedDomain=*) is probably
> useless
> Jun 9 08:15:04 hartt postfix/pipe[5614]: 9C42424384:
> to=<wangpenghui at bitco.realss.com>, relay=cyrus, delay=3, status=bounced
> (data format error. Command output: wangpenghui: Mailbox does not exist )
> Jun 9 08:15:04 hartt postfix/cleanup[5475]: 84BDD24389:
> message-id=<20040609001504.84BDD24389 at mail.hackerdom.org>
> Jun 9 08:15:04 hartt postfix/qmgr[28434]: 84BDD24389: from=<>,
> size=2503, nrcpt=1 (queue active)
> Jun 9 08:15:04 hartt postfix/pipe[5614]: 84BDD24389:
> to=<wangpenghui at bitco.realss.com>, relay=cyrus, delay=0, status=bounced
> (data format error. Command output: wangpenghui: Mailbox does not exist )
>
> I found that the "user at domain.com" has been changed to "user".
> I don't know why does it change.
> Could someone point out where i have set wrong parameter or other reasons?
You didn't show us any of your postfix parameters. Which version are you
using? Looks like you are using cyrus deliver instead of LMTP.
>
> I have another question.
> I have set
> autocreateinboxfolders: Sent|Drafts|Templates|Trash
> in /etc/imapd.conf
> But why does it take no effect?
I'm not sure but I think you have to enable createonpost for
autocreateinboxfolders to work. Check the README from the creators of the
patch.
Simon
>
> Thanks in advance!
>
> Penghui Wang
>
>
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list