2007年7月31日 星期二

file: version mismatch

信收不進來,/var/log/maillog 系統記錄:



Jul 31 10:14:25 deepblue postfix/smtp[47817]: E7B4678C84: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=1.7, delays=1.4/0/0.01/0.28, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=33912-03, parts_decode_ext FAILED: file(1) utility (/usr/local/bin/file) failed, exit 1, parsing failure - missing last 1 results at (eval 74) line 165. (in reply to end of DATA command))
Jul 31 10:14:25 deepblue amavis[33858]: (33858-07) (!)NOTICE: Skipping bad output from file(1) at [0, p001], got: file: version mismatch (4 != 2) in `/usr/local/share/file/magic.mgc'
Jul 31 10:14:25 deepblue amavis[33858]: (33858-07) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/local/bin/file) failed, exit 1, parsing failure - missing last 1 results at (eval 74) line 165.
Jul 31 10:14:25 deepblue amavis[33858]: (33858-07) (!)PRESERVING EVIDENCE in /var/amavis/amavis-20070731T101425-33858


[[MORE]]

起因為:


deepblue# /usr/local/bin/file
file: version mismatch (4 != 2) in `/usr/local/share/file/magic.mgc'


暫時換成系統的 file,看起來運作正常。

ln -s /usr/bin/file /usr/local/bin/file

沒有留言:

張貼留言