Re: Unknown user problem.

2002-02-25 Thread Chris Gilbert

On Monday 25 February 2002 12:10 am, David Lang wrote:
 you do this type of username mapping in sendmail (or equivalent) not in
 cyrus.

 in sendmail look at the virtusertable feture and with it you can set the
 type of mapping you are describing.

Thanks, this did the trick.  I did try it last night, but that was probably 
the problem ;) Anyway it seems to work as expected now.  Might have to keep 
tweaking the file for real users but I can live with that (I think 8)

Also the behaviour seems to have changed since the sendmail book was written 
it now keeps matching till it can't stop, so:
[EMAIL PROTECTED]   chris
@paradox.demon.co.uk[EMAIL PROTECTED]

works, but:
[EMAIL PROTECTED]   [EMAIL PROTECTED]
@paradox.demon.co.uk[EMAIL PROTECTED]

recursed too much.  (sendmail book says it only does single matching, ah well 
nothing like a bit of confusion)

 now you may be able to do something like this in sieve, I haven't looked,
 but other then that there is no way to do the user mapping at this layer.

I've not looked at sieve yet, documentation seems a tad sparse on it (but 
then I've not searched that hard yet)

Thanks,
Chris



Re: Too many users with Cyrus IMAP

2002-02-25 Thread Andres Maduro

Thanks everyone for helping.

Now that the problem is well understood, I will need to modify the hash code
to adapt to my numeric usernames and probably install ReiserFS as it is
faster than Ext3 according to my research.

When I installed Cyrus Imap I follow the installation instructions by the
book. Does any one know if you have to set the partition directories to
update synchronouslysome when using Ext3 or ReiserFS ?

Where is the hashing code ?  What function should I modify ?

Thanks in advance,
Andres Maduro

- Original Message -
From: David Lang [EMAIL PROTECTED]
To: Andres Maduro [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 25, 2002 1:10 AM
Subject: Re: Too many users with Cyrus IMAP


 what you have run into is a limit in the ext2/3 fs on the max number of
 directory entries you can have.

 there are patches out there for cyrus to create a second tier of
 directories rather then having all mailboxes in the user directory you
 have user/a user/b user/c etc (or in your case /1 /2 /3 etc) to avoid not
 only these problems, but also the problem that ext2/3 does sequential
 seaches through the directory so with this many entries you will already
 be very slow.

 also take a look at reiserfs and XFS as possible candidates for you to use
 for your mailboxes, both of them have very different structures that are
 designed to handle the large numbers of directories problem better.

 David Lang


 On Sun, 24 Feb 2002, Andres Maduro wrote:

  Date: Sun, 24 Feb 2002 23:16:06 -0800
  From: Andres Maduro [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Too many users with Cyrus IMAP
 
  Hi,
 
  I have installed Cyrus 2.0.16 on Red Hat 7.2 with the standard SASL
  cyrus-sasl-1.5.  I have been able to use it successfully and create perl
web
  administration tools for managing mailboxes.
 
  I am currently doing a stress test, I need to be able to handle more
than
  100 thousand users on this server.  I modified Cyrus Imap code so it can
  accept numeric accounts which I need as I am creating emails for a
cellular
  company ([EMAIL PROTECTED]).  I made a perl script to create
10
  accounts.  I am using ext3 filesystem under linux.  After the user
number
  31948 was created, no more accounts where created.  Examining the
imapd.log,
  I found that it was complaining about too many links error, see below
  extract from imapd.log:
 
  Feb 24 22:45:54 mail imapd[22212]: abort_txn: aborting txn 2147683085
  Feb 24 22:45:54 mail imapd[22212]: myfetch: starting txn 2147683086
  Feb 24 22:45:54 mail imapd[22212]: myfetch: reusing txn 2147683086
  Feb 24 22:45:54 mail imapd[22212]: mystore: reusing txn 2147683086
  Feb 24 22:45:54 mail imapd[22212]: IOERROR: creating directory
  /var/spool/imap/user/0132123: Too many links
 
  Any help is greatly appreciated.
 
  It would be nice if we could split /var/spool/imap/user on several
  partitions, is this possible ?  What options do I have ?
 
  Following I will show several configurations files I am using:
 
  /etc/imapd.conf -
  configdirectory: /var/imap
  partition-default: /var/spool/imap
  admins: cyrus root apache andres
  sasl_pwcheck_method: sasldb
  #sasl_auto_transition: yes
  sendmail: /usr/sbin/sendmail
  --
 
  /etc/cyrus.conf  -
  # standard standalone server implementation
 
  START {
# do not delete these entries!
mboxlist  cmd=ctl_mboxlist -r
deliver   cmd=ctl_deliver -r
 
# this is only necessary if using idled for IMAP IDLE
  #  idledcmd=idled
  }
 
  # UNIX sockets start with a slash and are put into /var/imap/socket
  SERVICES {
# add or remove based on preferences
imap  cmd=imapd listen=imap prefork=0
imaps cmd=imapd -s listen=imaps prefork=0
pop3  cmd=pop3d listen=pop3 prefork=0
pop3s cmd=pop3d -s listen=pop3s prefork=0
sieve cmd=timsieved listen=sieve prefork=0
 
# at least one LMTP is required for delivery
  #  lmtp cmd=lmtpd listen=lmtp prefork=0
lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0
  }
 
  EVENTS {
# this is required
checkpointcmd=ctl_mboxlist -c period=30
 
# this is only necessary if using duplicate delivery suppression
delprune  cmd=ctl_deliver -E 3 period=1440
  }

 --
--
 
  Best regards,
  Andres Maduro
 




Re: Too many users with Cyrus IMAP

2002-02-25 Thread Andres Maduro

Hi Walter,

Thanks for your message.  After modifying the hashing code, how should I
configure multiple partitions ?  I checked the manual for imapd.conf but
don't understand exactly how this is accomplished.

Extract from impad.conf  follows:
partition-default: /var/spool/imap(this is the only one I already have
on my imapd.conf)
partition-one: /var/spool/imap1  (Do I have to add somehing like this ?)
partition-two: /var/spool/imap2

Is this correct ?  Does the hashing code must take this into account
(several partitions) to be able to spawn directories distributed along them
?

Regards,
Andres Maduro


- Original Message -
From: Walter Wong [EMAIL PROTECTED]
To: Andres Maduro [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, February 25, 2002 1:06 AM
Subject: Re: Too many users with Cyrus IMAP



  Feb 24 22:45:54 mail imapd[22212]: IOERROR: creating directory
  /var/spool/imap/user/0132123: Too many links

 It looks like the problem is that ext3 won't let you create that many
 directories in one directory.

 Take a look at the hashimapspool option.  When you modified the code to
 accept numeric ids, you may have missed the hashing code. This will have
 the user directories created under a number of subdirectories so you won't
 run into this problem. You probably want to make sure the hash algorithm
 creates fewer than 3000 directories in any given directory.

 Also, you may want to have multiple user partitions and not just put
 everyone on the same partition.

 Walter




Re: RECENT/SEEN flags

2002-02-25 Thread Alec H. Peterson

--On Monday, February 25, 2002 8:03 +0100 Lutz Albers [EMAIL PROTECTED] 
wrote:


 I can confirm that behaviour as well. I my case it happens with a Cyrus
 IMAP server 2.0.16.

Oops, forgot that.  It happened when I was running 2.0.16 as well as 2.1.0.

Alec

--
Alec H. Peterson -- [EMAIL PROTECTED]
Chief Technology Officer
Catbird Networks, http://www.catbird.com



Re: Too many users with Cyrus IMAP

2002-02-25 Thread Walter Wong

Andres Maduro [EMAIL PROTECTED] writes:
 Thanks for your message.  After modifying the hashing code, how should I
 configure multiple partitions ?  I checked the manual for imapd.conf but
 don't understand exactly how this is accomplished.

See doc/overview.html.

The hashing code is applied to a partition. It is up to you to create
however many partitions you want.

Walter



re: messages on mailing list

2002-02-25 Thread Dave C

I don't seem to be getting all the messages on the
info-cyrus mailing list is there some type of problem
that's known as to why this might happen?

dave

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



re: ldap and cyrus

2002-02-25 Thread Dave C

I'm having some trouble getting cyrus-imap with sasl
to work with ldap, i have the cyrus-imapd ldap patch
and recompiled, but im just getting a connectoin, what
shoudl the pwcheck_method be if i still want to use
sasl as the password store and just use ldap for user
information?

daveC

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



How to get mail for unknown users?

2002-02-25 Thread Lorty

Hi,
I recently upgraded my server to a Postfix/Cyrus Imap installation. 
Everything works fine, but I'd like to know ho to get email sent to 
unknown users. The luser_relay postfix configuration parameter has a 
lower precedence than cyrus deliver...

Thanks in advance,
Lorenzo





Re: Too many users with Cyrus IMAP

2002-02-25 Thread David Lang

On Mon, 25 Feb 2002, Andres Maduro wrote:

 When I installed Cyrus Imap I follow the installation instructions by the
 book. Does any one know if you have to set the partition directories to
 update synchronouslysome when using Ext3 or ReiserFS ?

Since both of these are journaling file systems I think you will be able
to get away without needing to do the sync trick for the mailboxes
themselves.

if you need to do anything you may want to make the journal syncronous to
avoid the possibility that you accept the mail and crash before the
journal gets written to disk.

David Lang




Cyrus CVS

2002-02-25 Thread John C. Amodeo

What command would someone use to checkout the most recent version of
Cyrus Imap from CVS right *before* the code was merged to use Saslv2?

I am trying to get the most recent version with some bugs that were
fixed after 2.0.16 but before 2.1.0...

Thanks,
-John




Re: sieve vacation not working

2002-02-25 Thread Ian Macdonald

On Fri 22 Feb 2002 at 19:04:17 -0600, you wrote:

 On Fri, Feb 22, 2002 at 05:48:35PM -0500, Ken Murchison wrote:
  
  
  [EMAIL PROTECTED] wrote:
   
   I have been following this thread, and
   humbly suggest looking for where the line:
   
   unspecified-domain.google.com
   
   is lurking.
  
  The unspecified-domain is almost certainly being added by lmtpd/sieve.
 
 Yes.  In my Cyrus installation, for example, the sendmail MTA deletes
 the host portion of the envelope recipient addresses.  lmtpd/sieve then
 appends `@unspecified-domain' domain to these addresses.  This behavior
 means that they will never match the recipients real address.

My MTA is Postfix, though, and I have verified that the host is not
being stripped from the RCPT TO: part of the envelope.

 I posted a patch some time ago that allowed lmtpd/sieve to append a
 domain specified in /etc/imapd.conf instead.  It used the
 `servername' parameter, although a separate parameter might be
 better.  Doing this at least gives a chance for the recipient
 addresses to match.

For want of any better suggestions so far, I'll take a look at your
patch and maybe apply it. I hope it still applies to 2.1.2

Ian
-- 
Ian Macdonald   | The thrill is here, but it won't last long 
System Administrator| You'd better have your fun before it moves 
Google, Inc.| along... 
[EMAIL PROTECTED]  | 
650.330.0100 x1265  | 



problem with makedepend

2002-02-25 Thread Ana Belén Díez

I try to install cyrus-imap in Solaris 8.
Do have any idea what would cause the following error when running make
in the makedepend directory:

# pwd
/export/cyrus-imapd-2.0.16/makedepend

# make
gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O cppsetup.c
gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O ifparser.c
gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O include.c
gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O main.c
main.c:194:1: warning: sa_handler redefined
/usr/include/sys/signal.h:95:1: warning: this is the location of the
previous definition
main.c: In function `main':
main.c:430: invalid use of undefined type `struct sigvec'
main.c:446: invalid use of undefined type `struct sigvec'
main.c:460: invalid use of undefined type `struct sigvec'
main.c: At top level:
main.c:198: storage size of `sig_act' isn't known
make: *** [main.o] Error 1

Thanks.

Ana.




Re: problem with makedepend

2002-02-25 Thread Igor Brezac


CFLAGS=-DUSGISH ./configure
make

Hope this helps.

-Igor

On Mon, 25 Feb 2002, [iso-8859-1] Ana Belén Díez wrote:

 I try to install cyrus-imap in Solaris 8.
 Do have any idea what would cause the following error when running make
 in the makedepend directory:

 # pwd
 /export/cyrus-imapd-2.0.16/makedepend

 # make
 gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O cppsetup.c
 gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O ifparser.c
 gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O include.c
 gcc -c -I. -I.  -I/usr/local/include  -DHAVE_STDARG_H=1  -g -O main.c
 main.c:194:1: warning: sa_handler redefined
 /usr/include/sys/signal.h:95:1: warning: this is the location of the
 previous definition
 main.c: In function `main':
 main.c:430: invalid use of undefined type `struct sigvec'
 main.c:446: invalid use of undefined type `struct sigvec'
 main.c:460: invalid use of undefined type `struct sigvec'
 main.c: At top level:
 main.c:198: storage size of `sig_act' isn't known
 make: *** [main.o] Error 1

 Thanks.

 Ana.






Re: Cyrus CVS

2002-02-25 Thread Ken Murchison



John C. Amodeo wrote:
 
 What command would someone use to checkout the most recent version of
 Cyrus Imap from CVS right *before* the code was merged to use Saslv2?
 
 I am trying to get the most recent version with some bugs that were
 fixed after 2.0.16 but before 2.1.0...

Checkout the 'cyrus-2-1-sasl-v1-tail' tag using the '-r' CVS option.

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

2002-02-25 Thread Rob Siemborski

On Mon, 25 Feb 2002, John C. Amodeo wrote:

 What command would someone use to checkout the most recent version of
 Cyrus Imap from CVS right *before* the code was merged to use Saslv2?

 I am trying to get the most recent version with some bugs that were
 fixed after 2.0.16 but before 2.1.0...

I believe the tag you are looking for is cyrus-2-1-sasl-v1-tail

so, something similar to

cvs co -r cyrus-2-1-sasl-v1-tail cyrus

-Rob

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





Re: sieve vacation not working

2002-02-25 Thread Lawrence Greenfield

What's the Return-Path header indicate?

If Return-Path isn't right, vacation won't work either, since the
vacation message will attempt to go to the Return-Path.

If Return-Path isn't right, then it's almost certainly your MTA
rewriting the return-path to something bogus and there's nothing we
can do since it's destroying information we need.

Larry




sieveshell authentication failed on Solaris

2002-02-25 Thread Keith Kee

Hi:
   I am running cyrus-imap 2.1.2 and cyrus-sasl 2.1.1 on Solaris 8, and I am
having problem getting timsieved to authenticate right. Following the
instructions written in installing sieve in the docs included with the
source, I should be able to check my login to timsieved using
sieveshell --user=keith --authname=keith localhost. However, I am getting an
error: unable to connect to server: Authentication Error at
/usr/local/bin/sieveshell line 172, STDIN chunk 1.

   I am using saslauthd as my pwcheck_method, and started saslauthd -a pam.
I was able to login to the imap server but not the timsieved. Reading
through the posting in this mailing list archive, there was some mention
about having to copying pam.d/imap to pam.d/timsieved. I believe this
applies to linux only? I don't find a pamd.d directory in Solaris 8.
Besides, I did not edit pam.conf file to make imap server authenticate
correctly. Also, I have sasl_mech_list set to plain in /etc/imapd.conf.

   I am at the end of my wits, can somebody kind enough to give me a hand?

Thanks
keith





re: ldap and cyrus

2002-02-25 Thread simon

On Mon, 2002-02-25 at 16:53, Dave C wrote:
 I'm having some trouble getting cyrus-imap with sasl
 to work with ldap, i have the cyrus-imapd ldap patch
 and recompiled, but im just getting a connectoin, what
 shoudl the pwcheck_method be if i still want to use
 sasl as the password store and just use ldap for user
 information?

You want to use ldap to get the username and sasldb to
get a password. I dont think this is going to work ??? 
Use one or the other

I personally dont understand what it is you are trying to
do what do you mean just getting a connection do you mean
it will not authenticate you ? 

Sorry.

-- 
Simon




Re: How to get mail for unknown users?

2002-02-25 Thread Jeremy Howard

Lorty wrote:
 I recently upgraded my server to a Postfix/Cyrus Imap installation.
 Everything works fine, but I'd like to know ho to get email sent to
 unknown users. The luser_relay postfix configuration parameter has a
 lower precedence than cyrus deliver...

METOO
I couldn't get this working the last time I tried. In Postfix I tried
setting local_recipient_maps in the hope that luser_relay would be used for
stuff that wasn't in local_recipient_maps. But that didn't seem to work...
/METOO




[no subject]

2002-02-25 Thread Daniel Cumming

Hi,

I am having trouble getting Cyrus 2.1.2 and cyrus-sasl-2.1.1 to work on a
Mandrake 8.1 box. i seem to get this error in the logs



Feb 26 11:10:13 cyrus pop3d[6219]: unknown password verifier saslauthd

any help would be appreciated

Thanks

Daniel Cumming





Re: How to get mail for unknown users?

2002-02-25 Thread Jeremy Howard

Victor Duchovni wrote:
 What determines whether a user's mail should go to cyrus or not (it cannot
 be a cyrus delivery attempt)?

The answer seems simple. If a user is not in local_recipient_maps, it's not
a local recipient.

In my case, the reason I want this is for mail abuse control. Most messages
to a non-existant mailbox in our domain is untargeted spam hoping that
particular usernames exist. I want to redirect all undeliverable messages to
a mailbox where a script searches the headers for IP addresses and
automatically checks for open relays and submits as appropriate to ORDB and
ORBZ.





RE: sieveshell authentication failed on Solaris

2002-02-25 Thread Keith Kee

I don't quite understand why I should bother about pam.conf if the
pwcheck_method is saslauthd? Should all the authentications are done through
saslauthd for imapd, popd, and timsieved? Here is my /etc/imapd.conf:

configdirectory: /ext/imap/config
partition-default: /ext/imap/mailboxes
servername: bragi.netsco.com
admins: root cyrus
sasl_pwcheck_method: saslauthd
allowplaintext: yes
allowanonymouslogin: no
autocreatequota: 20
sendmail: /usr/lib/sendmail
timeout: 30
imapidlepoll: 60
impaidreponse: yes
umask: 077
sieveuserhomedir: false
sievedir: /ext/imap/sieve
sasl_auto_transition: yes
postuser: bb
lmtpsocket: /var/cyrus/socket/lmtp
idlesocket: /var/cyrus/socket/idle
dracinterval: 30
drachost: localhost
altnamespace: yes
userprefix: Other Users
sharedprefix: Shared Folders
logtimestamps: yes
sasl_mech_list: plain
sasl_sasldb_path: /etc/sasldb2

Running sieveshell returns authentication error with not much detailed
information:
bash-2.03# /usr/local/bin/sieveshell --user=keith --authname=keith mailhost
connecting to mailhost
Please enter your password:
unable to connect to server: Authentication Error at
/usr/local/bin/sieveshell line 172, STDIN chunk 1.

peeking in /var/adm/messages shows:
Feb 25 23:48:45 bragi timsieved[1459]: [ID 702911 auth.notice] Password
verification failed

and /var/log/imapd.log shows:
Feb 25 23:46:49 bragi master[1434]: [ID 392559 local6.debug] about to exec
/usr/
local/cyrus/bin/timsieved
Feb 25 23:46:49 bragi sieve[1434]: [ID 518349 local6.debug] executed
Feb 25 23:46:49 bragi sieve[1434]: [ID 921384 local6.debug] accepted
connection
Feb 25 23:46:52 bragi timsieved[1434]: [ID 656617 local6.notice] badlogin:
local
host[127.0.0.1] PLAIN authentication failure
Feb 25 23:46:52 bragi master[1365]: [ID 310780 local6.debug] process 1434
exited
, status 75

Thanks
keith

 -Original Message-
 From: Ken Murchison [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 25, 2002 8:24 PM
 To: Keith Kee
 Cc: Cyrus Info
 Subject: Re: sieveshell authentication failed on Solaris




 Keith Kee wrote:
 
  Hi:
 I am running cyrus-imap 2.1.2 and cyrus-sasl 2.1.1 on
 Solaris 8, and I am
  having problem getting timsieved to authenticate right. Following the
  instructions written in installing sieve in the docs included with the
  source, I should be able to check my login to timsieved using
  sieveshell --user=keith --authname=keith localhost. However, I
 am getting an
  error: unable to connect to server: Authentication Error at
  /usr/local/bin/sieveshell line 172, STDIN chunk 1.
 
 I am using saslauthd as my pwcheck_method, and started
 saslauthd -a pam.
  I was able to login to the imap server but not the timsieved. Reading
  through the posting in this mailing list archive, there was some mention
  about having to copying pam.d/imap to pam.d/timsieved. I believe this
  applies to linux only? I don't find a pamd.d directory in Solaris 8.
  Besides, I did not edit pam.conf file to make imap server authenticate
  correctly. Also, I have sasl_mech_list set to plain in /etc/imapd.conf.

 Whether you have one big pam.conf or separate files under pam.d, you
 need to have a 'sieve' config which can be a copy of your 'imap' or
 'pop' config.

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






postfix -- procmail -- deliver -- cyrus still doesn't work

2002-02-25 Thread Manuel Hendel

I tried several things. Here's what I've done:

.procmailrc:
:0: $LOGNAME.lock
* ^To: [EMAIL PROTECTED]
| /usr/local/cyrus/bin/deliver mhetest

I'm sending mails for testing to [EMAIL PROTECTED]
Logs from procmailrc:
procmail: Match on ^To: [EMAIL PROTECTED]
procmail: Locking mhe.lock
procmail: Executing /usr/local/cyrus/bin/deliver,mhetest
procmail: [87823] Mon Feb 25 15:20:58 2002
procmail: Non-zero exitcode (65) from /usr/local/cyrus/bin/deliver
procmail: Assigning LASTFOLDER=/usr/local/cyrus/bin/deliver mhetest

I also gave the deliver program more privileges as someone told me to
do.
chmod u+s /usr/local/bin/deliver
chmod g+s /usr/local/bin/deliver

Does anybody has a clue what's goning up here?

Thanks,
Manuel
-- 
Sex is not the answer. Sex is the question. Yes is the answer. 
-Swami X 
(contributed by Chris Johnston) 



Re: postfix -- procmail -- deliver -- cyrus still doesn't work

2002-02-25 Thread Manuel Hendel

On Tue, Feb 26, 2002 at 08:01:13AM +0100, Manuel Hendel wrote:

That's what cyrus logs about it:

imapd.log:
Feb 26 08:13:13 he0 master[1747]: about to exec
/usr/local/cyrus/bin/lmtpd
Feb 26 08:13:13 he0 service-lmtpunix[1747]: executed
Feb 26 08:13:14 he0 lmtpd[1747]: accepted connection
Feb 26 08:13:14 he0 lmtpd[1747]: lmtp connection preauth'd as postman
Feb 26 08:14:14 he0 master[44862]: process 1747 exited, status 0

Manuel

-- 
Everything you need you already have. You are complete right now, you are a 
whole, total person, not an apprentice person on the way to someplace else. 
Your completeness must be understood by you and experienced in your thoughts 
as your own personal reality. 
-Wayne Dyer 



Re: sieveshell authentication failed on Solaris

2002-02-25 Thread Simon Matter

As you mentioned you have started saslauthd to use PAM. Therefore you
need to have the different configs in PAM. If timsieved needs
authentication, it sends the request to saslauthd with service sieve,
saslauthd send the auth request to PAM with service sieve. That's why
you need a sieve config in PAM.

-Simon

Keith Kee schrieb:
 
 I don't quite understand why I should bother about pam.conf if the
 pwcheck_method is saslauthd? Should all the authentications are done through
 saslauthd for imapd, popd, and timsieved? Here is my /etc/imapd.conf:
 
 configdirectory: /ext/imap/config
 partition-default: /ext/imap/mailboxes
 servername: bragi.netsco.com
 admins: root cyrus
 sasl_pwcheck_method: saslauthd
 allowplaintext: yes
 allowanonymouslogin: no
 autocreatequota: 20
 sendmail: /usr/lib/sendmail
 timeout: 30
 imapidlepoll: 60
 impaidreponse: yes
 umask: 077
 sieveuserhomedir: false
 sievedir: /ext/imap/sieve
 sasl_auto_transition: yes
 postuser: bb
 lmtpsocket: /var/cyrus/socket/lmtp
 idlesocket: /var/cyrus/socket/idle
 dracinterval: 30
 drachost: localhost
 altnamespace: yes
 userprefix: Other Users
 sharedprefix: Shared Folders
 logtimestamps: yes
 sasl_mech_list: plain
 sasl_sasldb_path: /etc/sasldb2
 
 Running sieveshell returns authentication error with not much detailed
 information:
 bash-2.03# /usr/local/bin/sieveshell --user=keith --authname=keith mailhost
 connecting to mailhost
 Please enter your password:
 unable to connect to server: Authentication Error at
 /usr/local/bin/sieveshell line 172, STDIN chunk 1.
 
 peeking in /var/adm/messages shows:
 Feb 25 23:48:45 bragi timsieved[1459]: [ID 702911 auth.notice] Password
 verification failed
 
 and /var/log/imapd.log shows:
 Feb 25 23:46:49 bragi master[1434]: [ID 392559 local6.debug] about to exec
 /usr/
 local/cyrus/bin/timsieved
 Feb 25 23:46:49 bragi sieve[1434]: [ID 518349 local6.debug] executed
 Feb 25 23:46:49 bragi sieve[1434]: [ID 921384 local6.debug] accepted
 connection
 Feb 25 23:46:52 bragi timsieved[1434]: [ID 656617 local6.notice] badlogin:
 local
 host[127.0.0.1] PLAIN authentication failure
 Feb 25 23:46:52 bragi master[1365]: [ID 310780 local6.debug] process 1434
 exited
 , status 75
 
 Thanks
 keith
 
  -Original Message-
  From: Ken Murchison [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 25, 2002 8:24 PM
  To: Keith Kee
  Cc: Cyrus Info
  Subject: Re: sieveshell authentication failed on Solaris
 
 
 
 
  Keith Kee wrote:
  
   Hi:
  I am running cyrus-imap 2.1.2 and cyrus-sasl 2.1.1 on
  Solaris 8, and I am
   having problem getting timsieved to authenticate right. Following the
   instructions written in installing sieve in the docs included with the
   source, I should be able to check my login to timsieved using
   sieveshell --user=keith --authname=keith localhost. However, I
  am getting an
   error: unable to connect to server: Authentication Error at
   /usr/local/bin/sieveshell line 172, STDIN chunk 1.
  
  I am using saslauthd as my pwcheck_method, and started
  saslauthd -a pam.
   I was able to login to the imap server but not the timsieved. Reading
   through the posting in this mailing list archive, there was some mention
   about having to copying pam.d/imap to pam.d/timsieved. I believe this
   applies to linux only? I don't find a pamd.d directory in Solaris 8.
   Besides, I did not edit pam.conf file to make imap server authenticate
   correctly. Also, I have sasl_mech_list set to plain in /etc/imapd.conf.
 
  Whether you have one big pam.conf or separate files under pam.d, you
  need to have a 'sieve' config which can be a copy of your 'imap' or
  'pop' config.
 
  Ken
  --
  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
 
 





Cyrus still going?

2002-02-25 Thread Brian Capouch

Just wondering if work is still being done on Cyrus.

I have sent repeated messages to cyrus-bugs without an answer; there
seem to be serious flaws with the integration of SASL 2.1.1 with cyrus
2.1.1, but without help from the CMU folks I don't have any idea.

We are getting ready to cut over a 1000+ user system to the latest
cyrus, but it now seems to be abandoned by its maintainers.

Does anyone know the story?

Thanks.

B.