Re: Cyrus IMAP use questions.

2003-09-23 Thread James A. Pattie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Denis V. Suhanov wrote:
| Hello all,
|
| I  am  asking because
| another problem I have here is letting users change their sasldb-based
| passwords without having to log in to the box.
look at MailAdmin http://mailadmin.sf.net/ for a php interface to the sasldb
database.  I just implemented it on a Debian testing box with sasl2 and
unixhierachysep and had to make some modifications so it will be a while before
I can submit another set of patches to handle this scenario.
- --
James A. Pattie
[EMAIL PROTECTED]
Linux  --  SysAdmin / Programmer
Xperience, Inc.
http://www.pcxperience.com/
http://www.xperienceinc.com/
GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQE/cJBhtUXjwPIRLVERAp3eAKDv9+q8PRm/rBCmWrmK3L+UCIgR+QCgzPG6
vtuKMREgr2qShgqoV4Iv8pA=
=dqCa
-END PGP SIGNATURE-
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


Re: Cyrus IMAP use questions.

2003-09-23 Thread Etienne Goyer
On Tue, Sep 23, 2003 at 09:56:26AM -0700, Denis V. Suhanov wrote:
> First  of  all,  I  wanted  to  implement  incoming  mail  sorting via
> procmail. Considering that none of my users have local shell accounts,
> what  is the right way to implementing individual procmail scripts for
> those  users  who don't want to use sieve? Or should I use sieve as an
> alternative?  My  only  concern with it is that most of the clients my
> users  use are unaware of sieve and I have no clue how to provide them
> an access to their sieve's scripts in this case.

Give them a web interface to Sieve.  Websieve is an option, as would
the Ingo module of the Horde framework.

I do not think it would possible to use procmail with Cyrus.  Is it
possible to do MTA -> procmail -> Cyrus deliver ?
 
> I  also  was  asked  to  provide an ability to collect mail from other
> user's  accounts  automatically (mostly pop3) and to put it in my IMAP
> server's  folders. Fetchmail seems to be useful for that, but the same
> problem  appears - since my users do not have local accounts, I am not
> sure  what  would  be  a right way to create fetchmail's configuration
> files  for  each  of  them  individually.  I  am thinking of providing
> something  like  an  SSL-wrapped  web page with authentication against
> sasldb  for  this,  but  still  you  might have a better idea on that.
> Speaking  of  this approach, is there a standard tool for this kind of
> authentication  (SSL-ed  webpage  and  sasldb)?  I  am  asking because
> another problem I have here is letting users change their sasldb-based
> passwords without having to log in to the box.

Instead of reinventing the wheel, you might want to look into the CVS
HEAD version of the IMP webmail (also part of the Horde framework).  It
have a feature to fetch mail from other account over POP3, IMAP, etc.

With IMP "fetchmail" feature and the Ingo Sieve script manager, you
should really try Horde (www.horde.org ... get a nightly snapshot for
the latest features).

Not a flame, but if possible you should turn off plain-text
justification. It make your email very hard to read in mono-spaced font
(console mail reader).  If this a feature of The Bat! ?

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


Re: Cyrus IMAP use questions.

2003-09-23 Thread Rob Siemborski
On Tue, 23 Sep 2003, Denis V. Suhanov wrote:

> First  of  all,  I  wanted  to  implement  incoming  mail  sorting via
> procmail. Considering that none of my users have local shell accounts,
> what  is the right way to implementing individual procmail scripts for
> those  users  who don't want to use sieve? Or should I use sieve as an
> alternative?  My  only  concern with it is that most of the clients my
> users  use are unaware of sieve and I have no clue how to provide them
> an access to their sieve's scripts in this case.

Unless your users are trying to implement a mailing list of some sort or
do something very complicated, sieve should serve all of their needs.

There's also a performance hit for using procmail -- the number of
processes you need to fork to do a given mail delivery goes way up.

timsieved implements the MANAGESIEVE protocol for which there are a number
of web apps that can handle it (in addition, of course, to sieveshell).

> And  the  last  (and  probably  the most stupid) question is regarding
> 'details  delivery'.  I know that it is possbile to specify the folder
> name   together   with  an  e-mail  address  so  the  letter  will  be
> automatically  put  in the folder specified ([EMAIL PROTECTED], for
> example,  is supposed to put an e-mail into 'work' folder give that it
> exists).  But  I  am  not sure what parameters I have to specify in my
> sendmail.mc  to get this to work. I am using cyrusv2 local delivery (I
> believe  it  uses  LMTP, right?) Do I have to use any special rules or
> pass any special parameters to the for this feature to work?

As long as sendmail isn't stripping what is between the + and the @ this
should be easy, just give "anyone" the "p" right on the folders in
question.

Then rjs3+foo will file into user.rjs3.foo

-Rob

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



Cyrus IMAP use questions.

2003-09-23 Thread Denis V. Suhanov
Hello all,

I've  already  asked  a  few  questions  here and the mailing list was
extremely  helpful (in fact, I only was able to start using Cyrus IMAP
server  after  asking  around  here).  Once  again,  I  want  to thank
everybody who replied and helped me with my problems.

Now  I have a couple of questions regarding the neat little things I'd
like  to  implement  on  my  mail  server upon user's requests.

First  of  all,  I  wanted  to  implement  incoming  mail  sorting via
procmail. Considering that none of my users have local shell accounts,
what  is the right way to implementing individual procmail scripts for
those  users  who don't want to use sieve? Or should I use sieve as an
alternative?  My  only  concern with it is that most of the clients my
users  use are unaware of sieve and I have no clue how to provide them
an access to their sieve's scripts in this case.

I  also  was  asked  to  provide an ability to collect mail from other
user's  accounts  automatically (mostly pop3) and to put it in my IMAP
server's  folders. Fetchmail seems to be useful for that, but the same
problem  appears - since my users do not have local accounts, I am not
sure  what  would  be  a right way to create fetchmail's configuration
files  for  each  of  them  individually.  I  am thinking of providing
something  like  an  SSL-wrapped  web page with authentication against
sasldb  for  this,  but  still  you  might have a better idea on that.
Speaking  of  this approach, is there a standard tool for this kind of
authentication  (SSL-ed  webpage  and  sasldb)?  I  am  asking because
another problem I have here is letting users change their sasldb-based
passwords without having to log in to the box.

And  the  last  (and  probably  the most stupid) question is regarding
'details  delivery'.  I know that it is possbile to specify the folder
name   together   with  an  e-mail  address  so  the  letter  will  be
automatically  put  in the folder specified ([EMAIL PROTECTED], for
example,  is supposed to put an e-mail into 'work' folder give that it
exists).  But  I  am  not sure what parameters I have to specify in my
sendmail.mc  to get this to work. I am using cyrusv2 local delivery (I
believe  it  uses  LMTP, right?) Do I have to use any special rules or
pass any special parameters to the for this feature to work?

Thank you all very much, I would really appreciate any help with these
problems.

-- 
Sincerely yours,
 Denis   mailto:[EMAIL PROTECTED]