Server IP : 85.214.239.14 / Your IP : 18.118.28.31 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/share/augeas/lenses/dist/ |
Upload File : |
module Opendkim = autoload xfm (* Inifile.comment is saner than Util.comment regarding spacing after the # *) let comment = Inifile.comment "#" "#" let eol = Util.eol let empty = Util.empty (* The Dataset spec is so broad as to encompass any string (particularly the degenerate 'single literal string' case of a comma separated list with only one item). So treat them as 'String' types, and it's up to the user to format them correctly. Given that many of the variants include file paths etc, it's impossible to validate for 'correctness' anyway *) let stringkv_rx = /ADSPAction|AuthservID|AutoRestartRate|BaseDirectory/ | /BogusKey|BogusPolicy|Canonicalization|ChangeRootDirectory/ | /DiagnosticDirectory|FinalPolicyScript|IdentityHeader|Include|KeyFile/ | /LDAPAuthMechanism|LDAPAuthName|LDAPAuthRealm|LDAPAuthUser/ | /LDAPBindPassword|LDAPBindUser|Minimum|Mode|MTACommand|Nameservers/ | /On-BadSignature|On-Default|On-DNSError|On-InternalError|On-KeyNotFound/ | /On-NoSignature|On-PolicyError|On-Security|On-SignatureError|PidFile/ | /ReplaceRules|ReportAddress|ReportBccAddress|ResolverConfiguration/ | /ScreenPolicyScript|SelectCanonicalizationHeader|Selector|SelectorHeader/ | /SenderMacro|SetupPolicyScript|SignatureAlgorithm|SMTPURI|Socket/ | /StatisticsName|StatisticsPrefix|SyslogFacility|TemporaryDirectory/ | /TestPublicKeys|TrustAnchorFile|UnprotectedKey|UnprotectedPolicy|UserID/ | /VBR-Certifiers|VBR-PurgeFields|VBR-TrustedCertifiers|VBR-Type/ | /BodyLengthDB|Domain|DontSignMailTo|ExemptDomains|ExternalIgnoreList/ | /InternalHosts|KeyTable|LocalADSP|MacroList|MTA|MustBeSigned|OmitHeaders/ | /OversignHeaders|PeerList|POPDBFile|RemoveARFrom|ResignMailTo/ | /SenderHeaders|SignHeaders|SigningTable|TrustSignaturesFrom/ let stringkv = key stringkv_rx . del /[ \t]+/ " " . store /[0-9a-zA-Z\/][^ \t\n#]+/ . eol let integerkv_rx = /AutoRestartCount|ClockDrift|DNSTimeout/ | /LDAPKeepaliveIdle|LDAPKeepaliveInterval|LDAPKeepaliveProbes|LDAPTimeout/ | /MaximumHeaders|MaximumSignaturesToVerify|MaximumSignedBytes|MilterDebug/ | /MinimumKeyBits|SignatureTTL|UMask/ let integerkv = key integerkv_rx . del /[ \t]+/ " " . store /[0-9]+/ . eol let booleankv_rx = /AddAllSignatureResults|ADSPNoSuchDomain/ | /AllowSHA1Only|AlwaysAddARHeader|AuthservIDWithJobID|AutoRestart/ | /Background|CaptureUnknownErrors|Diagnostics|DisableADSP/ | /DisableCryptoInit|DNSConnect|FixCRLF|IdentityHeaderRemove/ | /LDAPDisableCache|LDAPSoftStart|LDAPUseTLS|MultipleSignatures|NoHeaderB/ | /Quarantine|QueryCache|RemoveARAll|RemoveOldSignatures|ResolverTracing/ | /SelectorHeaderRemove|SendADSPReports|SendReports|SoftwareHeader/ | /StrictHeaders|StrictTestMode|SubDomains|Syslog|SyslogSuccess/ | /VBR-TrustedCertifiersOnly|WeakSyntaxChecks|LogWhy/ let booleankv = key booleankv_rx . del /[ \t]+/ " " . store /([Tt]rue|[Ff]alse|[Yy]es|[Nn]o|1|0)/ . eol let entry = [ integerkv ] | [ booleankv ] | [ stringkv ] let lns = (comment | empty | entry)* let xfm = transform lns (incl "/etc/opendkim.conf")