Auto delete older bounced emails

Valuehosted
Junior Member
Posts: 6
Joined: 10 Dec 2006, 10:05
Location: Sandviken, Sweden
Contact:

Auto delete older bounced emails

Post by Valuehosted »

Hey there!

I guess I am writing the first post on this board.. yay me! :)

First off I want to thank you for your generosity for providing these great scripts free!

I do have a small (?) suggestion regarding cmq and that would be to have a setting to autocron bounced mail in x time.

I tried the mailscanner trick you told me in the blog but without luck, which is probably my own failure (duh really).

Anyways, please do keep up the great work, it is appreciated by a lot of us.

Thanks,

--Tone
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

The easiest way is to probably drop them off the queue by adding the following to the first textarea in the Exim Configuration Editor:

Code: Select all

timeout_frozen_after = 4d
ignore_bounce_errors_after = 2d
Valuehosted
Junior Member
Posts: 6
Joined: 10 Dec 2006, 10:05
Location: Sandviken, Sweden
Contact:

Post by Valuehosted »

I did try that, but it doesn't seem to work for me, which one of the boxes should I do that in? i think i used the top most one.

--Tone
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

It is meant to be the top most one - not sure why it wouldn't work. You do have to wait for the next queue run before it would take effect (usually 60 minutes)
homemachine
Junior Member
Posts: 20
Joined: 10 Dec 2006, 10:02
Location: NZ
Contact:

Post by homemachine »

works for me as sonn as I apply it in the advanced exim config.

can h for hour be used? or is d the only option?
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

Yes, you can use h for hours
homemachine
Junior Member
Posts: 20
Joined: 10 Dec 2006, 10:02
Location: NZ
Contact:

Post by homemachine »

cheers Jonathon, I'll give it a try, this forum is great!
homemachine
Junior Member
Posts: 20
Joined: 10 Dec 2006, 10:02
Location: NZ
Contact:

Post by homemachine »

using h doesn't seem to work :(
homemachine
Junior Member
Posts: 20
Joined: 10 Dec 2006, 10:02
Location: NZ
Contact:

Post by homemachine »

I've setup a cron on a directadmin server to remove frozen emails regularly as it gets a lot of junk on it causing high loads but running the same cmd on a cpanel box doesn't work...

exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm
produces the error...
exim: no message ids given after -Mrm option

any idea what the problem is?

thx
winlinfix
Junior Member
Posts: 22
Joined: 04 Jan 2007, 14:45

exim advance editor

Post by winlinfix »

HI,.

Exim advance editor unable to allow following field.

timeout_frozen_after = 4d
ignore_bounce_errors_after = 2d

If i edit using vi it wont show in whm exim advance editor.
as i know whm is using another file for edit. so i tried to edit all files exim.conf.txt
exim.conf.buildtest but no use.


let me know how to edit?
Post Reply