Cyrus 2.3 with global sieve?

2005-12-15 Thread Cristian Livadaru
Hi,
does Cyrus 2.3 have the option for global sieve scripts?
As far as I can remember somebody sayd once in the mailinglist that this
feature will be in cyrus 2.3

Regards, Cristian

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus 2.3 with global sieve?

2005-12-15 Thread Cristian Livadaru
On Thu, Dec 15, 2005 at 02:56:15PM -0500, Ken Murchison wrote:
 Andrew Morgan wrote:
 On Thu, 15 Dec 2005, Cristian Livadaru wrote:
 
 Hi,
 does Cyrus 2.3 have the option for global sieve scripts?
 As far as I can remember somebody sayd once in the mailinglist that this
 feature will be in cyrus 2.3
 
 
 In changes.html, I see:
 
 # The Sieve include extension is now supported. This also allows for 
 global sieve scripts. See the new sieve_extensions options to enable it.
 
 
 I'm not sure if this means you have to create a sieve script for each 
 user that then includes the global sieve script.
 
 Yes, it does.


hmmm that won't realz solve my problem or what easy way do I have to
create a sieve script for all users ? some automated way to do so.

Cris

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: SASL problems again...and more...

2005-12-15 Thread Cristian Livadaru
On Thu, Dec 15, 2005 at 08:39:33PM +0100, [EMAIL PROTECTED] wrote:
 Thanks in advance to all the ones that answered me!!!
 I haven't solve the problem yet... :-(
 
 My imapd.conf contains:
 
 sasl_pwcheck_method: auxprop
 sasl_auxprop_plugin: sasldb
 sasl_mech_list: plain login cram-md5 digest-md5
 
 and 
 
 sasldblistusers2
 
 shows me all the users I inserted in SASL authentication system. 
 If I try:
 telnet localhost imap
 
 0a100 login cyrus cyrus
 
 I receive:
 
 0a100 NO Login failed: user not found
 
 and no message in /var/log/messages.
 If I try:
 
 testsaslauthd -u cyrus -p cyrus
 
 in /var/log/messages I read:
 
 Dec 15 17:12:01 server imap(pam_unix)[2565]: authentication failure; logname= 
 uid=0 euid=0 tty= ruser= rhost=  user=cyrus
 Dec 15 17:12:03 server saslauthd[2565]: do_auth : auth failure: 
 [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]


notice the [mech=pam] ? 
this means you are still trying to use PAM and not sasldb !
did you restart cyrus after modifying the imapd.conf ? 


-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: SASL problems

2005-12-14 Thread Cristian Livadaru
On Wed, Dec 14, 2005 at 01:26:00PM +0100, [EMAIL PROTECTED] wrote:
 I do apologize but I have a problem I cannot solve.
 I type:
 
 sasldblistusers2
 
 and I see that user cyrus exists in sasl2.db, that has 644 permissions.

yes this means that you have the user in your sasldb, but the error
below shows that you try to authenticate with PAM !
so no mater what you have in your sasldb, it won't work.
so if you want sasl to work with sasldb you should set the config in
imapd.conf 
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb

if you want to use it with pam then you will have to look for/create the
cyrus user somewhere else.

regards, Cristian 

 When I try 
 
 testsaslauthd -u cyrus -p cyrus
 
 I found in /var/log/messages the following:
 
 Dec 14 12:42:19 server imap(pam_unix)[2999]: authentication failure; logname= 
 uid=0 euid=0 tty= ruser= rhost=  user=cyrus
 Dec 14 12:42:22 server saslauthd[2999]: do_auth : auth failure: 
 [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
 
 My /etc/imapd.conf has:
 
 sasl_pwcheck_method: saslauthd
 sasl_mech_list: PLAIN
 
 and 
 
 ps -elf | grep sasl 
 
 returns:
 
 1 S root  2997 1  0  85   0 -  1048 interr 12:35 ?00:00:00 
 saslauthd -a pam
 1 S root  2998  2997  0  85   0 -  1059 interr 12:35 ?00:00:00 
 saslauthd -a pam
 1 S root  2999  2997  0  85   0 -  1059 interr 12:35 ?00:00:00 
 saslauthd -a pam
 1 S root  3000  2997  0  85   0 -  1048 schedu 12:35 ?00:00:00 
 saslauthd -a pam
 1 S root  3002  2997  0  85   0 -  1048 interr 12:35 ?00:00:00 
 saslauthd -a pam
 
 
 Please, can anyone help me?
 
 Thank you in advance
 
 Stefano C.
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Autopurge messages

2005-12-06 Thread Cristian Livadaru
On Tue, Dec 06, 2005 at 01:05:25PM +0100, Balazs Pocze wrote:
 Can Cyrus purge automatically the deleted messages from the mailbox?
 When a user deletes a mail, then it remains on the server, until client 
 runs the 'remove deleted messages from server' command (Outlook). So, it 
 is possible to make it the cyrus server itself instead of the clients?

thunderbird and horde(webmail) also have such a setting, but this can be
configured on the client to do a autoporge or move the deleted mails to
trash instead of marking them as deleted.

Cris

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: automatically delete emails after a few days

2005-12-05 Thread Cristian Livadaru
On Mon, Dec 05, 2005 at 09:32:25AM -0600, Michael King wrote:
 Strange...
 
 I use % instead of * - is that just a version difference thing, or should I
 be using * ?
 
 I'm using:
 
 cmd=ipurge -X -d 6 -f user/%/SPAM
 
 I use the -X so that emails with a date in the distant future (furthest I've
 seen is 2012) don't stick around until then.

how would the correct syntax bee to purge all spam mails from virtual
domains ? 

user/%/SPAM is not enough I have to also pass the domain, I now created
for every domain a cron script like this:

user/%/[EMAIL PROTECTED]
user/%/[EMAIL PROTECTED]
.
.
.

but this should not be a final solution ( well, this is what I sayd some
long long time ago and forgot about it )

Cris

 
 HTH,
 
 Michael King, Systems Administrator
 Web International, Inc.
 [EMAIL PROTECTED]
 http://www.webinternational.net
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:info-cyrus-
  [EMAIL PROTECTED] On Behalf Of Darin Perusich
  Sent: Monday, December 05, 2005 7:50 AM
  To: Thomas Vogt; info-cyrus@lists.andrew.cmu.edu
  Subject: Re: automatically delete emails after a few days
  
  setup an event using the ipurge command in cyrus.conf, here's an example.
  
  junkrm cmd=ipurge -d 14 -f user/*/Junk at=0345
  
  Thomas Vogt wrote:
   Hi
  
   Is there an easy way to delete mails after a certain period? Let's
   assume every user has a personal Junk folder. I want to delete every
   email older than 30 days.
  
   I know it's possible with find(8) but the problem is that I have to
   reconstruct every mailbox. This is very painfull if you have 100k
   mailboxes.
  
   Any idea how I can do that? Perhaps with sieve extension?
  
   Regards,
  
  
   
  
   
   Cyrus Home Page: http://asg.web.cmu.edu/cyrus
   Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
   List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
  
  --
  Darin Perusich
  Unix Systems Administrator
  Cognigen Corp.
  [EMAIL PROTECTED]
  
  Cyrus Home Page: http://asg.web.cmu.edu/cyrus
  Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
  List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
 
 
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: ipurge or expire on virtual domains?

2005-11-30 Thread Cristian Livadaru
On Thu, Dec 01, 2005 at 10:28:02AM +1100, Robin Rainton wrote:
 Hi,
 
 I've just moved to a virtual domain environment which seems to have broken
 ipurge. Used to have stuff such this in a cron job:
 
 1 0 * * * /usr/cyrus/bin/ipurge -f -d 7 user.\*.Spam  /dev/null
 
 Of course, now using 'unixhierarchysep: yes' and though I could just change 
 the
 ipurge command to this:
 
 ipurge -f -d 7 user/\*/Spam
 
 But that doesn't work. Also tried stuff like this:
 
 ipurge -f -d 7 user/\*/[EMAIL PROTECTED]
 ipurge -f -d 7 user/[EMAIL PROTECTED]/Spam

I have unixhierarchysep: yes and this is how I do the ipurge, not quite
the best solution since I have to creati it for every domain
didn't find out how to solve this 

user/%/[EMAIL PROTECTED]

hope this helps

 
 All with no joy. Can anyone shed light on the correct ipurge syntax for 
 virtual
 domains? This is all with v2.2 of the server.
 
 Alternatly, I found something about expiring messages with mboxcfg expire... 
 Is
 there a way to automatically set expire values in the same way one can specify
 autocreateinboxfolders? That would be nice, then users could perhaps control
 this as I assume the autoexpire setting might only be set at mbcreation time? 
 I
 have this in /etc/imapd.conf for example:
 
 autocreateinboxfolders:Sent Items|Trash|Drafts|Spam
 
 Thanks in advance,
 
 Robin
 
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: FW: Does anyone know what these log messages mean?

2005-11-29 Thread Cristian Livadaru
On Tue, Nov 29, 2005 at 11:10:28AM -0600, Saltmarsh, Evan M wrote:

  
 
 Nov 29 10:25:17 imap_svr imap[14331]: [ID 702911 auth.error] sql_select
 option missing
 
 Nov 29 10:25:17 imap_svr imap[14331]: [ID 702911 auth.error] auxpropfunc
 error no mechanism available

this looks a bit strange, auxpropfunc ?? auxprop would be ok but
auxpropfunc?


 
 Nov 29 10:25:17 imap_svr imap[14331]: [ID 702911 auth.debug]
 _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
 
 Nov 29 10:25:26 imap_svr perl[14330]: [ID 702911 auth.notice] No worthy
 mechs found
 
  
 
 Thanks,
 
  
 
 Evan Saltmarsh
 
 UNIX Systems Administrator
 
 Information Technology Services
 
  
 

Content-Description: ATT579466.txt
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Unable to locate maildrop

2005-11-29 Thread Cristian Livadaru
I read on the mailing list quite a few time about this issue but no real
sollution.
I just created 3 mail account, [EMAIL PROTECTED], [EMAIL PROTECTED] and
[EMAIL PROTECTED] the strange thing is that user 1 and user 3 have no
problems but user2 receives a Unable to locate maildrop for
[EMAIL PROTECTED] : Mailbox does not exist

If I use IMAP It works, how can the mailbox not exist if imap works ? 

Cris

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Unable to locate maildrop

2005-11-29 Thread Cristian Livadaru
On Tue, Nov 29, 2005 at 09:29:59PM +0100, Cristian Livadaru wrote:
 I read on the mailing list quite a few time about this issue but no real
 sollution.
 I just created 3 mail account, [EMAIL PROTECTED], [EMAIL PROTECTED] and
 [EMAIL PROTECTED] the strange thing is that user 1 and user 3 have no
 problems but user2 receives a Unable to locate maildrop for
 [EMAIL PROTECTED] : Mailbox does not exist
 
 If I use IMAP It works, how can the mailbox not exist if imap works ? 

just forget this mail, I think I need a break. It's incredible who
someone can write user2 three times wrong !
I just made a typo first when creating the mailbox, but I noticed that
and fixed it, then I entered the data twice at the server setings wrong
! and the 4th time with the imap setting correct.
now if this isn't a PEBKAC error ...

Cris

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: synchronizing main and backup server

2005-11-28 Thread Cristian Livadaru
On Mon, Nov 28, 2005 at 10:37:15PM +0200, Cristian Mitrana wrote:
 Cristian Livadaru wrote:
 
 What would be the best way to keep 2 servers up to date with the mails? 
 I read about imapsync but here you would need the password which I could
 implement to store it in the db in plain text but I don't realy want
 this. I would like to keep them crypted like they are now.
 
  
 
 Then use proxy authorization and you'll only need an admin account and
 the corresponding password to access every user's mailboxes.

thanks, just reading the docs and some posts about imapsync which also
pointed me to this.

 
 My idea is to have a server here lets say foo.net which is the main mail
 server for all my domains, and a backup mx somehere else, lets say
 bar.net, now when foo.net is not reachable the mails will automaticaly
 go to bar.net by having 2 mx records this should be no issue.
 But now comes the tricky part with cyrus how do I get the mails from
 bar.net to foo.net ? 
  
 
 You don't, that's what mx backups are good for. Your secondary mx 
 should deliver
 the mail to your primary host when it's up. If you want to keep 2 cyrus 

ok now I understand that I was looking in the wrong direction, after
reading your mail and a smal search on backup mx I found what I actualy
want.

 servers then
 perhaps you need a 2-way imapsync solution. And, of course, this only 
 works for receiving
 mails, what about serving your clients and keeping their mails available 
 at all times ?

while waiting for a reply I was reading some docs and I thing the
mupdate solution would be great but not quite what I need for the
moment, anywas I will also look at this after I have everything running.
once again a big thank you for the backup mx hint, didn't came acros my
mind to look in that direction.

Cris

 
 is there any way without needing the passwords from the users? 
  
 
 See the docs for proxy authorization.
 
 I was thinking of a rsync solution but I don't think cyrus would be very
 pleased with this.
  
 
 
 mitu
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


traffic accounting for imap and pop

2005-11-21 Thread Cristian Livadaru
I have been reading the mailing list archive over the anonymous impa,
not sure how actual it still is, anyway I found some patches from 2003
regarding trafficaccounting.
Is this in anyway included in a actual release? or do the patches still
work? 
I love cyrus and I'm using it since some years but when it comes to some
documentation it realy is hard to find something, I think the new wiki
is a first great step in the right direction and I hope that everybody
that has something to contribute to the wiki that they will do it. 
but now back my subject, how can I do some accounting, preferably for
every virtual domain or user ( then I could extract the domain ) 

Regards, Cristian Livadaru

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: traffic accounting for imap and pop

2005-11-21 Thread Cristian Livadaru
On Mon, Nov 21, 2005 at 03:56:40PM -0500, Brant Fitzsimmons wrote:
 Cristian Livadaru wrote:
 
 I have been reading the mailing list archive over the anonymous impa,
 not sure how actual it still is, anyway I found some patches from 2003
 regarding trafficaccounting.
 Is this in anyway included in a actual release? or do the patches still
 work? 
 I love cyrus and I'm using it since some years but when it comes to some
 documentation it realy is hard to find something, I think the new wiki
 is a first great step in the right direction and I hope that everybody
 that has something to contribute to the wiki that they will do it. 
   
 
 
 Apparently spammers are already taking advantage of it:
 http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/CyrusAdministration

was this link suposed to point to the site with spam ( that looks like
it has been removed in the meantime ) or should it be some help for my
question since I didn't find anything that could help me.

well yes, spamers are a pain in the *** but with a Wiki it's easy to get
back to the old content.
But take care with TWiki ... keep it up2date, I forgot about an old
twiki test installation and my box got hacked and was used for some
spam's :( 

 
 but now back my subject, how can I do some accounting, preferably for
 every virtual domain or user ( then I could extract the domain ) 
 
 Regards, Cristian Livadaru
 
 
 -- 
 Brant Fitzsimmons
 [EMAIL PROTECTED]
 ---
 Strange times are these in which we live when the old and the
 young are taught falsehoods in the schools of learning. And the one
 man that dares to tell the truth is called at once a lunatic and
 a fool.
   -Plato
 



 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

-- 
Cristian Livadaru
--=[ http://www.livadaru.net/cristian ]=--

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrdump questions

2004-01-21 Thread Cristian Livadaru
can somebody tell me how I cant get cyrdump to dump me only the inbox ? 
I can only dump the complete mailbos with chidren but I want only the
INBOX.
I tried cyrdump user/test/[EMAIL PROTECTED] but that doesn't work 
and in the manpage there is no description about it.

I'm using cyrus 2.2.2


Cris


Re: URGENT, cyrus sais Mailbox doesn't exist

2004-01-20 Thread Cristian Livadaru
Quoting Craig Ringer [EMAIL PROTECTED]:

 Cristian Livadaru wrote:
 
   The only diference between mee
  and the other users is that I have a system account.
 
 Please try to avoid using a cyrus admin account (if that's what you 
 meant) for a normal user. MUAs tend to do nasty things like create Sent 

nope, thats not what I mean.
I mean I have an linux user while the other users have only got cyrus users.
and thats why postfix accepted the mail for me but not for the other users.
I just don't understand why deliver says mailbox doesn't exist and lmtp works
fine.




This message was sent using IMP, the Internet Messaging Program.


URGENT, cyrus sais Mailbox doesn't exist

2004-01-19 Thread Cristian Livadaru
Hi, 

I realy realy realy need some help
since yesterday my postfix sais:
User unknown in local recipient table

so I tried a manual deliver 
/usr/cyrus/bin/deliver -e -m [EMAIL PROTECTED]

[EMAIL PROTECTED]: Mailbox does not exist

first question, what is that + in the front of the email ? maybee this is the
problem.

if I do a ctl_mboxlist -d then I get all mailboxes dumped, a login works also so
I can login and read my mails. 
and the next weird thing is that I can get mails. The only diference between mee
and the other users is that I have a system account.
I'm not suer if it is a cyrus or postfix problem but I think the deliver should
not return Mailbox does not exist.

I user Cyrus 2.2.2Beta on a debian system.


please please help !


regards, Cris



This message was sent using IMP, the Internet Messaging Program.


Re: URGENT, cyrus sais Mailbox doesn't exist

2004-01-19 Thread Cristian Livadaru
Quoting Jure Pečar [EMAIL PROTECTED]:

 On Tue, 20 Jan 2004 00:01:00 +0100
 Cristian Livadaru [EMAIL PROTECTED] wrote:
 
  Hi, 
  
  I realy realy realy need some help
  since yesterday my postfix sais:
  User unknown in local recipient table
 
 This looks like a postfix misconfiguration to me. What is your
 local_recipient_maps set to?

Just found that out. 

local_reciepient_maps was comented so I removed the coment and defined it blank

local_reciepient_maps= 

I realy can't remember changing this :-(
but I remeber that I restarted postfix after an  update at 4:00 in the morning
and since then I've got the problems.

thanks


This message was sent using IMP, the Internet Messaging Program.


sieve login problems

2004-01-07 Thread Cristian Livadaru
Hi,

I'm just trying to exepriment a bit with sieve after installing cyrus
2.2.2 beta.
Everything on imap side works fine, but sieve doesn't realy work.
I tried sivtest like this:

sivtest -r domain.tld -m login -a foo

and here is what I get:

S: IMPLEMENTATION Cyrus timsieved v2.2.2-BETA
S: SASL NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
S: SIEVE fileinto reject envelope vacation imapflags notify
subaddress relational regex
S: OK
C: AUTHENTICATE LOGIN
S: {12}
S: VXNlcm5hbWU6
Please enter your password:
C: {12+}
YHJaY3VeYW==
S: {12}
S: UGFzc3dvcmQ6
C: {12+}
YHJaY3VeYW==
S: NO Authentication Error
Authentication failed. generic failure
Security strength factor: 0
C: LOGOUT
Connection closed.

and syslog:

Jan  7 13:38:18 vwclub sieve[26886]: badlogin: vwclub[127.0.0.1] LOGIN
authentication failure

and in auth.log I see this

Jan  7 13:38:16 vwclub sieve[26886]: OTP unavailable because can't
read/write key database /etc/opiekeys: No such file or directory

I'm not shure if it has something to do with this problem.
anybody got an idea ?


Cris


Re: mbox to Cyrus migration document

2003-12-17 Thread Cristian Livadaru
On Tue, Nov 18, 2003 at 12:26:37PM -0800, Andrew Morgan wrote:
 
 On August 30th, 2003, our site migrated from standard unix mbox format
 mailboxes to Cyrus.  I've seen a lot of people ask how to do this
 migration, so I've written up a document describing how we did it and the
 scripts we used.
 
 http://www.onid.orst.edu/docs/technical/cyrusmigration.shtml
 
 Andy Morgan
 Central Computing
 Oregon State University
 

Hi, I just tryied to migrate with these tools and after some
modifications ( virtual host, diferen path in cyrus 2.2.2Beta ) it also
converted but cyrus cant handle it. When checking my mail I see no mail
and when receiven new mile the files are overwritten.
has someone tested this successful with cyru2.2.2 ?
or is there any other way to migrate ? I only have about 20 accounts but
some of them have a lot of folders !


Re: sasl password change over web or poppassd

2003-12-15 Thread Cristian Livadaru
On Sun, Dec 14, 2003 at 05:59:39PM -0800, Joakim Ryden wrote:
 On 12/14/03 2:48 PM Cristian Livadaru wrote:
 I am looking for something that makes it posible, preferebly by
 poppassd, to change your saslpassword.
 
 I don't know of any ( OK that was a lie; I do know of saslpasswd(2) ) - 
 just wanted to take a step back and point out the difficulty of a 
 generic SASL password changer. Since there are so many ways one can 
 store SASL passwords (Kerberos, LDAP, SQL, sasldb etc) it would probably 
 take some thinking before writing, and a lot of writing after thinking, 
 something that takes all of those into account.

well I only need it for sasldb, thats why saslpoppass would be great.
the problem is it won't compile :-(
It was designed for sasl1.x and I'm have no clue about C, I fixed some
things but there still is some to be changed so it can compile.


and how do I create folder with virtual hosts ?

2003-12-15 Thread Cristian Livadaru
sorry for this rather stupid newbie question.
But how do I create folders now with virtual hotsts ?
wiht cyrus 2.1 it was user.foo.fodler1
bot now ? I tried some but all didn't work ( [EMAIL PROTECTED]
/folder1 ... )

Cris



Re: and how do I create folder with virtual hosts ?

2003-12-15 Thread Cristian Livadaru
On Tue, Dec 16, 2003 at 02:30:40AM +0100, Cristian Livadaru wrote:
 sorry for this rather stupid newbie question.
 But how do I create folders now with virtual hotsts ?
 wiht cyrus 2.1 it was user.foo.fodler1
 bot now ? I tried some but all didn't work ( [EMAIL PROTECTED]
 /folder1 ... )
 
 Cris

found it 
thanks to the post from wim baker where he wrote this:
cyradm --auth plain --user [EMAIL PROTECTED] localhost

then I can create a folder 
cm user/foo/folder1


and here the config for IMP

$servers['cyrus'] = array(
'name' = 'Cyrus IMAP Server',
'server' = 'localhost',
'protocol' = 'imap/notls',
'port' = 143,
'folders' = 'INBOX/',
'namespace' = '',

Cris


sieve howto

2003-12-14 Thread Cristian Livadaru

hi, has someone got a sieve howto ?
or maybe sombody could tell me how I can manage this.
I want that every subject, sender and receiver of a mail is being passed to a
script or inserted into mysql. 
I use this for SMS notify. Now I am using procmail but I want to switch
to cyrus/sieve. any hints for me ?

Cris



sieve howto

2003-12-14 Thread Cristian Livadaru
On Sun, Dec 14, 2003 at 10:25:36AM -0800, Wil Cooley wrote:
 On Sun, 2003-12-14 at 08:27, Cristian Livadaru wrote:
  hi, has someone got a sieve howto ?
  or maybe sombody could tell me how I can manage this.
  I want that every subject, sender and receiver of a mail is being passed to a
  script or inserted into mysql. 
  I use this for SMS notify. Now I am using procmail but I want to switch
  to cyrus/sieve. any hints for me ?
 
 Sieve cannot do this; it is not designed to communicate externally in
 any fashion.  It's designed to do one thing, and one thing only--filter
 and sort e-mail.
 
 Wil
 -- 

now that realy hits me.
has anyone got an idea how I could solve this problem ?




sasl password change over web or poppassd

2003-12-14 Thread Cristian Livadaru
I am looking for something that makes it posible, preferebly by
poppassd, to change your saslpassword.

I came across saslpoppassd but alas it was made for sasl 1.5...
and it won't compile. 
I'm not realy a C expert, but I tried to figure it out myself. I looked
at the new sasl.h and what parameteres are missing or what parameters
are to much and I think I managed to fix those, but then there is
something about:
/usr/lib/gcc-lib/i486-linux/3.3.2/include/varargs.h:4:2: #error GCC no
longer implements varargs.h.
/usr/lib/gcc-lib/i486-linux/3.3.2/include/varargs.h:5:2: #error Revise
your code to use stdarg.h.

and I don't know how to fix this. Maybe someone has some time too look
at this or you have a tool that works.

Cris


got some troubles with virtual domains

2003-12-12 Thread Cristian Livadaru
Hi,

now I got almost everything runing, I compiled cyrus 2.2.2Beta
I can also create mailboxes for diferent domains but when trying to send
a mail postfix tels me user unknown.
for example, lets say I have the domain foo.com and bar.com
if telnet to postfix and say
rcpt to:[EMAIL PROTECTED] it says user unkown
BUT! if I do it like this:
rcpt to:[EMAIL PROTECTED]  ( without the .com ) it works !
can someone please help me ? 

cris


found my compilation problems

2003-12-08 Thread Cristian Livadaru
I found my compilation problem, I don't understand why configure says I
have libdb 3.2 although I installed 4.1 ( I also checked the db.h an
passed the path to the include and lib dir ) now I removed the libdb4.1
packages and installed the libdb3.2 and everything worked fine now.
is there any disadvantage using libdb3.2 ? 
and now I came acros a new problem:

gcc -c -I. -I.. -I. -I./../lib -I./../sieve  -I./../sieve
-I/usr/include/   -DHAVE_CONFIG_H  -g -O2 \
mupdate-client.c
In file included from mupdate-client.h:47,
 from mupdate.h:56,
 from mupdate-client.c:72:
mupdate_err.h:20: Warnung: `struct et_list' declared inside parameter
list
mupdate_err.h:20: Warnung: its scope is only this definition or
declaration, which is probably not what you want
In file included from mupdate.h:57,
 from mupdate-client.c:72:
mupdate_err.h:20: Warnung: `struct et_list' declared inside parameter
list
mupdate_err.h:20: error: conflicting types for
`initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
`initialize_mupd_error_table_r'
In file included from mupdate-client.c:73:
mupdate_err.h:20: Warnung: `struct et_list' declared inside parameter
list
mupdate_err.h:20: error: conflicting types for
`initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
`initialize_mupd_error_table_r'
make[1]: *** [mupdate-client.o] Fehler 1
make[1]: Leaving directory
`/home/dracula/downloads/cyrus-imapd-2.2.2-BETA/imap'
make: *** [all] Fehler 1

cyrus is the last thing I have to get running and the I can start with
the new server, I would apriciate any help.

cris


can't compile cyrus-imapd-2.2.2-BETA

2003-12-04 Thread Cristian Livadaru
Pleas help !
I still cant compile cyrus 2.2.2-Beta
has anybody bot any hint for me ? I searched the net without success :-(

gcc:
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,ox
Thread model: posix
gcc version 3.3.2 (Debian)

anything else needed ? 


/home/dtest/downloads/cyrus/cyrus-imapd-2.2.2-BETA/lib/cyrusdb_berkeley.c:389:
undefined reference to `db_strerror_4001'
../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0xa72): In function
`gettid':
/home/dtest/downloads/cyrus/cyrus-imapd-2.2.2-BETA/lib/cyrusdb_berkeley.c:410:
undefined reference to `db_strerror_4001'
../lib/libcyrus.a(cyrusdb_berkeley.o)(.text+0xb6a):/home/dtest/downloads/cyrus/cyrus-imapd-2.2.2-BETA/lib/cyrusdb_berkeley.c:464:
more undefined references to `db_strerror_4001' follow
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make[1]: Leaving directory
`/home/dtest/downloads/cyrus/cyrus-imapd-2.2.2-BETA/imap'
make: *** [all] Error 1


regards, Cris


Re: Alot of confusion

2003-12-01 Thread Cristian Livadaru
On Fri, Nov 28, 2003 at 08:18:26PM -0500, Ezra wrote:
 
 If I try to logon to my server with the above setting I have success.  
 But if I have sasl_pwcheck_method: saslauthd inside imapd.conf and have
 pwcheck_method: saslauthd inside /usr/lib/sasl2/smtpd.conf I can't 
 logon to my server.  Can some explain this to me.

is your saslauthd running ?
what errors do you get ? check the logfiles maybe you will see more
information.

-- 
Dracula ( Cristian Livadaru )
--=[ http://VWclub.ro ]=--



Debian + Cyrus 2.2

2003-11-22 Thread Cristian Livadaru
so now I got postfix + cyrus + procmail running.
the next problem would be virtual hosts but I don't want to compile
cyrus myself I would prefer to install it with apt-get ( debian )
does anybody know when there will be a debain package avail for cyrus2.2
The problem is that I have 3 domains till now I used normal imap without
virtual hosts but I would realy like to use this feature.
not that I'm to lazy to compile and configure it but I would like to be
able to update afterwards with apt-get if there are any security
patches.
has anybody got this combination and has some tips for me what would be
the best solution ?

Cris