Bug 20898

Summary: cyrus deliver -E option no longer supported
Product: [Retired] Red Hat Powertools Reporter: Andreas J. Bathe <ajb>
Component: cyrus-imapdAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-30 09:22:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas J. Bathe 2000-11-15 10:14:32 UTC
I'm setting up the Cyrus IMAP server (RH 7.0). Upgraded to the Rawhide
version cyrus-imapd-2.0.7-2. In /etc/cron.daily there is the script
cyrus-imapd:

#!/bin/bash
su cyrus -s /bin/bash -c '/usr/cyrus/bin/deliver -E 3'

and logs the following error:

deliver: 'E' option no longer supported
421-4.3.0 usage: deliver [-m mailbox] [-a auth] [-r return_path] [-l] [-D]
421 4.3.0 v2.0.7

I commented it out. Do we still need that cron-daily script?

Andreas J. Bathe
merconic GmbH, Berlin

Comment 1 Andreas J. Bathe 2000-11-30 09:22:29 UTC
Within the info-cyrus list I found:

The "ctl_deliver" program now can prune the deliverdb; I believe the
sample cyrus.conf files will automatically call ctl_deliver to prune
back the database once a day.

So I changed /etc/cron.daily/cyrus-imapd to:

#!/bin/bash
su - cyrus -s /bin/bash -c '/usr/cyrus/bin/ctl_deliver -E 3'

Andreas J. Bathe
merconic GmbH, Berlin

Comment 2 Nalin Dahyabhai 2001-02-15 17:32:11 UTC
I'll change this for 2.0.9-2 and later.  Thanks!

Comment 3 Andy 2004-12-17 15:00:16 UTC
Proposed solution:

in /etc/cron.daily/cyrus-imapd

#!/bin/bash

su - cyrus -s /bin/bash -c '/usr/cyrus/bin/cyr_expire -E 3'

Andy Pieters
Straight-A-Software Nice, FR