Mark Martinec napsal(a):
Jiří,

Where can be the problem? The amavis stops the emails even if they are
plain text. Manual running of /usr/bin/file on stored email.txt works
fine.
Such test should be run as user vscan (or whatever amavisd runs under)
to be able to spot file access/protection violations.
If running chrooted, a test should be done chrooted as well.

I should have added that when manually testing a file utility,
you also need to check its exit status, e.g.:

  file ...; echo $?

Should be 0.

Btw, which version of file is that?  (file --version)

  Mark
gate:/etc/bind# file rndc.key; echo $?
rndc.key: ASCII text
0
gate:/etc/bind# file --version
file-4.12
magic data from /etc/magic:/usr/share/misc/file/magic
gate:/etc/bind#


Jiri


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to