On Wed, 2011-03-02 23:19:46 +0100, Florian Lohoff <[email protected]> wrote:
> diff --git a/src/qmgr/qmgr_active.c b/src/qmgr/qmgr_active.c
> index eeec88d..ed7e623 100644
> --- a/src/qmgr/qmgr_active.c
> +++ b/src/qmgr/qmgr_active.c
> @@ -198,6 +198,19 @@ int     qmgr_active_feed(QMGR_SCAN *scan_info, const 
> char *queue_id)
>       return (0);
>      }
>  
> +    /* Delete old mails */
> +    if ((scan_info->flags & QMGR_SCAN_ALL) == 0
> +     && st.st_mtime + var_max_queue_time < time((time_t *) 0)) {
                                                   ^^^^^^^^^^^^

NULL?

> +
> +        mail_queue_remove(scan_info->queue, queue_id);
> +
> +     msg_info("%s: status=fast-delete, age=%d",
> +             queue_id, (long) (event_time() - st.st_mtime));
> +
> +     return (0);
> +    }
> +
> +
>      /*
>       * Move the message to the active queue. File access errors are fatal.
>       */

MfG, JBG

-- 
      Jan-Benedict Glaw      [email protected]              +49-172-7608481
Signature of:          GDB has a 'break' feature; why doesn't it have 'fix' too?
the second  :

Attachment: signature.asc
Description: Digital signature

-- 
Linux mailing list [email protected]
subscribe/unsubscribe: http://lug-owl.de/mailman/listinfo/linux
Hinweise zur Nutzung: http://www.lug-owl.de/Mailingliste/hints.epo

Antwort per Email an