"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/sendmail" (13 Aug 2017, 1494 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "sendmail": 5.31_vs_5.32.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: sendmail,v 1.10 2017/08/13 00:21:47 christos Exp $
    4 # sendmail:  file(1) magic for sendmail config files
    5 #
    6 # XXX - byte order?
    7 #
    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
   14 0	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 similar 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
   24 0	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
   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 #
   36 0   string  divert(-1)\n    sendmail m4 text file
   37