Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cyrus-imap and dots in accountnames
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Tue Aug 24, 2004 10:11 am    Post subject: cyrus-imap and dots in accountnames Reply with quote

I'm currently migrating our old email system (communigate) to a postfix/cyrus/web-cyradm/mysql/squirrelmail combo and encountered a problem. I must admit I'm still quite new to cyrus, so if the following is stupid ...
Our old mail adresses (which we want to keep for obvious reasons) always were a combination of first letter of first name, a dot and the all of the last name, like j.doe@mycompany.com. Now cyrus refuses to create mailboxes, that include dots, when I try it with cyradm I get
Code:
cm user.j.doe
createmailbox: Permission denied

Is there a way for dot-names with cyrus, or do I have to tell my boss we have to change email? 8O
Jesore
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Tue Aug 24, 2004 12:18 pm    Post subject: Reply with quote

The migration just turned kind of urgent. On the old server the following showed up in my logs:
Code:
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=58893578, sector=272392
end_request: I/O error, dev 03:02 (hda), sector 272392

I better hurry - I'm only glad that the new server has a decent raid system.

Jesore
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Tue Aug 24, 2004 2:13 pm    Post subject: Reply with quote

Yep check out the

unixhierarchysep: no option in imapd.conf

But it might cause your admin scripts some problems since you will need to use some escaping.
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Wed Aug 25, 2004 7:52 am    Post subject: Reply with quote

Hmmmm - the option sounds good, but I still can't
Code:
cm user.test.test

or
Code:
cm user.test\.test

as you suggested escaping. I might be doing sth wrong here. I guess I'll switch to usernames without dots in it. As long as the email adresses have the old format, the'll survive the change (at least my boss said so). If I had time to experiment then maybe, but kern log entries like the one mentioned above start to sum up.

Thanks for the tip, I'll do some more researching when I have more time.

Jesore
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Wed Aug 25, 2004 9:30 am    Post subject: Reply with quote

Oops - I got your posting wrong, "unixhierarchysep" must be set to yes :oops:
Now it works, web-cyradm can be configured to use it and squirrelmail was no problem at all. Even the already created accounts work - I had to delete only those that are real accounts with logins to change the names.

Great tip, thanks!

Jesore
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Fri Aug 27, 2004 8:23 am    Post subject: Reply with quote

May I ask for help on this topic one more time?
Cyrus & squirrel work perfectly now, but I can't seem to be able to get a mail client to work. Thunderbird fe. gives me errors about the mailbox no existing. What do I have to put into the config (guess that should work for any client) so it recognizes the new "user/myuser" insted of the old "user.myuser"?

Jesore
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Fri Aug 27, 2004 11:40 am    Post subject: Reply with quote

Sorry, I haven't worked with thunderbird so I can't help you.
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Fri Aug 27, 2004 4:03 pm    Post subject: Reply with quote

I have tried several mail clients - a solution for any of them would help me (I suspect a pattern there :) ).

Jesore
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Fri Aug 27, 2004 9:04 pm    Post subject: Reply with quote

Which clients have you tried?

Try to create a new account and try with account. What error messages are you getting?
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Mon Aug 30, 2004 8:09 am    Post subject: Reply with quote

Just give me a client you know well, I'll install it and report to you.
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Mon Aug 30, 2004 11:44 am    Post subject: Reply with quote

I am familiar with KMail and outlook. However, both have not given me problems. Start cyrus with -D on master so you can get some debug statements.

Have you created new accounts and tried with those accounts?
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Wed Sep 01, 2004 9:48 am    Post subject: Reply with quote

Yes, I've created new accounts, -D gives me nothing, the logs also show nothing unusual. Maybe you see sth wrong in here.

cyrus-imapd-2.2.8:

Code:
configdirectory:        /var/imap
partition-default:      /var/spool/imap
sievedir:               /var/imap/sieve

tls_ca_path:            /etc/ssl/certs
tls_cert_file:          /etc/ssl/cyrus/server.crt
tls_key_file:           /etc/ssl/cyrus/server.key
tls_cipher_list:        HIGH:MEDIUM

hashimapspool:          yes

postmaster: xxxxxxxxxxxx
admins: xxxxxxx
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: mail.mydomain.de
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
sasl_pwcheck_method: saslauthd
sendmail: /usr/sbin/sendmail
virtdomains: yes
defaultdomain: mydomain.de
unixhierarchysep: yes
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Wed Sep 01, 2004 10:19 am    Post subject: Reply with quote

Sounds like you are going to need to log your imap traffic. :| You also might want to check out the cyrus-list archives. They are searchable and the people are friendly.

Did you change your syslog to make sure and log cyrus at debug level?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum