Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 18:41:45 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        current@FreeBSD.ORG
Subject:   Re: People getting automatically unsub'ed from -arch
Message-ID:  <19991014184145.A70485@keltia.freenix.fr>
In-Reply-To: <199910111534.JAA14592@mt.sri.com>
References:  <199910110107.SAA22856@kithrup.com> <19991011124621.A3A0114BEB@hub.freebsd.org> <199910111534.JAA14592@mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help

According to Nate Williams:
> How do you cause 'vacation' to not send messages to the list?  Doesn't
> the stock 'vacation' program as shipped in FreeBSD send them to the
> list?

It is supposed to notice that the mail has a Precedence: header and not send
any vacation notice to any mail with one.

-=-=-
             case 'P':               /* "Precedence:" */
                     cont = 0;
                     if (strncasecmp(buf, "Precedence", 10) ||
                         (buf[10] != ':' && buf[10] != ' ' && buf[10] != '\t'))
                             break;
                     if (!(p = index(buf, ':')))
                             break;
                     while (*++p && isspace(*p));
                     if (!*p)
                             break;
                     if (!strncasecmp(p, "junk", 4) ||
                         !strncasecmp(p, "bulk", 4) ||
                         !strncasecmp(p, "list", 4))
                             exit(0);
                     break;
-=-=-

The standard configuration for Majordomo is to add "Precedence: junk" to all
mails.

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 4.0-CURRENT #74: Thu Sep  9 00:20:51 CEST 1999



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991014184145.A70485>