This file is indexed.

/usr/share/sanitizer/contrib/sendmail-m4.txt is in sanitizer 1.76-5.

This file is owned by root:root, 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
=============================================================================
 NOTE:  The following text discusses the /contrib/anomy.m4 file distributed
 with the Anomy Mail Sanitizer.  As far as I can tell the only thing Rajeev
 forgot to mention was that his anomy.m4 file has all the interseting bits
 commented out - you will need to remove by hand the leading hashes from
 the parts of the file you intend to use.  -- bre
=============================================================================


Bjarni,
	I am using your Mail sanitizer program. First of all I thank you for
writing such a nice program. I didn't go much into code but I was
setting up my sendmail and used your sanitizer which is working pretty
good. Now here I wrote m4 file for sendmail and may be you want to
squeeze your discussion on page:
http://mailtools.anomy.net/sanitizer.html

Under section: In-transit sanitizing - sendmail
-----------------------------------------------
We prefer to create sendmail.cf file from m4 macro file rather then
direct sendmail edits. Since that is more reliable and less chances of
forgetting [TAB] placement in sendmail.cf file.  I wrote a little m4
file to achieve this. anomy.m4 file attached here.

Brief instruction (how to compile):
-----------------------------------
[1] In sendmail distribution copy  anomy.m4 in sendmail  cf/hack
directory.

[2] Define your .mc file (say cf/cf/sendmail-anomy.mc)  and put
following line.

HACK(`anomy')dnl

[3] Run sendmail m4 command.
 cd cf/cf
 ./Build sendmail-anomy.mc > sendmail-anomy.cf


This will create anomy edits in resulting sendmail.cf file. I did
following edits also which is convenient for me.
(This is all defined and  slightly documented in anomy.m4)

(*) Defined  a class {anomy} ( C{anomy} or F{anomy} ) so that we can
define domain in .cf file or specified by F{anomy} macro
(/etc/mail/anomy-domains) and then use that macro in Rule 0 (Rule 98)
later. (we can use Cw or Fw also, but we wanted to keep this separate)

(*) Later used above macro to create rule 0. Note I replace CLEAN (where
you mentioned in your document)  with ANOMY just to be more specific)


Let me know if you want to include this with in your instructions and if
you want I can write more detailed m4 file and send it to you. All I
think is this will be really helpful for site creating sendmail.cf file
from m4 directly which is little cumbersome to write but less error
prone.

Best regards,

Rajeev


 
-- 
********************************************************************
	Rajeev Kumar (rajeev@rajeevnet.com)
		http://www.rajeevnet.com
********************************************************************
-- PGP PUBLIC KEY -- http://www.rajeevnet.com/crypto/mypubkey