Re: can't create directories from squirrelmail

2004-02-26 Thread Jon Nelson
Run conf.pl and choose "D" and then "cyrus" and you should be all set.

Jon

Sundaram Ramasamy said:
> Hi,
>
> I  was not able to create the folder from squirrel web mail. I am gettting
> following error message. From OutLook I was able create new folder.
>
>
> Any tips for fix this problem.
>
>
> ERROR : Could not complete request.
> Query: CREATE "INBOX/test"
> Reason Given: Invalid mailbox name
>
> SquirrelMail settings
>
> SquirrelMail Configuration : Read: config.php (1.4.0)
> -
> Folder Defaults
> 1.  Default Folder Prefix :
> 2.  Show Folder Prefix Option : true
> 3.  Trash Folder  : trash
> 4.  Sent Folder   : Sent
> 5.  Drafts Folder : Drafts
> 6.  By default, move to trash : true
> 7.  By default, move to sent  : true
> 8.  By default, save as draft : true
> 9.  List Special Folders First: true
> 10. Show Special Folders Color: true
> 11. Auto Expunge  : true
> 12. Default Sub. of INBOX : true
> 13. Show 'Contain Sub.' Option: true
> 14. Default Unseen Notify : 2
> 15. Default Unseen Type   : 1
> 16. Auto Create Special Folders   : false
> 17. Folder Delete Bypasses Trash  : false
> 18. Enable /NoSelect folder fix   : true
>
> R   Return to Main Menu
> C.  Turn color on
> S   Save data
> Q   Quit
>
> Command >>
>
>
>
> - Original Message -
> From: "Craig Ringer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 25, 2004 9:37 PM
> Subject: Re: can't create directories
>
>
>> On Thu, 2004-02-26 at 09:38, Florin Andrei wrote:
>> > I try to create some mail folders in Cyrus, but i can't get the job
>> > done.
>>
>> All of what you described is normal - under Cyrus IMAPd, all user
>> folders are subdirectories of the INBOX, both in the mail store and
>> logically to the mail client.
>>
>> I don't know if it's possible to change this - do you need to? Most IMAP
>> clients work fine with this, and all our users have no trouble with the
>> idea.
>>
>> Craig Ringer
>>
>> ---
>> Home Page: http://asg.web.cmu.edu/cyrus
>> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>
>
>
> ---
> Home Page: http://asg.web.cmu.edu/cyrus
> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


-- 
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
[EMAIL PROTECTED]
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyradm - perl problem?

2003-12-17 Thread Jon Nelson
Alasdair Hatfield said:
 with the following:
>
> fortytwo:/usr/local/cyrus-imapd/bin # ./cyradm
> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1

cd /tmp/cyrus-imapd-#.#.#/perl/imap/
perl Makefile.PL
make
make install



-- 
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
[EMAIL PROTECTED]



sasl and SMP

2003-12-11 Thread Jon Nelson
I am running:

Debian:sarge
Kernel:2.4.22-1-686-smp (had been 2.4.22-1-386)
Cyrus/sasl:2.1.15

I recently installed a new kernel via:

apt-get install kernel-image-2.4.22-1-686-smp

Everything seemed to go well until I tried to log into cyrus.  I got the
following error:

badlogin: localhost[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found:
no secret in database]

The date on /etc/sasldb2 had not changed.  Changing passwords for my users
fixed the problem.

Anyone know what caused this?

-- 
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
[EMAIL PROTECTED]


Re: cyrus squirrelmail cant create folders permission denied

2003-10-02 Thread Jon Nelson
Run conf.pl and go to 2->A->9, which should be "Delimiter".  Make sure
this is set to "." without the quotes.

Also when you are setting up/upgrading squirrelmail use:

D.  Set pre-defined settings for specific IMAP servers

and choose "cyrus".  It will save you a lot of headaches.

Jon

joe ritter said:
>
> Hello,
> We have a new cyus install running that our users
> access through squirrelmail. User can login and check
> mail OK. However if they attempt to create a new
> folder they reiceve the error message:
>
>  "permission denied"
>
> Cyrus pretty much owns everything, all dbs,
> directories etc. When I tail the  /var/log/imap.log
> file I see this at the instance that the folder
> creation fails however this doesnt seem to be much
> help:
>
>
> Oct  2 13:40:47 mailserv imapd[8534]: myfetch:
> starting txn 2147493403
> Oct  2 13:40:47 mailserve imapd[8534]: abort_txn:
> aborting txn 2147493403
>
> Does anybody have any ideas on why folder
> creation/deletion  is failing? I would appreciate any
> feedback.
>
> Thank you
>
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
>


-- 
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
[EMAIL PROTECTED]


Re: RH 9.0 ssl compiler error

2003-06-06 Thread Jon Nelson

Richard Houston said:
> Hi all,
>
> I am trying to compile Cyrus 2.1.13 on RH 9.0 but it keeps crapping out

I had the same problem recently.  Let me know if "--without-krb" works,
but I don't think it does.  A friend of mine wrote this perl script to fix
it:

#!/usr/bin/perl -w
# FIXIT: for use in cyrus-imapd until they catch up to Redhat's recent
#location for kerberos include files

use strict;

# these are the subdirectories with Makefiles which need modification
my @dirs = qw( acap lib imap imtest perl/sieve/lib timsieved );

foreach (@dirs) {
  my $file = "$_/Makefile";

  open F, "$file"; # read all lines from the Makefile
  my @lines = ;
  close F;

  open F, ">$file";# rewrite the Makefile
  foreach (@lines) {
chomp;# strip off newline
 # append "-I/usr/kerberos/include" to the CPPFLAGS line
 #   if it's not already there
$_ .= " -I/usr/kerberos/include" if /^CPPFLAGS/ && ! /kerberos/;

print F "$_\n";# write the line to the file
  }
  close F;
}


-- 
Trooper Jon S. Nelson, Linux Certified Admin.
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
[EMAIL PROTECTED]


Bayesspam Filter

2003-03-26 Thread Jon Nelson
I have been trying to get the BayesSpam filter to work under Squirrelmail
and Cyrus.  The filter recognizes spam for what it is, but doesn't send it
to the proper mailbox.  I have been emailing the author and he has been
helpful, but he believes the solution is with Cyrus.  Below are two
excerpts from one of his responses:

---8<--8<--

The only common factor I can find with people that have the problem is
that none of them (that I know of) are using Courier IMAP, so the problem
could be related to that somehow.

---8<--8<--

Other than that, if you happen to know of a document somewhere that
outlines exactly how your IMAP server impliments the RFCs, I could use
that to possibly figure out where the problem is.

---8<--8<--

I did find http://asg.web.cmu.edu/cyrus/1994-techoverview.html, but it
seemed to be too brief since he said "exactly how your IMAP server
impliments the RFCs".  Is/Are there any other document(s) out there?

TIA,

Jon
-- 
Trooper Jon S. Nelson, Linux Certified Admin.
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Page: 866.284.1603
[EMAIL PROTECTED]