sendmail (246e7a2b6494cd991b08ac669ed761ecea0cc98c) sendmail (3e41d09d08f5bfa2fc1386241f334b865d6da085)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: sendmail,v 1.7 2009/09/19 16:28:12 christos Exp $
3# $File: sendmail,v 1.8 2015/11/11 15:27:03 christos Exp $
4# sendmail: file(1) magic for sendmail config files
5#
6# XXX - byte order?
7#
4# sendmail: file(1) magic for sendmail config files
5#
6# XXX - byte order?
7#
80 byte 046 Sendmail frozen configuration
9>16 string >\0 - version %s
100 short 0x271c Sendmail frozen configuration
11>16 string >\0 - version %s
8# Update: Joerg Jenderek
9# GRR: this test is too general as it catches also
10# READ.ME.FIRST.AWP Sendmail frozen configuration
11# - version ====|====|====|====|====|====|====|====|====|====|====|====|===
12# Email_23_f217153422.ts Sendmail frozen configuration
13# - version \330jK\354
140 byte 046
15# http://www.sendmail.com/sm/open_source/docs/older_release_notes/
16# freezed configuration file (dbm format?) created from sendmal.cf with -bz
17# by older sendmail. til version 8.6 support for frozen configuration files is removed
18# valid version numbers look like "7.14.4" and should be simliar to output of commands
19# "sendmail -d0 -bt < /dev/null |grep -i Version" or "egrep '^DZ' /etc/sendmail.cf"
20>16 regex/s =^[0-78][0-9.]{4} Sendmail frozen configuration
21# normally only /etc/sendmail.fc or /var/adm/sendmail/sendmail.fc
22!:ext fc
23>>16 string >\0 - version %s
240 short 0x271c
25# look for valid version number
26>16 regex/s =^[0-78][0-9.]{4} Sendmail frozen configuration
27!:ext fc
28>>16 string >\0 - version %s
12
13#------------------------------------------------------------------------------
14# sendmail: file(1) magic for sendmail m4(1) files
15#
16# From Hendrik Scholz <hendrik@scholz.net>
17# i.e. files in /usr/share/sendmail/cf/
18#
190 string divert(-1)\n sendmail m4 text file
20
29
30#------------------------------------------------------------------------------
31# sendmail: file(1) magic for sendmail m4(1) files
32#
33# From Hendrik Scholz <hendrik@scholz.net>
34# i.e. files in /usr/share/sendmail/cf/
35#
360 string divert(-1)\n sendmail m4 text file
37