migrate to virtual domains

2008-08-18 Thread Peter Lokus
Hi list, I using cyrus imap for two domains without virtual domains. Say, my folder structure look like /var/spool/cyrus/mail/user/user1domain: example.net /var/spool/cyrus/mail/user/user2domain: example.com Every user has its own folders under the INBOX. In order to enhance

Re: migrate to virtual domains

2008-08-18 Thread Alain Spineux
On Mon, Aug 18, 2008 at 11:21 AM, Peter Lokus [EMAIL PROTECTED] wrote: Hi list, I using cyrus imap for two domains without virtual domains. Say, my folder structure look like /var/spool/cyrus/mail/user/user1domain: example.net /var/spool/cyrus/mail/user/user2domain:

limit user access to certain IP addresses?

2008-08-18 Thread Tomasz Chmielewski
It it possible to limit POP3/IMAP access for chosen users only to certain IP addresses? For example, I'd like to allow some users only access from 127.0.0.1 (or, Squirrelmail running on the same address as Cyrus); those users shouldn't have public access to POP3/IMAP from the whole Internet.

Re: limit user access to certain IP addresses?

2008-08-18 Thread Michael Menge
Hi, I tried this some thime ago with pam, but without a success. SASL does not pass the ip-addres to PAM so you can't use pam_access, nor can you change/configure the PAM service name to run an other instance of cyrus using an other pam configuration. You may have success by running too

Deleting messages marked for deletion older than X days

2008-08-18 Thread Gerard Beekmans
Hi, I am looking for a way to run a daily script on the Cyrus IMAP server that processes every user's mail folders and deletes every message marked for deletion older than X days. I realize the proper way to do this is client-side and have the client program purge/expunge the mailboxes

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Kenneth Marshall
I think that the cyr_expire command may be what you are searching for. Ken On Mon, Aug 18, 2008 at 03:35:20PM -0600, Gerard Beekmans wrote: Hi, I am looking for a way to run a daily script on the Cyrus IMAP server that processes every user's mail folders and deletes every message marked

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Gerard Beekmans
Hi Ken, From the description it seems like cyr_expire will apply to every email in a mailbox. I don't want to delete any regular emails other than the ones already marked for deletion by an email client who is lacking a decent purge feature. Gerard Beekmans IT Manager Achilles Media Tel:

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Kenneth Marshall
In the manual page, the definition of the '-X' option seems to do what you want: -X expunge-days Expunge previously deleted messages older than expunge-days (when using the delayed expunge mode). The default is 0 (zero) days, which will expunge

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Gerard Beekmans
I'll do some more checking then. My cyr_expire version doesn't even have the -X option (I'm testing this on a system that has cyrus imap 2.2.13 as its recent version). Gerard Beekmans IT Manager Achilles Media Tel: 403-678-1216 ext. 102 Email: [EMAIL PROTECTED] Kenneth Marshall wrote: In

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Kenneth Marshall
It must be a 2.3 option, we are running 2.3.10+ here. Ken On Mon, Aug 18, 2008 at 04:21:29PM -0600, Gerard Beekmans wrote: I'll do some more checking then. My cyr_expire version doesn't even have the -X option (I'm testing this on a system that has cyrus imap 2.2.13 as its recent version).

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Wesley Craig
cyr_expire -D and -X deal with delayed delete expunge, respectively. Neither will address message that the MUA hasn't already deleted (in the case of folders) or expunged (in the case of messages). The tool that is closest to the desired functionality is ipurge. In order for ipurge to

Re: Deleting messages marked for deletion older than X days

2008-08-18 Thread Bron Gondwana
On Mon, Aug 18, 2008 at 05:09:53PM -0500, Kenneth Marshall wrote: In the manual page, the definition of the '-X' option seems to do what you want: -X expunge-days Expunge previously deleted messages older than expunge-days (when using the delayed expunge