Ryan,

> > > 6781: } elsif ($fh->open($config_file,'+<')) {
> > > If the open mode '+<' is removed, everything works just fine.

> +  local($1); # don't let IO::Handle::_open_mode_string taint the $1
> Unfortunately, this didn't resolve the issue.  I get same issue when
> running amavisd in debug mode.  Here's the code as it looks now:

Can you please try replacing that open() with:

      } elsif ($fh->open($config_file,O_RDWR)) {

You'll also need to declare O_RDWR, e.g. by replacing a line:
  use IO::File ();
with:
  use IO::File qw(O_RDONLY O_WRONLY O_RDWR O_APPEND O_CREAT O_EXCL);
shortly after "package Amavis;"

  Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
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