Re: Backscatter solutions

2008-05-09 Thread Karl Boyken

We're looking at this as a solution:

  http://www.snertsoft.com/sendmail/milter-null/

Karl

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

quota problem

2007-10-11 Thread Karl Boyken
We're running Cyrus IMAPD 2.3.9 on RedHat Enterprise Server 5 (kernel 
2.6.18-8.1.10), on an HP ProLiant DL385 G2, a four-core 64-bit machine. 
 Yesterday, I restored a deleted mailbox, and that seems to have 
corrupted the disk usage information for about 70 of our users (out of 
about 730), so that they appeared to be using much more disk space than 
they actually were, putting them over quota.


Here's the basic process I use (as our cyrus user) to restore mailboxes:

  create(user/mailbox_name, partition)
  cd mailbox_dir
  tar -zxpf gzipped_mailbox_tarball
  reconstruct -r -f user/mailbox_name
  set_acl(user/mailbox_name, mailbox_name, lrswipcda)
  quota -f

Am I doing something wrong here that might have triggered the quota problem?

Also, I noticed in the man page for quota these two seemingly 
contradictory sentences:


If any optional mailbox-prefix arguments are given, the quota listing 
(and inconsistency fixing) is limited to quota roots with names that 
start with one of the given prefixes.


Running quota with both the -f option and mailbox-prefix arguments is 
not recommended.


So, you _can_ run quota -f mailbox, but you shouldn't???

Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

Per-mailbox or per-folder expunge?

2007-06-01 Thread Karl Boyken
Is there a way to do an expunge on a mailbox hierarchy or on a folder, 
rather than on the whole system?  It doesn't seem that cyr-expire has 
this feature.  Thanks in advance.


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

Re: Cyrus::IMAP::Admin with SSL? (Marten Lehmann)

2006-11-28 Thread Karl Boyken
Marten, if you're writing your own scripts, download the IMAP::Admin 
Perl module from CPAN and use that, instead.  It will let you connect 
via SSL.


Karl Boyken


Hello,

how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL?

Currently I am using

Cyrus::IMAP::Admin-new($server, $port);

Regards
Marten


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

2.2 vs. 2.3?

2006-08-31 Thread Karl Boyken
We're running 2.2.12 in production here, but my impression from traffic 
on this list is that at least a few people are using 2.3, even though 
2.3 is a testing distribution.  Is that accurate?  Is 2.3 stable enough 
to use on a production mail server?  Thanks.


Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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: Odd quota problem

2006-08-04 Thread Karl Boyken
Thanks for everyone's ideas.  I helped the guy move mail into local 
folders, and eventually, the problem disappeared.  He still has a quota 
greater than 2 Gb, so that apparently wasn't the problem.  Anyway, he's 
an outlier, and he is working on reducing his disk usage now, so, all is 
well, for the moment.


Karl

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

Odd quota problem

2006-08-03 Thread Karl Boyken
We have one user who has very large disk usage, 3,880,884 kb.  His quota 
is 4,250,000 kb.  Interestingly, when I do a du of this guy's mailbox, I 
get 1,889,972 kb.  He has on the order of 23,000 messages in his Inbox. 
 Despite the fact that he is under quota, lmtpunix is refusing 
delivery, failing with an Over quota error:


Aug  3 09:39:54 serv07 lmtpunix[30003]: verify_user(user.kearney) 
failed: Over quota


Any ideas or help would be greatly appreciated--this guy is an associate 
dean here.


Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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: Odd quota problem

2006-08-03 Thread Karl Boyken
Thanks for the suggestion--something I should have thought of myself.  I 
fixed quota, but everyone's mailbox was already in synch (except my 
own--long story).  We're running 2.2.12.


Karl


have you tried fixing the quota

cyr_quota -f user.username

(The name for cyr_quota may be quota depending on your installation)

also what version of Cyrus?

-Patrick


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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: Odd quota problem

2006-08-03 Thread Karl Boyken
I've been helping my over-quota user move mail out of his Inbox into 
local folders with Thunderbird.  His disk usage is down to a current 
usage of 1524826 bk, and a du shows 1642048 kb.  But lmtpunix is still 
bouncing his mail with Over quota messages, even though his quota is 
still 4,250,000 kb.


Karl

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

Avoiding deliver.db corruption

2006-04-19 Thread Karl Boyken
If I hacked our init script to delete deliver.db before starting Cyrus 
IMAPD, what adverse consequences would there be, if any?  We recently 
were bitten by deliver.db corruption when our mail server went down 
ungracefully.


Thanks in advance.

Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature

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

idled vs. poll vs. no

2005-12-19 Thread Karl Boyken
What are the advantages and disadvantages of the different --with-idle 
methods?  Are there any rules of thumb on when one would be more 
advisable to use than the others?  Thanks.


Karl Boyken

--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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: Outlook does not delete but displays deleted messages asstrike-trough

2005-12-12 Thread Karl Boyken
We've been migrating our users from UW IMAP to Cyrus, and a few of our 
Outlook and Outlook Express users have been having a problem regarding 
deletion that they never had with UW IMAP.  When they open a message up 
in a separate window, then close it, Outlook/Outlook Express marks the 
message as deleted, with a strike-through.  One of our Outlook users 
could no longer read the message at that point.


One Outlook user also reported that clicking send/receive messages 
didn't do anything.


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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: moving inbox from uw-imap to cyrus

2005-12-03 Thread Karl Boyken
Yossie, when I was looking at imapsync, I ran into the same problem.
What I wound up doing was, I'd transfer the uw inbox into user/INBOX,
and then, I'd move the mail messages up out of the INBOX folder, do a
reconstruct, and delete INBOX.  Then I'd transfer the rest of the folders.

Karl Boyken

 Situation ..
 
 I would like to move a given user's email from uw-imap to cyrus (in 
 fact all users).  While this is happening, I would like the users to  be
 able to access their email normally (as it is being moved, of  course)
 on cyrus.
 
 I can make it so I can access the uw-imap mailbox for the user  without
 knowing his password (one line temporary hack to uw-imap to  allow for a
 super password)
 
 I can use the cyrus admin user to access the cyrus side at a global 
 level.
 
 I can then use a tool like imapsync to copy mailboxes from uw-imap to 
 cyrus easily enough.
 
 What I can't figure out is how to move the INBOX.  There appears to  be
 no mailbox prefix that when used with the cyrus admin user, will  put
 the email in the users INBOX (the special one where new email  lands,
 not a folder named INBOX under it!)
 
 Thanks for any and all help - Yossie
 
 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


RE: formail not parsing folder

2005-10-05 Thread Karl Boyken

Thanks, Leon.

It looks to me like either I'd need to know our users' passwords, or 
have them transfer their own mail folders, if I use imapsync.  Is this 
correct?  Or is there a way to use imapsync to transfer our users' mail 
folders without knowing their passwords?  Have you used imapsync to 
transfer folders for several hundred users?


Karl Boyken


Hi,

Try to use imapsync,
I'd suggest you to use the following options with imapsync tool:
--include '^Sent' --subscribe 


Regards,
Leon Kolchinsky


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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


formail not parsing folder

2005-10-03 Thread Karl Boyken
I'm trying to convert email from our U Wash IMAP server over to Cyrus, 
using several Perl utilities mentioned in the O'Reilly IMAP book.  One 
of these, folderxfer, uses formail to split the U Wash mbox file into 
separate messages.  This is working fine, except for a couple of 
people's Sent Items folders, which formail doesn't seem to be able to 
parse into messages.  Apparently, Sent Items is created by our 
Horde/IMP webmail software.  Has anyone seen this?  Any solutions?  I've 
tried various combinations of formail switches, but nothing seems to 
split these folders correctly.  Thanks.


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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


Deleting without folders

2005-09-16 Thread Karl Boyken
Is there a way to delete a user from Cyrus IMAPD if all of his 
files/directories have been manually deleted from /var/spool/imap? 
Without restoring the folders first?  Thanks.


--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


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


sendmail+cyrus: File exists errors

2004-06-02 Thread Karl Boyken
On RedHat Linux ES 3, I've installed sendmail 8.12.11 from source and 
Cyrus IMAPD 2.2.3-8 from srpm.  I've configured sendmail to use 
lmtpunix.  When sendmail tries to deliver mail, both lmtpunix and 
sendmail emit File exists errors, as below.  I'm new to Cyrus IMAPD, 
so any help would be greatly appreciated.  Thanks in advance.

Jun  1 14:00:03 myserv sendmail[5914]: STARTTLS=server, 
relay=myserv.divms.uiowa.edu [128.255.44.134], version=TLSv1/SSLv3, 
verify=NOT, cipher=DHE-RSA-AES256-SHA, bits=256/256
Jun  1 14:00:03 myserv sendmail[5914]: i51J037L005914: 
from=[EMAIL PROTECTED], size=820, class=0, nrcpts=1, 
msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, 
relay=serv01.divms.uiowa.edu [128.255.44.134]
Jun  1 14:00:03 myserv mimedefang-multiplexor: stats 1086116403.196 
StartFilter slave=0 nslaves=12 nbusy=1
Jun  1 14:00:03 myserv mimedefang.pl[5854]: 
MDLOG,i51J037L005914,mail_in,,,[EMAIL PROTECTED],[EMAIL PROTECTED],Again
Jun  1 14:00:03 serv07 mimedefang-multiplexor: stats 1086116403.362 
EndFilter slave=0 nslaves=12 nbusy=0 numRequests=1
Jun  1 14:00:03 myserv sendmail[5914]: i51J037L005914: Milter add: 
header: X-Scanned-By: MIMEDefang 2.42
Jun  1 14:00:03 myserv lmtpunix[5804]: accepted connection
Jun  1 14:00:03 myserv lmtpunix[5804]: lmtp connection preauth'd as postman
Jun  1 14:00:03 myserv master[5919]: about to exec 
/usr/lib/cyrus-imapd/lmtpd
Jun  1 14:00:03 myserv lmtpunix[5804]: couldn't create stage directory: 
/mail/imap/spool/stage./: File exists
Jun  1 14:00:03 myserv lmtpunix[5804]: IOERROR: creating message file 
/mail/imap/spool/stage./5804-1086116403: File exists
Jun  1 14:00:03 myserv sendmail[5918]: i51J037L005914: 
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, 
mailer=cyrusv2, pri=30820, relay=localhost, dsn=4.2.0, stat=Deferred: 
451 4.3.2 cannot create temporary file: File exists
Jun  1 14:00:03 myserv lmtpunix[5919]: executed

Karl Boyken
--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)
---
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


Per-user archive and restore

2004-05-26 Thread Karl Boyken
I'm using Cyrus IMAPD 2.2.3.  When I delete a user, I'd like to first 
archive his folders, so that I can restore them later, if necessary. 
What's the best way to accomplish this?  Thanks in advance.

Karl Boyken
--
Karl Boyken, system administrator 
[EMAIL PROTECTED]
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)
---
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