This file is indexed.

/var/list/.etc/rc.confirm is in smartlist 3.15-22.

This file is owned by list:list, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# confirm v.1.2.7, 3. Nov. 2002 <werner at free dot de>
#
# Check to see if it is a confirm request
#

:0
* Subject:.*confirm.*\/[su][0-9]+
{
   COOKIE=$MATCH	

   :0 
   * ? test -s cookies/$COOKIE
   {

     subscraddr=`cat cookies/$COOKIE`


     # 
     # transfer to "(un)subscribe" in rc.request
     #
     
     :0 wfh
     * COOKIE ?? s[0-9]+
     | formail -A "X-Diagnostic: $subscraddr tried to confirm subscription" \
        -I"Subject: subscribe $subscraddr" && rm cookies/$COOKIE

     :0 E
     * COOKIE ?? u[0-9]+
     {
         
        # remove the address from the dist file
        # use global lockfile because of log message
        LOCKFILE=dist.lock
        :0 w
        * ? echo $subscraddr | multigram -b1 -l30000 -d dist 
        { }
        LOCKFILE

        :0 Awc
        | formail -IIn-Reply-To: -ICc: >tmp.request

        :0 Aw ${cc_unsubrequests:+c}
        * ? echo "unsubscribed: $subscraddr" >> $LOGFILE
        | (formail -r; echo "$subscraddr removed from list $list!"; echo ""; \
           cat unsubscribe.txt; cat tmp.request | sed 's/^/> /') \
           | $SENDMAIL $sendmailOPT -t && rm cookies/$COOKIE
        
        :0 A w
        | formail -A "X-Diagnostic: Tried to confirm unsubscription" \
          | $SENDMAIL $sendmailOPT $maintainer

        :0 Ewfh
        * ? echo "Couldn't unsubscribe $subscraddr" >> $LOGFILE
        | formail -A "X-Diagnostic: Problem unsubscribing $subscraddr"

     }
  
   }

  #If there is no such cookie send a help file

  :0 EHB
  {
    :0 hw ${cc_requests:+c}
    | (formail -i"From: SmartList <$listreq>" -rtA"X-Loop: $listaddr"; \
       cat confirm-help.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t

    :0 wfh
    | formail -A "X-Diagnostic: unsuccessful confirm, help sent"
  }

}

#if confirm is in subject, but no cookie, send a help file

:0 EHB
* Subject:.*confirm
{
  :0 hw ${cc_requests:+c}
  | (formail -i"From: SmartList <$listreq>" -rtA"X-Loop: $listaddr"; \
     cat confirm-help.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t

  :0 wfh
  | formail -A "X-Diagnostic: unsuccessful confirm, help sent"
}