I've been using this php script as a cronjob each day. It will parse all
the mails in quarantine and will send a report to users each day.
Le 2010-01-19 23:41, Jason Haar a écrit :
On 01/20/2010 05:01 AM, Stephane MAGAND wrote:
Hi
I have installed QmailScanner and that's work very good. But i am
search a solution for:
1- Notify all user that he receive a email and this email are in
quanrantine.
2- a solution for see by a web interface all emails in quarantine and
a administor can unlock a quarantine msg.
He have a sheel tools for list/delete or unlock a quarantine msg ?
Hello Stephane
I'm afraid I have not heard of anyone writing such reporting tools -
they would be a great addon to Qmail-Scanner. I have thought about
writing them myself - but they wouldn't be a small task and I don't have
much incentive myself to do it. Maybe someone else could...?
decode();
$rcv=$structure->headers['received'];
foreach($rcv as $received) {
if (strpos($received,"by ".$localIp." with SMTP;")!==false) {
$dt=explode(";",$received);
$dt=strtotime(array_pop($dt));
}
}
if ($dt