文件操作 - config.ini
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/macromilter/config.ini
编辑文件内容
[Milter] # at postfix smtpd_milters = inet:127.0.0.1:3690 # bind to unix or tcp socket "inet:port@ip" or "/<path>/<to>/<something>.sock" SOCKET = inet:3690@127.0.0.1 # Milter timout in seconds TIMEOUT = 30 # Define the max size for each message in bytes (~50BM) MAX_FILESIZE = 50000000 # Directory for the macromilter configuration and withlist CFG_DIR = /etc/macromilter/ # Reject error message MESSAGE = ERROR - Attachment contains unallowed office macros! # Reject the mail if a malware macro is detected (yes/no) REJECT_MESSAGE = yes # Max nested archive depth - recomandation = 5 MAX_ZIP = 5 [Logging] LOGFILE_DIR = /var/log/macromilter LOGFILE_NAME = macromilter.log # Loglevels are: 1 = Debug (default) , 2 = Info, 3 = Warning/Error LOGLEVEL = 1 [Whitelist] # Add (comma seperated) some whitelisted recipients to the list to skip the VBA parsing "xyz@example.de","@example.de" Recipients = "", ""
修改文件时间
将文件时间修改为当前时间的前一年
删除文件