Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Nikola Milutinovic
This is all I get when I try to connect to my Cyrus POP3..

It all appeared after I had a mailbox.db error, which I apparently got cuered by 
running ctl_cyrusdb (I think), but now it keeps rejecting the passwords for every 
account on the system...

What've gone wrong, and how do I solve the problem??

---

Things you can do:

1. check if all files being accessed are allowing user "cyrus" appropriate access.

This means all config, mailbox and authentication files (SASL). It might be tough to 
nail them all down.

2. investigate your logs, see if they are setup at all.

My Cyrus is compiled to use syslog facility "local6" and my syslogd sends that to 
/var/adm/syslog.dated//imap.log (this is Tru64 UNIX). You should track down your 
setup.

3. trace system calls of Cyrus to see where it's failing.

This is the most comprehensive method, using "trace" (Tru64), "truss" (Solaris) or 
"strace" (Linux) to get all the system calls of the process. This tends to print out 
HUGE amount of data, so I'd run it in a "VERY test" environment - just one client, one 
attempt. But it will pinpoint the problem (God knows it saved my neck a couple of 
times).

Nix.



RE: Using email address as login name

2003-10-16 Thread Paul Kreiner
Avtar Gill wrote:
>Gerard Ceraso wrote:
>> I have seen some places where the login name for the email would be
>> [EMAIL PROTECTED] so for example if I wanted to login my login for this
>> account would be [EMAIL PROTECTED] How is this done with cyrus, I
>> tried and it didn't work. Am I missing something? Is it possible with
>> cyrus?
>
>It's possible with version 2.2, you can log in using the default domain 
>that Cyrus is configured for ([EMAIL PROTECTED]) or any virtual 
>domain ([EMAIL PROTECTED]).

If you want your username to contain an '@' sign, you need to patch SASL to 
make this work, otherwise you'll get '(-13) NO User does not exist' errors or 
something (forget the message off the top of my head).  This is because SASL 
internally uses the '@' character to delimit the SASL realm from the 
username, which messes up your authentication scheme.

I've got this exact setup running at three sites in 2.1 and 2.2, with logins 
of the form '[EMAIL PROTECTED]', '[EMAIL PROTECTED]', etc.  It's a 
little bit of a hack, but it works for me.  I definitely recommend using 2.2 
-- it makes some of the other virtual domain stuff quite a bit easier/better.



Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab
I am the Cyrus user, and it doesn't display anything...

Isn't there ANY way to reconstruct this file??

Best regards,
Morten Trab, Denmark

- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Morten Trab" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:49 PM
Subject: Re: -ERR [SYS/PERM] unable to open maildrop


> Morten Trab wrote:
>
> > I get NO output whatsoever when executing ctl_mbox -d
>
> Make sure you become the cyrus user before executing this.  If
> ctl_mboxlist -d doesn't list anything, you have big problems (your
> mailboxes.db is most likely shot).
>
>
> >
> > Best regards,
> >Morten Trab, Denmark
> >
> > - Original Message -
> > From: "Ken Murchison" <[EMAIL PROTECTED]>
> > To: "Morten Trab" <[EMAIL PROTECTED]>
> > Sent: Thursday, October 16, 2003 10:08 PM
> > Subject: Re: -ERR [SYS/PERM] unable to open maildrop
> >
> >
> >
> >>Morten Trab wrote:
> >>
> >>>The mailboxes.db looks pretty binary, but it exists on the fs...
> >>
> >>Do a ctl_mboxlist -d and see if user.morten^trab^.dk exists.
> >>
> >>
> >>>I've tried with the reconstruct -r user/morten.trab.dk
> >>>No luck (got lots of users, so that solution would take PLENTY time)
> >>
> >>I assume you're using Cyrus v2.1 with unixhierarchysep enabled?
> >>
> >>
> >>>I don't got either one of the logs you refer to...
> >>>/var/log/messages doesn't say any error, the error is from my mail
> >
> > client...
> >
> >>Don't you have local6 (Cyrus) and auth (SASL) entries in syslog.conf?
> >>If so, you should add them, since there are valuable for debugging.
> >>
> >>
> >>>Btw. just found out that my Cyrus is 5+ minutes when starting...That
> >
> > isn't
> >
> >>>normal, is it??
> >>
> >>Only if you have a large databases and aren't checkpointing frequently.
> >>
> >>
> >>>Best regards,
> >>>  Morten Trab, Denmark
> >>>
> >>>- Original Message -
> >>>From: "Ken Murchison" <[EMAIL PROTECTED]>
> >>>To: "Morten Trab" <[EMAIL PROTECTED]>
> >>>Cc: <[EMAIL PROTECTED]>
> >>>Sent: Thursday, October 16, 2003 10:00 PM
> >>>Subject: Re: -ERR [SYS/PERM] unable to open maildrop
> >>>
> >>>
> >>>
> >>>
> Morten Trab wrote:
> 
> 
> 
> >This is all I get when I try to connect to my Cyrus POP3..
> >
> >It all appeared after I had a mailbox.db error, which I apparently
got
> >cuered by running ctl_cyrusdb (I think), but now it keeps rejecting
the
> >passwords for every account on the system...
> >
> >What've gone wrong, and how do I solve the problem??
> 
> What errors are you seeing in imapd.log and/or auth.log?
> 
> Does the mailbox exist in both mailboxes.db and the filesystem?
> 
> Have you tried reconstructing the mailbox?
> 
> 
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
> 
> >>>
> >>>
> >>>
> >>>
> >>
> >>--
> >>Kenneth Murchison Oceana Matrix Ltd.
> >>Software Engineer 21 Princeton Place
> >>716-662-8973 x26  Orchard Park, NY 14127
> >>--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
> >>
> >
> >
> >
> >
>
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
>




postalias cant load

2003-10-16 Thread Arturo Mardones
Hi!

Wen i try Start postfix this throw me this error:

/usr/sbin/postalias: error while loading shared libraries: libsasl.so.7:
cannot open shared object file: No such file or directory

I install postfix from rpm and howto say :
After installing the Postfix-RPM, just over-install Postfix by further
following the HOWTO

How I do this??? Where found the makes files??

Thanks in advance,

Arturo



-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de RJ45
Enviado el: jueves, 16 de octubre de 2003 5:05
Para: [EMAIL PROTECTED]
Asunto: script for creating folders into users mailboxes



Hello,
I would like to create automatically a folder SPAM in every
user mailbox.
Is it possible to do that with a cyradm script ?
Anyone did that already ?
Anyone could point me to an already avaliable sript if such a thing does
exist ?
thank you

Rick





Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Ken Murchison
Morten Trab wrote:

I get NO output whatsoever when executing ctl_mbox -d
Make sure you become the cyrus user before executing this.  If 
ctl_mboxlist -d doesn't list anything, you have big problems (your 
mailboxes.db is most likely shot).


Best regards,
   Morten Trab, Denmark
- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Morten Trab" <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:08 PM
Subject: Re: -ERR [SYS/PERM] unable to open maildrop


Morten Trab wrote:

The mailboxes.db looks pretty binary, but it exists on the fs...
Do a ctl_mboxlist -d and see if user.morten^trab^.dk exists.


I've tried with the reconstruct -r user/morten.trab.dk
No luck (got lots of users, so that solution would take PLENTY time)
I assume you're using Cyrus v2.1 with unixhierarchysep enabled?


I don't got either one of the logs you refer to...
/var/log/messages doesn't say any error, the error is from my mail
client...

Don't you have local6 (Cyrus) and auth (SASL) entries in syslog.conf?
If so, you should add them, since there are valuable for debugging.

Btw. just found out that my Cyrus is 5+ minutes when starting...That
isn't

normal, is it??
Only if you have a large databases and aren't checkpointing frequently.


Best regards,
 Morten Trab, Denmark
- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Morten Trab" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:00 PM
Subject: Re: -ERR [SYS/PERM] unable to open maildrop



Morten Trab wrote:



This is all I get when I try to connect to my Cyrus POP3..

It all appeared after I had a mailbox.db error, which I apparently got
cuered by running ctl_cyrusdb (I think), but now it keeps rejecting the
passwords for every account on the system...
What've gone wrong, and how do I solve the problem??
What errors are you seeing in imapd.log and/or auth.log?

Does the mailbox exist in both mailboxes.db and the filesystem?

Have you tried reconstructing the mailbox?

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp




--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp






--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab
Still takes 5+ minutes, even if I run the checkpoint manually...

Best regards,
   Morten Trab, Denmark

- Original Message -
From: "Rob Siemborski" <[EMAIL PROTECTED]>
To: "Morten Trab" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:27 PM
Subject: Re: -ERR [SYS/PERM] unable to open maildrop


> On Thu, 16 Oct 2003, Morten Trab wrote:
>
> > Btw. just found out that my Cyrus is 5+ minutes when starting...That
isn't
> > normal, is it??
>
> That depends, database recovery can take a significant amount of time,
> especially with large duplicate delivery databases or mailbox lists.
>
> There are hints in the FAQ as to how to improve this:
>
> http://asg1.web.cmu.edu/twiki/bin/view/Cyrus/WhyBerkeleyRecoverySoLong
>
> -Rob
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>




Re: deleting corrupt mail file..

2003-10-16 Thread Roland Pope
"Danny García Hernández" <[EMAIL PROTECTED]> said:
>I have a problem with a corrupt message file, the user have a file .
>into his spool directory, when he try to download this message the mail
>client is getting him error about corrupt message. How i can delete this
>message from the user´s spool directory?
If you are running Outlook Express as a mail client, it sometimes gets it's
local cache confused and thinks there is problems with a server message. To
sort this out got to Tools->Options->Maintenance and click on the 'cleanup
now' button. You should then be able to browse to the mailbox that is having
the problem and slelect 'reset' to chuck away the cached copies of all
messages in that mailbox and go back to the server and get them again.

Hope this helps.

Roland



Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Rob Siemborski
On Thu, 16 Oct 2003, Morten Trab wrote:

> Btw. just found out that my Cyrus is 5+ minutes when starting...That isn't
> normal, is it??

That depends, database recovery can take a significant amount of time,
especially with large duplicate delivery databases or mailbox lists.

There are hints in the FAQ as to how to improve this:

http://asg1.web.cmu.edu/twiki/bin/view/Cyrus/WhyBerkeleyRecoverySoLong

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab
I get NO output whatsoever when executing ctl_mbox -d

Best regards,
   Morten Trab, Denmark

- Original Message -
From: "Ken Murchison" <[EMAIL PROTECTED]>
To: "Morten Trab" <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:08 PM
Subject: Re: -ERR [SYS/PERM] unable to open maildrop


> Morten Trab wrote:
> > The mailboxes.db looks pretty binary, but it exists on the fs...
>
> Do a ctl_mboxlist -d and see if user.morten^trab^.dk exists.
>
> > I've tried with the reconstruct -r user/morten.trab.dk
> > No luck (got lots of users, so that solution would take PLENTY time)
>
> I assume you're using Cyrus v2.1 with unixhierarchysep enabled?
>
> > I don't got either one of the logs you refer to...
> > /var/log/messages doesn't say any error, the error is from my mail
client...
>
> Don't you have local6 (Cyrus) and auth (SASL) entries in syslog.conf?
> If so, you should add them, since there are valuable for debugging.
>
> > Btw. just found out that my Cyrus is 5+ minutes when starting...That
isn't
> > normal, is it??
>
> Only if you have a large databases and aren't checkpointing frequently.
>
> >
> > Best regards,
> >   Morten Trab, Denmark
> >
> > - Original Message -
> > From: "Ken Murchison" <[EMAIL PROTECTED]>
> > To: "Morten Trab" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 16, 2003 10:00 PM
> > Subject: Re: -ERR [SYS/PERM] unable to open maildrop
> >
> >
> >
> >>Morten Trab wrote:
> >>
> >>
> >>>This is all I get when I try to connect to my Cyrus POP3..
> >>>
> >>>It all appeared after I had a mailbox.db error, which I apparently got
> >>>cuered by running ctl_cyrusdb (I think), but now it keeps rejecting the
> >>>passwords for every account on the system...
> >>>
> >>>What've gone wrong, and how do I solve the problem??
> >>
> >>What errors are you seeing in imapd.log and/or auth.log?
> >>
> >>Does the mailbox exist in both mailboxes.db and the filesystem?
> >>
> >>Have you tried reconstructing the mailbox?
> >>
> >>
> >>--
> >>Kenneth Murchison Oceana Matrix Ltd.
> >>Software Engineer 21 Princeton Place
> >>716-662-8973 x26  Orchard Park, NY 14127
> >>--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
> >>
> >
> >
> >
> >
>
>
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
>




Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab
The mailboxes.db looks pretty binary, but it exists on the fs...
I've tried with the reconstruct -r user/morten.trab.dk
No luck (got lots of users, so that solution would take PLENTY time)

I don't got either one of the logs you refer to...
/var/log/messages doesn't say any error, the error is from my mail client...

Btw. just found out that my Cyrus is 5+ minutes when starting...That isn't
normal, is it??

Best regards,
   Morten Trab, Denmark

 - Original Message -
> From: "Ken Murchison" <[EMAIL PROTECTED]>
> To: "Morten Trab" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, October 16, 2003 10:00 PM
> Subject: Re: -ERR [SYS/PERM] unable to open maildrop
>
>
> > Morten Trab wrote:
> >
> > > This is all I get when I try to connect to my Cyrus POP3..
> > >
> > > It all appeared after I had a mailbox.db error, which I apparently got
> > > cuered by running ctl_cyrusdb (I think), but now it keeps rejecting
the
> > > passwords for every account on the system...
> > >
> > > What've gone wrong, and how do I solve the problem??
> >
> > What errors are you seeing in imapd.log and/or auth.log?
> >
> > Does the mailbox exist in both mailboxes.db and the filesystem?
> >
> > Have you tried reconstructing the mailbox?
> >
> >
> > --
> > Kenneth Murchison Oceana Matrix Ltd.
> > Software Engineer 21 Princeton Place
> > 716-662-8973 x26  Orchard Park, NY 14127
> > --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
> >
>




Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Ken Murchison
Morten Trab wrote:

This is all I get when I try to connect to my Cyrus POP3..
 
It all appeared after I had a mailbox.db error, which I apparently got 
cuered by running ctl_cyrusdb (I think), but now it keeps rejecting the 
passwords for every account on the system...
 
What've gone wrong, and how do I solve the problem??
What errors are you seeing in imapd.log and/or auth.log?

Does the mailbox exist in both mailboxes.db and the filesystem?

Have you tried reconstructing the mailbox?

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab



This can't be true...Somebody GOT to have a 
solution...
It' can't be true that we are the only ones in the 
whole world to have experienced this...Somebody other got to have a working 
solution, other than reinstalling the whole f***...
 
Best regards,
. Morten Trab, Denmark
 
- Original Message - 

  From: 
  Bartosz Jozwiak 
  
  To: Morten Trab ; [EMAIL PROTECTED] 
  
  Sent: Thursday, October 16, 2003 9:30 
  PM
  Subject: Re: -ERR [SYS/PERM] unable to 
  open maildrop
  
  I have the same problem and no body can help 
  me.
   
  -- Bart
  
- Original Message - 
From: 
Morten Trab 
To: [EMAIL PROTECTED] 

Sent: Thursday, October 16, 2003 3:26 
PM
Subject: -ERR [SYS/PERM] unable to open 
maildrop

This is all I get when I try to connect to my 
Cyrus POP3..
 
It all appeared after I had a mailbox.db error, 
which I apparently got cuered by running ctl_cyrusdb (I think), but now it 
keeps rejecting the passwords for every account on the 
system...
 
What've gone wrong, and how do I solve the 
problem??
 
Best regards and TIA,
 Morten Trab, 
Denmark


Re: -ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Bartosz Jozwiak



I have the same problem and no body can help 
me.
 
-- Bart

  - Original Message - 
  From: 
  Morten Trab 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, October 16, 2003 3:26 
  PM
  Subject: -ERR [SYS/PERM] unable to open 
  maildrop
  
  This is all I get when I try to connect to my 
  Cyrus POP3..
   
  It all appeared after I had a mailbox.db error, 
  which I apparently got cuered by running ctl_cyrusdb (I think), but now it 
  keeps rejecting the passwords for every account on the system...
   
  What've gone wrong, and how do I solve the 
  problem??
   
  Best regards and TIA,
   Morten Trab, 
  Denmark


Re: cyradm not responding

2003-10-16 Thread Ezra
Hello dkoobs:
   Go to /usr/cyrus-imapd-2.1.15/perl/imap
then execute:

   perl Makefile.PL
   make
   make test
   make install
  
I'm assuming you install cyrus-imap from source(tarball).

[EMAIL PROTECTED] wrote:

I have a new install of Cyrus-2.1.15 on RH9. The imap server is running I can telnet into port 143), but cyradm does not work.  When I first tried to run cyradm, it gave me an error that it couldn't find Cyrus/IMAP/Shell.pm. So, I copied Shell.pm to /usr/lib/perl5/5.8.0/Cyrus/IMAP. Now when I run it, nothing happens, and the command prompt returns. Nothing is logged in imap.log or messages about cyradm. 

I've also copied the ntire contents (from the source) of 
cyrus-imapd-2.1.15/perl/imap/IMAP into 
/usr/lib/perl5/5.8.0/Cyrus/IMAP

but still no reponse.

Any idea how to fix this?

Thanks,

Doug 

 




-ERR [SYS/PERM] unable to open maildrop

2003-10-16 Thread Morten Trab



This is all I get when I try to connect to my Cyrus 
POP3..
 
It all appeared after I had a mailbox.db error, 
which I apparently got cuered by running ctl_cyrusdb (I think), but now it keeps 
rejecting the passwords for every account on the system...
 
What've gone wrong, and how do I solve the 
problem??
 
Best regards and TIA,
 Morten Trab, 
Denmark


Re: Postfix can't connect to lmtp

2003-10-16 Thread Pascal Gienger
[EMAIL PROTECTED] wrote:

(connect  to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission
denied)
The file system permissions of your socket file /var/imap/socket/lmtp(*) are
set in a way so that the postfix process (running under user "postfix")
just can't write to it.
Pascal

(*) The name and location of the socket is defined in your cyrus.conf,
   lmtpd(8) via unix socket transport.


deleting corrupt mail file..

2003-10-16 Thread Danny García Hernández
Hello List,

I have a problem with a corrupt message file, the user have a file .
into his spool directory, when he try to download this message the mail
client is getting him error about corrupt message. How i can delete this
message from the user´s spool directory?

Thanks
Danny



Re: Postfix can't connect to lmtp

2003-10-16 Thread Stephan Buys
Hi Wim,

Could it be that your Cyrus (2.1.14) has hanged? I have had this happen a 
couple of times using the Kolab server. (Which you are using eh? ;-)

Try (as the cyrus user, kolab-r in kolab)
#ctl_cyrusdb -r -x 

Then restart cyrus

This has fixed it for me in the past, if your problem is related to mine.
Also, I have an updated OpenPKG package for Cyrus 2.1.15 available.

Regards,
-- 
Stephan  Buys
Code Fusion cc.
Tel: +27 11 391 1412
Mobile: +27 83 294 1876
Email: [EMAIL PROTECTED]


On Thursday 16 October 2003 17:40, [EMAIL PROTECTED] wrote:
> I got the most simple postfix-cyrus up , but when I try
> to send mail with the user account I get the following
> error from postfix:
>
> Oct 16 17:28:52 aardappel postfix/lmtp[4485]: F36F1D96A3:
> to=<[EMAIL PROTECTED]>, relay=none, delay=1, status=deferred
> (connect to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission
> denied)
>
> Why is permission denied? What process determines whether
> connection is allowed or not?
>
> TIA
> Wim Bakker
>
>
> This e-mail was scanned by RAV Antivirus!




Re: Cyrus+SASL+kerberos V

2003-10-16 Thread Rob Siemborski
On Thu, 16 Oct 2003, Stephan Buys wrote:

> I dont know what exactly you mean with virtual domains. In our case, as there
> is a direct mapping from the mailbox name:
> ie. user/[EMAIL PROTECTED], using SASL and LDAP with the logon
> credentials [EMAIL PROTECTED]
>
> lmtp delivers the mail directly to cyrus, using the full e-mail address.
>
> I guess my question is that if [EMAIL PROTECTED]/[EMAIL PROTECTED] is not possible,
> how does one associate the Cyrus mailbox (user/[EMAIL PROTECTED]) with a
> principal bob/[EMAIL PROTECTED]

I misunderstood your question.  This isn't possible by default, you'll
want to take a look at modifying auth_krb.c (or auth_krb5.c if you are
using 2.2) to do what you need.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: Cyrus+SASL+kerberos V

2003-10-16 Thread Stephan Buys
Hi,

Thanks for the answer.

On Thursday 16 October 2003 17:38, you wrote:
> > As I understand it SASL only support the default realm as well?
>
> No, this isn't the case.  The default/local realm is stripped from the
> user identifiers, but you can use the loginrealms option to allow logins
> from other realms (the userids still keep the @ sign + realm though)
>

Do you mean I could have a principal called: [EMAIL PROTECTED]/[EMAIL PROTECTED]

> > Would it be possible to use SASL + Kerberos V at all in this situation?
>
> Depending on what exactly you need, "maybe", With Cyrus 2.1 you really
> don't have a good way of doing virtual domains.
>

I dont know what exactly you mean with virtual domains. In our case, as there
is a direct mapping from the mailbox name:
ie. user/[EMAIL PROTECTED], using SASL and LDAP with the logon 
credentials [EMAIL PROTECTED]

lmtp delivers the mail directly to cyrus, using the full e-mail address.

I guess my question is that if [EMAIL PROTECTED]/[EMAIL PROTECTED] is not possible,
how does one associate the Cyrus mailbox (user/[EMAIL PROTECTED]) with a
principal bob/[EMAIL PROTECTED]

regards,
Stephan




Re: Cyrus+SASL+kerberos V

2003-10-16 Thread Rob Siemborski
On Thu, 16 Oct 2003, Stephan Buys wrote:

> Hi all,
>
> We are using unixhierarchysep and lmtp on our server, with usernames in the
> form of [EMAIL PROTECTED], user information and passwords resides in LDAP and
> is accessed through SASL.
>
> The fact that we use unixhierarchysep allows us to easily support
> multiple domains, ie. [EMAIL PROTECTED], [EMAIL PROTECTED], etc.
>
> I was wondering what mechanism was used to associate a Cyrus mailbox
> with a Kerberos user principal? Kerberos will obviously not allow for
> usernames in the form that we use them, although multiple realm support
> is an option.

You can look at auth_krb.c for how usernames are canonicalized.

> As I understand it SASL only support the default realm as well?

No, this isn't the case.  The default/local realm is stripped from the
user identifiers, but you can use the loginrealms option to allow logins
from other realms (the userids still keep the @ sign + realm though)

> Would it be possible to use SASL + Kerberos V at all in this situation?

Depending on what exactly you need, "maybe", With Cyrus 2.1 you really
don't have a good way of doing virtual domains.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Postfix can't connect to lmtp

2003-10-16 Thread wim
I got the most simple postfix-cyrus up , but when I try
to send mail with the user account I get the following
error from postfix:

Oct 16 17:28:52 aardappel postfix/lmtp[4485]: F36F1D96A3: 
to=<[EMAIL PROTECTED]>, relay=none, delay=1, status=deferred (connect 
to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission denied)

Why is permission denied? What process determines whether 
connection is allowed or not?

TIA
Wim Bakker


This e-mail was scanned by RAV Antivirus!



Re: Moving mails from file-system to Cyrus

2003-10-16 Thread Etienne Goyer
Hi,

I asked exactly the same question 2 weeks ago.  I suggest you check the
archive; lot of people had very good suggestion.  I will do it using
mailutil from the UW-imap distribution, and it work fine.

On Wed, Oct 15, 2003 at 07:04:03PM +0200, Alexander Czernay wrote:
> I'm moving my mail-server from plain Postfix+Popper to Postfix+Cyrus.
> For the existing accounts I want to move the existing mail from the 
> file-system to Cyrus. Is there any import-feature?
> 
> Thanks for any help,
> Alexander
> 
> 
> 
> -- 
> _
> Alexander Czernay
> IT-Consulting & Media Development
> 
> fon +49-40-41096742
> fax +49-40-41096743
> icq 4773650
> 
> [EMAIL PROTECTED]
> www.czernay.com
> _
> 

-- 
Etienne GoyerLinux Québec Technologies Inc.
http://www.LinuxQuebec.com   [EMAIL PROTECTED]


cyradm how to?

2003-10-16 Thread wim
Hello,

I just made a test setup of cyrus-imap and made it till 
I had to use cyradm to add mailboxes.
Cyradm exits with a sementation fault, man cyradm
returns no manpage found and perldoc IMAP::Cyrus
returns No documentation found for "IMAP::Cyrus".
I installed the 
cyrus-imapd-2.2.1-BETA and cyrus-sasl-2.1.15 packages,
without erros. Made a simple config:
imad.conf:
"configdirectory: /var/imap
partition-default: /var/spool/imap
admins: wim
sasl_pwcheck_method: saslauthd"
cyrus.conf is the example master/normal.conf.
imtest -m login -a wim  gave the following output:
---
S: * OK aardappel.unetix.nl Cyrus IMAP4 v2.2.1-BETA server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE 
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=CRAM-MD5 
AUTH=DIGEST-MD5 AUTH=OTP
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN wim {6}
S: + go ahead
C: 
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.
---
That looked good, but cyradm -u wim caused a segfault.
imapd.log output:
-
Oct 16 16:21:44 aardappel imap[2421]: accepted connection
Oct 16 16:21:44 aardappel imap[2421]: badlogin: [192.168.1.143] DIGEST-MD5 
[SASL(-13): user not found: no secret in database]
-

So what options accepts cyradm , or what should I alter in the conf
files to let cyradm work?
TIA
Wim Bakker


This e-mail was scanned by RAV Antivirus!



RE: Still can't get cyradm to work

2003-10-16 Thread Ramprasad A Padmanabhan




On Thu, 2003-10-16 at 20:03, Doug Koobs wrote:

Ram,

 

I am somewhat familiar with using CPAN to install perl modules, so I used 

perl –MCPAN –e shell

 

and ran the command

 

cpan> install Cyrus::IMAP::Shell

 

and here is what I got:

 


Ok just try installing the perl cyrus rpm



perl-Cyrus-IMAP-2.1.9-28




Re: Still can't get cyradm to work

2003-10-16 Thread Ramprasad A Padmanabhan




On Thu, 2003-10-16 at 18:41, Doug Koobs wrote:

Is there any way to re-compile and install cyradm without completely re-installing Cyrus? I still can’t get cyradm to work (no response, just drops me back to bash prompt when I try to run it).

I used ‘less’ to look at the cyradm file, and it looks more like some kind of a man page than a perl script... Is this correct? It contains whole paragraphs of plain english that are not commented. I know next to nothing about programming, but this seems strange.

 

Well It is a shell script not a perl script if I remember right.
That is just a wrapper around perl module  Cyrus::IMAP::Shell 
If you can install this module  It should work

If you are new to perl  this might be some effort , Start from http://cpan.org

Bye 
Ram





Still can't get cyradm to work

2003-10-16 Thread Doug Koobs








Is there any way to re-compile and install cyradm without completely
re-installing Cyrus? I still can’t get cyradm to work (no response, just
drops me back to bash prompt when I try to run it).

I used ‘less’ to look at the cyradm file, and it looks more
like some kind of a man page than a perl script... Is this correct? It contains
whole paragraphs of plain english that are not commented. I know next to
nothing about programming, but this seems strange.

 

Thanks,

 

Doug

 








Re: script for creating folders into users mailboxes

2003-10-16 Thread Ramprasad A Padmanabhan




On Thu, 2003-10-16 at 13:34, RJ45 wrote:

Hello,
I would like to create automatically a folder SPAM in every
user mailbox.
Is it possible to do that with a cyradm script ?
Anyone did that already ?
Anyone could point me to an already avaliable sript if such a thing does
exist ?
thank you

Rick



With just a little bit of perl , you could write a small program 
look at Cyrus::IMAP::Admin


Bye
Ram





script for creating folders into users mailboxes

2003-10-16 Thread RJ45


Hello,
I would like to create automatically a folder SPAM in every
user mailbox.
Is it possible to do that with a cyradm script ?
Anyone did that already ?
Anyone could point me to an already avaliable sript if such a thing does
exist ?
thank you

Rick




Cyrus+SASL+kerberos V

2003-10-16 Thread Stephan Buys
Hi all,

We are using unixhierarchysep and lmtp on our server, with usernames in the
form of [EMAIL PROTECTED], user information and passwords resides in LDAP and
is accessed through SASL.

The fact that we use unixhierarchysep allows us to easily support multiple domains,
ie. [EMAIL PROTECTED], [EMAIL PROTECTED], etc.

I was wondering what mechanism was used to associate a Cyrus mailbox with a 
Kerberos user principal? Kerberos will obviously not allow for usernames in the 
form that we use them, although multiple realm support is an option. 

As I understand it SASL only support the default realm as well?

Would it be possible to use SASL + Kerberos V at all in this situation?

Kind regards,
-- 
Stephan  Buys