This file is indexed.

/usr/bin/scmail-deliver is in scmail 1.3-4.

This file is owned by root:root, with mode 0o755.

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
#! /usr/bin/gosh
;;; -*- scheme -*-
;;;
;;; scmail - a mail filter written in Scheme
;;;
;;; Copyright (C) 2002-2004 Satoru Takabayashi <satoru@namazu.org> 
;;;     All rights reserved.
;;;     This is free software with ABSOLUTELY NO WARRANTY.
;;;
;;; Permission to use, copy, modify, distribute this software and
;;; accompanying documentation for any purpose is hereby granted,
;;; provided that existing copyright notices are retained in all
;;; copies and that this notice is included verbatim in all
;;; distributions.
;;; This software is provided as is, without express or implied
;;; warranty.  In no circumstances the author(s) shall be liable
;;; for any damages arising out of the use of this software.
;;;

(use scmail)
(use scmail.config-core)
(use scmail.config)
(use scmail.mail)

(define (main-process mailbox target-folder dry-run-mode)
  (let* ((mailbox-type (ref (scmail-config) 'mailbox-type))
         (mail (make-scmail-mail mailbox-type
                                 :mailbox mailbox
                                 :dry-run-mode dry-run-mode)))
    (scmail-filter mail)
    (unless (scmail-mail-removed? mail)
	    (refile mail (slot-ref (scmail-config) 'inbox)))))

(define (main args)
  (with-error-handler 
   (lambda (e) 75)
   (lambda ()
     (scmail-main args main-process 'deliver-rules #t)
     0)))