HI.
how to make crontab to delete perticular domains mailqueue only?
thank you,
Auto delete older bounced emails
mail queue delete.
HI,
i read script but it will delete mail for perticular a/c or if we specify in data file.
i would like to delete frozen mails and bounce mails as well as 2 days old mail by script.
let me know how to do it?
i read script but it will delete mail for perticular a/c or if we specify in data file.
i would like to delete frozen mails and bounce mails as well as 2 days old mail by script.
let me know how to do it?
Chirpy,chirpy wrote: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
I have changed timeout_frozen_after from 4d to 2d, but it doesn´t delete emails in the queue on the 2nd day and they still in the queue until the 4d, is there somenthing else that I have to tweak on exim for the queue emails to be deleted on the 2nd day?
Regards,
Sergio
mail queue delete
HI,
i am still unable to understand how to delete all frozen mails and bouce mails.
or how to pass value to mail queue scripts so i will run by php or lynx or elinks
Thank yuo,
i am still unable to understand how to delete all frozen mails and bouce mails.
or how to pass value to mail queue scripts so i will run by php or lynx or elinks
Thank yuo,
Mod won't work, exim has statement lower that change
timeout_frozen_after = 4d
ignore_bounce_errors_after = 2d
won't work at the top if I read the layout right, they appear about 40 statements down as fixed defaults in the body.
ignore_bounce_errors_after = 2d
won't work at the top if I read the layout right, they appear about 40 statements down as fixed defaults in the body.
Interesting how this does not seem to work for everyone.
In the very top I have this:
exim.conf
#!!# cPanel Exim 4 Config
However, I regularly have to clear these from the queue manually (using cmq: v1.09), as both frozen and bounced seem to remain there for ever.
Strange or not?
- Vince
In the very top I have this:
exim.conf
#!!# cPanel Exim 4 Config
So mine shoud clear frozen after 1 day and bounce errors after 2 hours.log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
timeout_frozen_after = 1d
ignore_bounce_errors_after = 2h
However, I regularly have to clear these from the queue manually (using cmq: v1.09), as both frozen and bounced seem to remain there for ever.
Strange or not?
- Vince