[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Junk X-Advertisement - too aggressive?

In smtpserver/smtpdata.c line 671 there is the following code:

        if (strncmp(linebuf, "X-Advertisement:",16)==0) {
          /* Gee... Only SPAMmers (Cyberpromo!) use this .. (I hope..) */
          SS->policyresult = 1; /* Mark it for the freezer! */

I.e. if the message contains this header, it is unconditionally put
into freezer.  I'd suggest to make it configurable, e.g. there could
be parameters in smtpserver.conf:

PARAM freezeifheader X-Advertisement:
PARAM rejectifheader X-Advertisement:

or something like this...