Auto delete on exit

View: New views
6 Messages — Rating Filter:   Alert me  

Auto delete on exit

by Paulo Resende :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
 

I use squirrel mail on a small network, about 100 users. I automatically delete the trash on exit, but I also would like to automatically delete from all folders any e-mails older then 60 days. Can any one help me on this? Just a few lines of code to add on signout.php... I also would like a pop up warning that says that e-mail older then 60 days will be auto deleted.

 
 
  Paulo Resende

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Auto delete on exit

by Fredrik Jervfors-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I use squirrel mail on a small network, about 100 users. I automatically
> delete the trash on exit, but I also would like to automatically delete
> from all folders any e-mails older then 60 days. Can any one help me on
> this? Just a few lines of code to add on signout.php...

Try the Proon plugin.
http://squirrelmail.org/plugin_view.php?id=251

> I also would like a pop up warning that says that e-mail older then 60
> days will be auto deleted.

I don't know about a pop-up, but you can use the Message of the Day (MotD)
in SquirrelMail, or the Login Notes plugin.
http://squirrelmail.org/plugin_view.php?id=217

Sincerely,
Fredrik

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Auto delete on exit

by Helmut Hullen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hallo, Paulo,

Du (presende99) meintest am 16.06.08:

> I use squirrel mail on a small network, about 100 users. I
> automatically delete the trash on exit, but I also would like to
> automatically delete from all folders any e-mails older then 60 days.
> Can any one help me on this?

I use "archivemail" for this work, as a seperate cronjob.

        http://archivemail.sourceforge.net/

Viele Gruesse!
Helmut

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Auto delete on exit

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 23, 2008 at 4:39 AM, Helmut Hullen <Hullen@...> wrote:

> Hallo, Paulo,
>
> Du (presende99) meintest am 16.06.08:
>
>> I use squirrel mail on a small network, about 100 users. I
>> automatically delete the trash on exit, but I also would like to
>> automatically delete from all folders any e-mails older then 60 days.
>> Can any one help me on this?
>
> I use "archivemail" for this work, as a seperate cronjob.
>
>        http://archivemail.sourceforge.net/

Also, some IMAP servers allow you to specify that mail older than X
days in folders Y and Z is to be deleted automatically.  See your IMAP
server documentation to see if this is a possibility for you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Auto delete on exit

by Pascal Maes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 23-juin-08 à 21:05, Paul Lesniewski a écrit :

> On Mon, Jun 23, 2008 at 4:39 AM, Helmut Hullen <Hullen@...>  
> wrote:
>> Hallo, Paulo,
>>
>> Du (presende99) meintest am 16.06.08:
>>
>>> I use squirrel mail on a small network, about 100 users. I
>>> automatically delete the trash on exit, but I also would like to
>>> automatically delete from all folders any e-mails older then 60  
>>> days.
>>> Can any one help me on this?
>>
>> I use "archivemail" for this work, as a seperate cronjob.
>>
>>       http://archivemail.sourceforge.net/
>
> Also, some IMAP servers allow you to specify that mail older than X
> days in folders Y and Z is to be deleted automatically.  See your IMAP
> server documentation to see if this is a possibility for you.
>

For example, with cyrus, you could use a crontab that says :

5 0 * * * /usr/cyrus/bin/ipurge -f -d 30 user.\*.SPAM >/tmp/
purge_spam.log 2>&1
5 2 * * * usr/cyrus/bin/ipurge -f -d 7 user.\*.Trash >/tmp/
purge_trash.log 2>&1


--
Pascal





-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Auto delete on exit

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 24, 2008 at 1:08 PM, Pascal Maes <pascal.maes@...> wrote:

>
> Le 23-juin-08 à 21:05, Paul Lesniewski a écrit :
>
>> On Mon, Jun 23, 2008 at 4:39 AM, Helmut Hullen <Hullen@...>
>> wrote:
>>> Hallo, Paulo,
>>>
>>> Du (presende99) meintest am 16.06.08:
>>>
>>>> I use squirrel mail on a small network, about 100 users. I
>>>> automatically delete the trash on exit, but I also would like to
>>>> automatically delete from all folders any e-mails older then 60
>>>> days.
>>>> Can any one help me on this?
>>>
>>> I use "archivemail" for this work, as a seperate cronjob.
>>>
>>>       http://archivemail.sourceforge.net/
>>
>> Also, some IMAP servers allow you to specify that mail older than X
>> days in folders Y and Z is to be deleted automatically.  See your IMAP
>> server documentation to see if this is a possibility for you.
>>
>
> For example, with cyrus, you could use a crontab that says :
>
> 5 0 * * * /usr/cyrus/bin/ipurge -f -d 30 user.\*.SPAM >/tmp/
> purge_spam.log 2>&1
> 5 2 * * * usr/cyrus/bin/ipurge -f -d 7 user.\*.Trash >/tmp/
> purge_trash.log 2>&1

As long as we're getting detailed, Courier IMAP has a setting called
IMAP_EMPTYTRASH in /usr/lib/courier-imap/etc/imapd... you can do
something like:

IMAP_EMPTYTRASH=Trash:7,Sent:30

That file is well-documented with more details about the setting.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users