multiple users sharing a mailbox

2003-02-13 Thread Piet Ruyssinck
As a quick hack, I replaced auth_getpwent.c in the saslauthd source code
with the following code :

#include mechanisms.h
#include unistd.h
#include string.h
#include pwd.h
#include stdio.h
#include stdlib.h

#define RETURN(x) return strdup(x)

#define CYRPASSWD /etc/cyrpasswd

char *auth_getpwent (const char *login,
 const char *password,
 const char *service __attribute__((unused)),
 const char *realm __attribute__((unused))) {
  FILE *fptr;
  int OK = 0;
  if (fptr = fopen (CYRPASSWD, r)) {
char buffer [1024];
while (fgets (buffer, 1024, fptr)) {
  int eol = 0;
  char *p;
  for (p = buffer; *p  *p != ':'  *p != '\n'; p++);
  if (*p == '\0' || *p == '\n')
eol = 1;
  *p = '\0';
  if (!eol) {
if (strcmp (buffer, login) == 0) {
  char *q;
  while (!eol) {
p++;
for (q = p; *q  *q != ':'  *q != '\n'; q++);
if (*q == '\0' || *q == '\n')
  eol = 1;
*q = '\0';
if (strcmp (p, (char *) crypt (password, p)) == 0) {
  OK = 1;
  eol = 1;
  }
p = q;
}
  }
}
  }
fclose (fptr);
}
  if (OK)
RETURN (OK);
  RETURN (NO);
  }

This allows me to authenticate against the entries in the file /etc/cyrpasswd.
This file can contain multiple passwords for each account.  e.g. :

# cat /etc/cyrpasswd   (all entries are fake)
bill:EYoCf4XigIZ6w
john:uUb3fyLD49SL2
peter:HOMwYGfZuUv02
carol:hcvhHC1RM2Q5Y
beth:RwQqf7n3w9sUc
helpdesk:HOMwYGfZuUv02:RwQqf7n3w9sUc
dick:EYoCf1XkgIZ6w

All users have their own personal mailbox, but both peter and beth have
access to the helpdesk mailbox, using their personal password.

We had tried before to share the helpdesk mailbox to peter and beth, who
would then see it under Other users.  But the problem there is that the
sender address on all outgoing mail would still be the personal address.
Specifying 'helpdesk' as the sender address necessitates an awkward
configuration of the client, if possible at all.

With /etc/cyrpasswd approach, they can just define two distict e-mail
accounts in their client.  And without having to remember a second,
shared, password - which is important for us.


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Piet RUYSSINCK e-mail: [EMAIL PROTECTED]
Unix Systeem Administratie DICT tel: +32 9 264 4733 
Directie Informatie- en Communicatietechnologie fax: +32 9 264 4994
Universiteit Gent (RUG)   Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 Please avoid sending me Word or PowerPoint attachments
 See http://www.fsf.org/philosophy/no-word-attachments.html 




deleting large mailbox name

2003-02-13 Thread Danny García Hernández
Hello List,

I have a problem deleting  the large mailbox name into my cyrus sasldb2,
have any one idea, what´s is happend?

Example.

$server] cyradm localhost

localhostlm user/xxx/*

user/xxx/Bandeja de entrada (\HasChildren)
user/xxx/Bandeja de entrada/Borrador (\HasNoChildren)

In the user/xxx the cyrus admin have all permision, but i can set permision
or read it for Banddeja de entrada directory and his childrens. I think
that problem come with the space char  into Bandeja de entrada

Any advice will be appreciated
Danny




Sieve X-Authentication-Warning: header

2003-02-13 Thread Mark Keasling
Hi,

I'm getting this header with sieve notifications and vacation replies:

X-Authentication-Warning: hot.water.com: cyrus set sender to  using -f

Does anyone know what causes it?  Where is it coming from?

Regards,
Mark Keasling [EMAIL PROTECTED]




Re[2]: Backup of Cryus IMAP [ ctl_mboxlist -d ]

2003-02-13 Thread Kristaps Armanis
Wednesday, February 12, 2003, 6:42:46 PM, You wrote:
JAT  For a full restore, to guard against corrupting
JAT important database files I do ctl_mboxlist -d to a text file just before 
JAT the backup, and then backup that file.

ctl_mboxlist -d
Gives me output like:
user.ajoma  default ajoma   lrswipcda
user.ajrina default ajrina  lrswipcda   
user.ajuks  default ajuks   lrswipcda
user.ajuss  default ajuss   lrswipcda   

Point is that i'm using: unixhierarchysep yes
Is this mboxlist output correct?

Just my 2p Q.


--
KRISHA




Where's the potential bottleneck? Should I use murder way or should I replace the backend?

2003-02-13 Thread Lin Wang
Hello, dear All:

I just made a test for cyrus-imapd-2.1.12 on a single Sun Blade 2000, with
10,000 mailboxes created.
I started 10 connections, appending a 16K message to the 10,000 mailboxes
simultaneously.
While I found there seems to be a limitation of about 1.5 msg/sec on each
connection, or a total throughput about 240KB/s (16K*1.5*10).

However, I want to improve the throughput to some degree, say 2MB/s, to
support a high-throughput application. So I want to know where is the
potential bottleneck of cyrus-imapd, the single pattern? or the backend
Berkeley?
Should I use the Murder way?  or should I replace the backend with Oracle?
or both of them?

Thanks for any help!


BR,
LinFeb 13, 2003
[EMAIL PROTECTED]





Re: Sieve X-Authentication-Warning: header

2003-02-13 Thread Mikael Brandström
It's due to that the cyrus user is not among the trusted users of
sendmail. Add your cyrus user to class t and the message will go away.

// Mikael

On Thu, 13 Feb 2003 at 17:08, Mark Keasling wrote:

 Hi,

 I'm getting this header with sieve notifications and vacation replies:

 X-Authentication-Warning: hot.water.com: cyrus set sender to  using -f

 Does anyone know what causes it?  Where is it coming from?

 Regards,
 Mark Keasling [EMAIL PROTECTED]





Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Ilya wrote:
 
 I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
 and php imap_deletemailbox. The delete works, but subfolders for that user are
 not deleted.
 If however I create a user in defaultdomain (user.username) than whenever I
 delete the user everything is gone under him as well.
 I believe it is the behaviour of 2.1.1x as well.
 
 Ken, are the subfolders left on purpose, or its and error?

Its an error.  Please at this to bugzilla.

-- 
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: Backup of Cryus IMAP [ ctl_mboxlist -d ]

2003-02-13 Thread John A. Tamplin
Kristaps Armanis wrote:


ctl_mboxlist -d
Gives me output like:
user.ajoma  default ajoma   lrswipcda
user.ajrina default ajrina  lrswipcda   
user.ajuks  default ajuks   lrswipcda
user.ajuss  default ajuss   lrswipcda   

Point is that i'm using: unixhierarchysep yes
Is this mboxlist output correct?
 

The mboxlist database always uses the internal name, which uses dots. 
You will also see dots mapped to ^ in your mboxlist.

--
John A. Tamplin
Unix Systems Administrator





Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ilya
Bug 1832 has been added to the database

On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
 
 
 Ilya wrote:
  
  I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
  and php imap_deletemailbox. The delete works, but subfolders for that user are
  not deleted.
  If however I create a user in defaultdomain (user.username) than whenever I
  delete the user everything is gone under him as well.
  I believe it is the behaviour of 2.1.1x as well.
  
  Ken, are the subfolders left on purpose, or its and error?
 
 Its an error.  Please at this to bugzilla.
 
 -- 
 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: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Igor Brezac

On Thu, 13 Feb 2003, Ilya wrote:

 Bug 1832 has been added to the database

 On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
 
 
  Ilya wrote:
  
   I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
   and php imap_deletemailbox. The delete works, but subfolders for that user are
   not deleted.
   If however I create a user in defaultdomain (user.username) than whenever I
   delete the user everything is gone under him as well.
   I believe it is the behaviour of 2.1.1x as well.
  
   Ken, are the subfolders left on purpose, or its and error?
 

It works fine for me, at least it works with cyradm.  I am using a farily
recent CVS version (2.2).  Is it possible that the mailbox was opened by
another imap client?  Did you chdir to one of the mbox dirs while you
performed deletembox?   How does 'dm [EMAIL PROTECTED]' work vs 'dm
domain.com!user.username'?

I do see the follwing small problem, other cyradm commands seem to work
fine:

localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)

-igor

  Its an error.  Please at this to bugzilla.
 
  --
  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


-- 
Igor





Re: IMAP configure - krb_mk_priv

2003-02-13 Thread Lori Kilen

I wish I had the option to pass on this right now, but since I don't I'll take
any help I can get.Thanks.

gcc  - 2.7.2.3
os   - Solaris 2.6
SASL - 2.1.10
IMAP - 2.2.11

On Thu, 13 Feb 2003, Peter Lawler wrote:

 Hi Lori,
 Can you tell us what kind of Unix system you are using, and which
 version it is.

 Also, the version numbers of your gcc and your SASL  IMAP
 implementations would be handy.

  From personal experience, kerberos on Solaris looked like such a
 nightmare I passed on it, as well as GSSAPI - for the moment. I'm
 planning to take another look when I get my personal media kit for
 Solaris 9 x86 :-)

 Pete.


 Lori Kilen wrote:
  Hi,
 
  I'm trying to compile the IMAP server with SASL - GSSAPI authentication.  I
  have SASL compiled.  Now, when I try to configure the IMAP server I'm getting
  the following error:
 
  checking for krb.h... yes
  checking for krb_mk_priv in -lkrb... no
  configure: warning: No Kerberos V4 found
  configure: error: Kerberos not found for authorization module
 
 
  This is what the config.log looks like -
 
  configure:3861: checking for krb.h
  configure:3871: gcc -E -I/usr/local/BerkeleyDB.4.1/include
  -I/usr/local/include -I/var/home/username/MY_KERBEROS/include/kerberosIV
  conftest.c /dev/null 2conftest.out
  configure:3888: checking for krb_mk_priv in -lkrb
  configure:3907: gcc -o conftest -Wall -g -O2
  -I/usr/local/BerkeleyDB.4.1/include  -I/usr/local/include
  -I/var/home/username/MY_KERBEROS/include/kerberosIV
  -L/usr/local/BerkeleyDB.4.1/lib -R/usr/local/BerkeleyDB.4.1/lib
  -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib -R/usr/local/lib
  -L/var/home/username/MY_KERBEROS/lib conftest.c -lkrb -lkrb4 -ldes -lresolv -lfl
  -ldb-4.1  15
  Undefined   first referenced
   symbol in file
  krb_mk_priv /var/tmp/ccxfaWan1.o
  ld: fatal: Symbol referencing errors. No output written to conftest
  configure: failed program was:
  #line 3896 configure
  #include confdefs.h
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
  builtin and then its argument prototype would still apply.  */
  char krb_mk_priv();
 
  int main() {
  krb_mk_priv()
  ; return 0; }
 
 
 
  krb_mk_priv is in libkrb4.
  Can anyone help direct me from here?
 
 
  Thanks.
 



Thanks.
---
Lori Kilen - [EMAIL PROTECTED]  Internet Wholesale Services
Application Developer   VIP Sustainment  Support
---
A nation that continues year after year to spend more money on military defense
than on programs of social uplift is approaching spiritual death.
- Martin Luther King Jr.




Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Igor Brezac wrote:
 
 On Thu, 13 Feb 2003, Ilya wrote:
 
  Bug 1832 has been added to the database
 
  On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote:
  
  
   Ilya wrote:
   
I just tried to delete a top level ([EMAIL PROTECTED]) from both 
cyradmin
and php imap_deletemailbox. The delete works, but subfolders for that user are
not deleted.
If however I create a user in defaultdomain (user.username) than whenever I
delete the user everything is gone under him as well.
I believe it is the behaviour of 2.1.1x as well.
   
Ken, are the subfolders left on purpose, or its and error?
  
 
 It works fine for me, at least it works with cyradm.  I am using a farily

It also works for me.


 recent CVS version (2.2).  Is it possible that the mailbox was opened by
 another imap client?  Did you chdir to one of the mbox dirs while you
 performed deletembox?   How does 'dm [EMAIL PROTECTED]' work vs 'dm
 domain.com!user.username'?
 
 I do see the follwing small problem, other cyradm commands seem to work
 fine:
 
 localhost lm [EMAIL PROTECTED]
 localhost lm ipass.net!user.igor
 [EMAIL PROTECTED] (\HasChildren)


Yeah, I see this as well.  I might have broken something when I added
per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
syntax anywhere.  If you do, then something is broken.

-- 
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: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Ken Murchison wrote:
 
 Igor Brezac wrote:
  I do see the follwing small problem, other cyradm commands seem to work
  fine:
 
  localhost lm [EMAIL PROTECTED]
  localhost lm ipass.net!user.igor
  [EMAIL PROTECTED] (\HasChildren)
 
 Yeah, I see this as well.  I might have broken something when I added
 per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
 syntax anywhere.  If you do, then something is broken.

After further testing, it appears as if this only fails when the result
of the LIST is one mailbox.  If you try:

lm user.igor*@ipass.net

does it work?

I have a pretty good idea where to look for this bug.  I'll try to get
to it later today or tomorrow.
-- 
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



To build open source based scalable, stable webmail server

2003-02-13 Thread Erol Ozcan
Hi!

  I am looking for a scalable, stable and cost effective webmail
server solutions. The server system

 - should be cost effective and based on open source softwares as
possible ( could be commercial )
 - should be scalable up to 200,000 users, but 150,000 a must
 - account creation or deletion should not exceed 2 seconds
 - could be support concurent 100 subscribers for webmail browsing on
the system without any performance problems 
 - should not be create real system user for mail or other purposes.
Account information stored LDAP or other databases.
 - does not needed pop3 support
 - could ( i think should ) be cluster or similiar system ( load
balance, round robin dns..., MUPDATE )
 - Webmail system should be support basic webmail functionality like
read, compose, mail, delete, folders, address book, able to view
attachments...
 - users quota limit could  be 1 MB or even 256 MB since webmail system is used only 
for special
mail traffic ( MMS content ).
 - user accounts on the current Suse eMail server could be migratable to the new 
server. ( I think
i needed write scripts )
 - could be a bit high price hardware solutions ( my customer will
provide hardwares )

  I have looked Suse OpenExchange server, there are too many features
that we dont need such as exchange server integration, projects,
appointment etc. Its not cost effective solution any more due to
client prices.

  I have looked Cyrus Murder configuration but i dont understand differences at the 
follow. I
think that the system have 203069 users but only 26516 users have been using their 
mail box, am i
right?

mailboxes (*): 203069
user mailboxes (user.*): 173414
user INBOXes (user.%): 26516

  I urgently need your software/hardware suggestion and/or experience to build new 
scalable,
stable webmail system.

  - Any ready distribution ? ( like Suse eMail server )
  - Which IMAP server ? ( Cyrus, Courirer or .. )
  - LDAP based or ?
  - Postfix or Qmail?
  - How to scalable, distribute, load balance etc. servers?
  - About Cyrus MUPDATE: currently uses, tutorials, docs.
  - Some example hardware configurations ?
  - Any others...


  By the way, I have many experiences with Linux systems and also Java programming. So 
do not
hesitate to advice some hacking ( not many or big, because time is very limited ) if 
it is really
needed.

Thanks in your advance.
Erol

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Igor Brezac

On Thu, 13 Feb 2003, Ken Murchison wrote:



 Ken Murchison wrote:
 
  Igor Brezac wrote:
   I do see the follwing small problem, other cyradm commands seem to work
   fine:
  
   localhost lm [EMAIL PROTECTED]
   localhost lm ipass.net!user.igor
   [EMAIL PROTECTED] (\HasChildren)
 
  Yeah, I see this as well.  I might have broken something when I added
  per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
  syntax anywhere.  If you do, then something is broken.

 After further testing, it appears as if this only fails when the result
 of the LIST is one mailbox.  If you try:

 lm user.igor*@ipass.net

 does it work?

 I have a pretty good idea where to look for this bug.  I'll try to get
 to it later today or tomorrow.


Yup.  I works fine.

Thanks,
-- 
Igor




Vacation for non-existant users?

2003-02-13 Thread Tarjei Huse
Hi,

I got a few users whom I've removed, and now I'd like to set a
auto-responder for the addresses.

I'd like to do this so people emailing them get their new address.

Any suggestions on how to set this using sieve?

Cheers,
Tarjei




Re: Vacation for non-existant users?

2003-02-13 Thread Rob Siemborski
On Thu, 13 Feb 2003, Tarjei Huse wrote:

 I got a few users whom I've removed, and now I'd like to set a
 auto-responder for the addresses.

 I'd like to do this so people emailing them get their new address.

 Any suggestions on how to set this using sieve?

Sieve would require the existence of the user's inbox, but you could just
do this with vacation essentially.

Of course, it probably makes more sense to set up the autoresponder as a
part of the MTA, and keep cyrus out of it (if you don't want to keep the
user accounts around).  For example, you could have an LDAP entry for dead
users that says this user is dead, his new address is x and the MTA
could pick up on that and hand the message to a separate autoresponder.

-Rob

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




Re: Vacation for non-existant users?

2003-02-13 Thread John Alton Tamplin
Tarjei Huse wrote:


I got a few users whom I've removed, and now I'd like to set a
auto-responder for the addresses.

I'd like to do this so people emailing them get their new address.

Any suggestions on how to set this using sieve?
 

If they don't have an inbox, I don't believe you can use sieve.  Why not 
just use the standard vacation program, with a separate aliases file for 
old accounts?

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931





Re: Vacation for non-existant users?

2003-02-13 Thread Tarjei Huse

 I would do this in the MTA. If you're using Sendmail, look at
 cf/README.  There is an example of exactly what you want to do there
 -- I believe it can be implemented in either the access map or the
 virtusertable (or maybe both).
 
Darn, postfix :)

Tarjei
 Regards,
 
 --
 Stephen L. Ulmer  [EMAIL PROTECTED]
 Senior Systems Programmer http://www.ulmer.org/
 Northeast Regional Data Center  VOX: (352) 392-2061
 University of Florida   FAX: (352) 392-9440
-- 
Tarjei Huse [EMAIL PROTECTED]
NU




Re: Vacation for non-existant users?

2003-02-13 Thread Stephen L. Ulmer

 tarjei == Tarjei Huse [EMAIL PROTECTED] writes:

  tarjei Hi, I got a few users whom I've removed, and now I'd like to
  tarjei set a auto-responder for the addresses.

  tarjei I'd like to do this so people emailing them get their new
  tarjei address.

  tarjei Any suggestions on how to set this using sieve?


If you've removed them, they might not be able to have a sieve script
(I hope).

I would do this in the MTA. If you're using Sendmail, look at
cf/README.  There is an example of exactly what you want to do there
-- I believe it can be implemented in either the access map or the
virtusertable (or maybe both).

Regards,

--
Stephen L. Ulmer  [EMAIL PROTECTED]
Senior Systems Programmer http://www.ulmer.org/
Northeast Regional Data Center  VOX: (352) 392-2061
University of Florida   FAX: (352) 392-9440




Re: Vacation for non-existant users?

2003-02-13 Thread Ted Cabeen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

In message [EMAIL PROTECTED], Tarjei Huse writes:
I got a few users whom I've removed, and now I'd like to set a
auto-responder for the addresses.

I'd like to do this so people emailing them get their new address.

Any suggestions on how to set this using sieve?

Why use sieve?  Most MTA's have support for a table of users that have 
relocated.  Check out your MTA's documentation.  You will probably find 
something there.

- -- 
Ted Cabeen   http://www.pobox.com/~secabeen[EMAIL PROTECTED] 
Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED]
I have taken all knowledge to be my province. -F. Bacon  [EMAIL PROTECTED]
Human kind cannot bear very much reality.-T.S.Eliot[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+TBJooayJfLoDSdIRAiqUAJ9z22S9sKD7+pRX8wrZJaG1G6M3zwCffPmC
tno2q6GgZ5t46KIyQqtpd1E=
=bCNd
-END PGP SIGNATURE-




Re: Vacation for non-existant users?

2003-02-13 Thread Ken Murchison


Rob Siemborski wrote:
 
 On Thu, 13 Feb 2003, Tarjei Huse wrote:
 
  I got a few users whom I've removed, and now I'd like to set a
  auto-responder for the addresses.
 
  I'd like to do this so people emailing them get their new address.
 
  Any suggestions on how to set this using sieve?
 
 Sieve would require the existence of the user's inbox, but you could just
 do this with vacation essentially.

If you really want to be nice, you could do a redirect to the new
address AND send a vacation message telling the sender what you did.

Hmm.  I'll have to check the sieve specs to make _sure_ that redirect
and vacation are compatible (I'm pretty sure they are).  Whether our
implementation chokes is a different story (it would be an easy fix if
it does).
-- 
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: Vacation for non-existant users?

2003-02-13 Thread Stephen L. Ulmer

 tarjei == Tarjei Huse [EMAIL PROTECTED] writes:

   I would do this in the MTA. If you're using Sendmail, look at
   cf/README.  There is an example of exactly what you want to do
   there
   -- I believe it can be implemented in either the access map or
  the
   virtusertable (or maybe both).
  

  tarjei Darn, postfix :)

Hmmm.. well it appears that you're supposed to do this with a
FEATURE(`redirect') in Sendmail.  I probably would have just put in a
virtusertable map that user the error: prefix...

Here is the relevant paragraph from the Sendmail docs, if you can get
postfix to reply with this SMTP error on a 'RCPT' verb that contains
the moved address, you're home free.

,
| redirectReject all mail addressed to address.REDIRECT with
| a ``551 User has moved; please try address'' message.
| If this is set, you can alias people who have left
| to their new address with .REDIRECT appended.
`

If you want more help with this, we should take it out-of-band.  We're
now off-topic for this list. ;)

Regards,

--
Stephen L. Ulmer  [EMAIL PROTECTED]
Senior Systems Programmer http://www.ulmer.org/
Northeast Regional Data Center  VOX: (352) 392-2061
University of Florida   FAX: (352) 392-9440




Re: Vacation for non-existant users?

2003-02-13 Thread Ted Cabeen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

In message [EMAIL PROTECTED], Tarjei Huse writes:

 I would do this in the MTA. If you're using Sendmail, look at
 cf/README.  There is an example of exactly what you want to do there
 -- I believe it can be implemented in either the access map or the
 virtusertable (or maybe both).
 
Darn, postfix :)

man 5 relocated

- -- 
Ted Cabeen   http://www.pobox.com/~secabeen[EMAIL PROTECTED] 
Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED]
I have taken all knowledge to be my province. -F. Bacon  [EMAIL PROTECTED]
Human kind cannot bear very much reality.-T.S.Eliot[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+TBx9oayJfLoDSdIRAvnhAKDI9oSv70R9d/LJB81gwM5O0+vsyQCgq7k/
bVNfaCuz+egFXJP3/J+dq0A=
=VhMb
-END PGP SIGNATURE-




which version of SASL am I using ?

2003-02-13 Thread pilsl
Obviously this is somehow a stupid question but I nevertheless needs
an answer to it. How can I determine if I'm running SASL 1.5 or 2.x on
my system ?

thnx,
peter

-- 
mag. peter pilsl
IT-Consulting
tel: +43-699-1-3574035
fax: +43-699-4-3574035
[EMAIL PROTECTED]
http://www.goldfisch.at



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Mark Keasling
Hi,

The original message said:
 I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
 and php imap_deletemailbox. The delete works, but subfolders for that user are
 not deleted. 

What is the server's hierarchy delimiter?
Is [EMAIL PROTECTED] an actual user?
Or is it just a toplevel mailbox?
My limited understanding is that a virtual domain user should be listed as:

  [EMAIL PROTECTED]

If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete
the username@domain user's com mailbox?

On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote...
 
 On Thu, 13 Feb 2003, Ken Murchison wrote:
 
 
 
  Ken Murchison wrote:
  
   Igor Brezac wrote:
I do see the follwing small problem, other cyradm commands seem to work
fine:
   
localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)
  
   Yeah, I see this as well.  I might have broken something when I added
   per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
   syntax anywhere.  If you do, then something is broken.
 
  After further testing, it appears as if this only fails when the result
  of the LIST is one mailbox.  If you try:
 
  lm user.igor*@ipass.net
 
  does it work?
 
  I have a pretty good idea where to look for this bug.  I'll try to get
  to it later today or tomorrow.
 
 
 Yup.  I works fine.
 
 Thanks,
 -- 
 Igor
 


Regards,
Mark Keasling [EMAIL PROTECTED]




Re: Vacation for non-existant users?

2003-02-13 Thread Do Duc Huy
Hi all mail administrators!
I use postfix and cyrus for my email system. Everything are Ok, thank for
Opensource community for such greate products. Now, I want to setup my
system to send notification when user email was delivered. (If user email
have Return-Receipt-To: field ofcourse). Is there anyone can tell me what
to do. I 'v searching in Internet for some howto document about this
question but havenot found yet.
Thanks for any idea

Do Duc Huy
Centre for Development Infomation  Technology - CDIT
The 4th floor VCCI buiding #9 Dao Duy Anh Str. Dong Da Dstr. Hanoi
Tel: 84-04-5742879





Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ilya
nevermind, feeling stupid again...
this is the ugly think i created..
at least we know all folders get created automatically

[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)

sorry guys



On Thu, Feb 13, 2003 at 02:41:05PM -0500, Igor Brezac wrote:
 
 On Thu, 13 Feb 2003, Ken Murchison wrote:
 
 
 
  Ken Murchison wrote:
  
   Igor Brezac wrote:
I do see the follwing small problem, other cyradm commands seem to work
fine:
   
localhost lm [EMAIL PROTECTED]
localhost lm ipass.net!user.igor
[EMAIL PROTECTED] (\HasChildren)
  
   Yeah, I see this as well.  I might have broken something when I added
   per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
   syntax anywhere.  If you do, then something is broken.
 
  After further testing, it appears as if this only fails when the result
  of the LIST is one mailbox.  If you try:
 
  lm user.igor*@ipass.net
 
  does it work?
 
  I have a pretty good idea where to look for this bug.  I'll try to get
  to it later today or tomorrow.
 
 
 Yup.  I works fine.
 
 Thanks,
 -- 
 Igor
 



Re: cyrus 2.2 virtual domains and mailbox delete

2003-02-13 Thread Ken Murchison


Mark Keasling wrote:
 
 Hi,
 
 The original message said:
  I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin
  and php imap_deletemailbox. The delete works, but subfolders for that user are
  not deleted.
 
 What is the server's hierarchy delimiter?

In this case '.'

 Is [EMAIL PROTECTED] an actual user?

Yup,  It is username's INBOX in the domain.com domain.

 Or is it just a toplevel mailbox?

 My limited understanding is that a virtual domain user should be listed as:
 
   [EMAIL PROTECTED]

Only if using unixhiersep.  2.2 supports virtual domains natively
(assuming its is enabled).


 
 If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete
 the username@domain user's com mailbox?
 
 On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote...
 
  On Thu, 13 Feb 2003, Ken Murchison wrote:
 
  
  
   Ken Murchison wrote:
   
Igor Brezac wrote:
 I do see the follwing small problem, other cyradm commands seem to work
 fine:

 localhost lm [EMAIL PROTECTED]
 localhost lm ipass.net!user.igor
 [EMAIL PROTECTED] (\HasChildren)
   
Yeah, I see this as well.  I might have broken something when I added
per-domain quotas.  FYI, you should _NOT_ have to use the domain!mailbox
syntax anywhere.  If you do, then something is broken.
  
   After further testing, it appears as if this only fails when the result
   of the LIST is one mailbox.  If you try:
  
   lm user.igor*@ipass.net
  
   does it work?
  
   I have a pretty good idea where to look for this bug.  I'll try to get
   to it later today or tomorrow.
  
 
  Yup.  I works fine.
 
  Thanks,
  --
  Igor
 
 
 Regards,
 Mark Keasling [EMAIL PROTECTED]

-- 
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



ctl_deliver spewing errors

2003-02-13 Thread Andrew Brink
Guys - 

I'm getting a bunch of messages like the following when I run
ctl_deliver is running,
I'm at my wits end and need some serious help. Any clues about these
errors would be helpful,

Feb 13 22:52:01 titan ctl_deliver[1656]: mydelete: starting txn
2148183055Feb 13 22:52:01 titan ctl_deliver[1656]: DBERROR db4:
DB_ENV-log_flush: LSN past current end-of-log
Feb 13 22:52:01 titan ctl_deliver[1656]: mydelete: aborting txn
2148183055
Feb 13 22:52:01 titan ctl_deliver[1656]: DBERROR: mydelete: error
deleting [EMAIL PROTECTED]: DB_NOTFOUND: No
matching key/data pair found

Thanks

Andrew Brink, CCNA, WCSP 
NetStandard, Inc. 
913-262-3888 




Re: deleting large mailbox name

2003-02-13 Thread Danny García Hernández
Is the list working?

Thanks
Danny

- Original Message -
From: Danny García Hernández [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 9:24 AM
Subject: deleting large mailbox name


 Hello List,

 I have a problem deleting  the large mailbox name into my cyrus sasldb2,
 have any one idea, what´s is happend?

 Example.

 $server] cyradm localhost

 localhostlm user/xxx/*

 user/xxx/Bandeja de entrada (\HasChildren)
 user/xxx/Bandeja de entrada/Borrador (\HasNoChildren)

 In the user/xxx the cyrus admin have all permision, but i can set
permision
 or read it for Banddeja de entrada directory and his childrens. I think
 that problem come with the space char  into Bandeja de entrada

 Any advice will be appreciated
 Danny