Good afternoon,

A few weeks back, I put together a new Postfix + Amavis + Cyrus
confgiuration on a VPS running Fedora Core 4, and by and large everything
has worked well.  However, once in December, and once this morning, I've
randomly (with no apparent rhyme or reason) started seeing messages like
this in the log:

Jan 10 09:44:42 panther amavis[26708]: (26708-17) Checking: WR6A19p5EGN7
[66.49.176.45] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
Jan 10 09:44:42 panther amavis[16260]: (26708-17) (!!)run_command: child
process [16260]: Can't open /dev/null: Permission denied at /.../amavisd
line 2354.
Jan 10 09:44:42 panther amavis[26708]: (26708-17) (!!)TROUBLE in check_mail:
parts_decode_ext FAILED: parsing file(1) results - missing last 1 results at
(eval 59) line 156.
Jan 10 09:44:42 panther amavis[26708]: (26708-17) (!)PRESERVING EVIDENCE in
/.../amavis/tmp/tmp/amavis-20070110T081552-26708

Out of curiosity, I added some additional output to that "Can't open" error
line in Amavis, and in this call, flags == mode == 0, if that is of any
signifiance:

Jan 10 09:55:04 panther amavis[26034]: (23883-01) (!!)run_command: child
process [26034]: Can't open /dev/null (flags=0, mode=0): Permission denied
at /.../amavisd line 2354, <GEN5> line 165.
Jan 10 09:55:04 panther amavis[23883]: (23883-01) (!!)TROUBLE in check_mail:
parts_decode_ext FAILED: parsing file(1) results - missing last 2 results at
(eval 59) line 156.
Jan 10 09:55:04 panther amavis[23883]: (23883-01) (!)PRESERVING EVIDENCE in
/.../amavis/tmp/tmp/amavis-20070110T095504-23883

At the time that this happened, /dev/null was showing permissions of 0660.
A "temporary fix" (and the one I employed in December) was to 'chomd 666
/dev/null' and away it went.

But now the question is: is this really the best solution, and if it is a
permissions thing, why would there be any change?  If it isn't, is this in
any way related to Amavis, or is it pointing to a bigger problem?

* Fedora Core 4, Amavisd-New 2.4.4 (w/SA 3.1.7), file 4.13

Any ideas?




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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