<html><head><title>Re: Cyrus Imap final setup problems</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
</head>
<body>
<span style=" font-family:'Verdana'; font-size: 10pt;">Thanks Dan,<br>
<br>
You hit the nail on the head with the virtual domains. I had someone come<br>
in to set this up for me and when I found out they knew as little as I did I<br>
took it over. There was a lot to do and moving over to vitual domains I was<br>
originally going to do immediatly but later decided to make it a second step.<br>
However, I didn't realise that I had left virtualdomains set to true.<br>
<br>
So, I removed all the data files (since there was no live data yet), turned <br>
off virtualdomains (and autocreatequota since it's not needed) and then <br>
reran mkimap. With all the data and structures recreated from scratch all <br>
the problem seem to have gone away. Now I'll setup the Virtual domains <br>
as you suggested and I'll bet it will all be fine.<br>
<br>
Thanks again!<br>
<br>
-Reg<br>
<br>
Wednesday, July 8, 2009, 10:18:28 AM, you wrote:<br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> Nybbles2Byte wrote:<br>
<span style=" color: #800080;">>> However, it stopped receiving messages after two tests and looking at <br>
>> the logs it said it was at it's quota limit so I went back to cyradm <br>
>> to set the quota (I didn't bother the first time so it was at zero) <br>
>> and I got a "quota permission denied" error. This was from the same <br>
>> admin, I created the user with and it showed that the admin had all <br>
>> rights.<br>
</span></b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> I then used the admin to create another user and immediately tried to <br>
>> set the quota of that new user and got the same permission denied <br>
>> error. I could however remove the user that I could no set the quota for. <br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> Below, you've specified 'altnamespace: 1'. When connecting via an admin<br>
> user, altnamespace is ignored, which may complicate what you're <br>
> expecting to see.<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> Also, you've specified 'autocreatequota: 5', which limits the user to <br>
> 5KBs of space.<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> What do your cyradm createmailbox and setquota commands look like?<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> You have 'virtdomains: on'. Personally, I prefer configuring <br>
> 'virtdomains: userid'. 'doc/install-virtdomains.html' within the source<br>
> documents the difference. It might matter when connecting as an admin <br>
> user (without specifying a domain name).<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> That is my first problem but I have two other as follow:<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> Sieve is not working when I try to telnet to it and I get this error:<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> neutrino:~ # telnet mydomain.com sieve<br>
>> Trying nnn.nn.nn.nn...<br>
>> telnet: connect to address nnn.nn.nn.nn: Connection refused<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> Your sieve entry in cyrus.conf looks correct. Verify that the service is<br>
> running with 'fuser 2000/tcp' or 'netstat -an | grep LISTEN | grep <br>
> 2000'. If not, there should be something in syslog about why it couldn't<br>
> start. Locate where your cyrus binaries are installed (/usr/sbin ?) and<br>
> verify there's a timesieved binary located there.<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> Also, stop cyrus, and make sure something else isn't already listening<br>
> on port 2000, like inetd or xinetd.<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> If it is starting, but crashing somewhere, you can use the debug_command<br>
> (in imapd.conf) to trouble shoot. See:<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="https://langhorst.com/cgi-bin/dwww//usr/share/doc/cyrus21-common/README.Debian.debug.gz">> https://langhorst.com/cgi-bin/dwww//usr/share/doc/cyrus21-common/README.Debian.debug.gz</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> for some usage scenarios.<br>
<span style=" color: #800080;">>> The last thing is I am getting a "badlogin" error in my cyrus log as <br>
>> you can see below:<br>
</span></b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> Jul 8 08:12:00 neutrino SeoWS/imap[20686]: badlogin: localhost <br>
>> [127.0.0.1] CRAM-MD5 [SASL(-13): user not found: no secret in database]<br>
>> Jul 8 08:12:00 neutrino SeoWS/imap[20694]: sql auxprop plugin using <br>
>> mysql engine<br>
>> Jul 8 08:12:03 neutrino SeoWS/imap[20686]: sql plugin Parse the <br>
>> username reg<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> I don't know what that could be.<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> - Dan<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> # UNIX sockets start with a slash and are put into /var/lib/imap/socket<br>
>> SERVICES {<br>
>> # DEFAULT DOMAIN<br>
>> imap cmd="imapd" listen="imap" <br>
>> prefork=0<br>
>> # imaps cmd="imapd -s" listen="imaps" <br>
>> prefork=0<br>
>> # pop3 cmd="pop3d" listen="pop3" prefork=0<br>
>> # pop3s cmd="pop3d -s" listen="pop3s" <br>
>> prefork=0<br>
>> sieve cmd="timsieved" listen="sieve" <br>
>> prefork=0<br>
>> lmtpunix cmd="lmtpd" <br>
>> listen="/var/lib/imap/socket/lmtp" prefork=0<br>
>> notify cmd="notifyd" <br>
>> listen="/var/lib/imap/socket/notify" proto="udp" prefork=0<br>
>> }<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<span style=" font-family:'courier new'; font-size: 9pt; color: #800080;"><b>>> *IMAPD.CONF<br>
>> *altnamespace: 1<br>
>> autocreatequota: 5<br>
>> unixhierarchysep: 1<br>
>> virtdomains: on<br>
</b><span style=" font-family:'Verdana'; font-size: 10pt; color: #000000;"><br>
<br>
<br>
<br>
<br>
<span style=" font-family:'arial'; font-size: 8pt; color: #c0c0c0;"><i>-- <br>
Nybbles2Byte <a style=" font-style: normal;" href="mailto:nybbles2byte@gmail.com">mailto:nybbles2byte@gmail.com</a></body>