Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: Message Information passed to and from spamd

2009-05-11 by Petar Bogdanovic

On Mon, May 11, 2009 at 07:17:39AM +0000, Emmanuel Dreyfus wrote:
> On Mon, May 11, 2009 at 09:13:53AM +0200, Petar Bogdanovic wrote:
> >  	snprintf(buffer, SPAMD_BUFLEN,
> > -	  "CHECK SPAMC/1.2\r\nContent-length: %d\r\n\r\n",
> > -	  (unsigned int)(priv->priv_msgcount + strlen(rcvhdr)));
> > +	  "CHECK SPAMC/1.2\r\n"
> > +	  "Content-length: %d\r\n"
> > +	  "User: %s\r\n\r\n",
> > +	  (unsigned int)(priv->priv_msgcount + strlen(rcvhdr)),
> > +	   priv->priv_queueid);
> 
> Is it reasonable to abuse the User field?

I'm not entirely sure but this (optional) header seems to be pretty
useless otherwise.  We could add a prefix in order to make it
distinguishable from ordinary users.

But OTOH, we could also do nothing since all you need in order to group
your maillog by smtp-sessions is already there (queueid/msgid).



   Petar Bogdanovic

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.