Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] cutting off sender-string

2004-09-09 by Matthias Scheler

On Wed, Sep 08, 2004 at 08:34:23PM +0200, hans hm04 wrote:
> ======================================================================
> *** .dump.h_orig        Tue Sep  7 18:32:21 2004
> --- dump.h      Wed Sep  8 19:32:04 2004
> ***************
> *** 54,60 ****
>   #endif
>   
>   #define DATELEN 40
> ! #define ADDRLEN       31
>   #define IPADDRLEN sizeof("255.255.255.255")
>   
>   #include "milter-greylist.h"
> --- 54,61 ----
>   #endif
>   
>   #define DATELEN 40
> ! /* changed by mayer */ 
> ! #define ADDRLEN       63

Either that should read 65 ...


>                 fprintf(stream, 
> !                   "%s     %64s    %64s    %ld AUTO # %s\n",
>                     textaddr, aw->a_from, aw->a_rcpt, 
>                     (long)aw->a_tv.tv_sec, textdate);
[...]
> !       fprintf(stream, "# Sender IP    %64s    %64s    Time accepted\n", 
>             "Sender e-mail", "Recipient e-mail");
[...]
> !               fprintf(stream, "%s     %64s    %64s    %ld # %s\n", 
>                     pending->p_addr, pending->p_from, 
>                     pending->p_rcpt, (long)pending->p_tv.tv_sec, textdate);

... or these should read "%62s".

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.