> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:amavis-user-
> [EMAIL PROTECTED] On Behalf Of Mark Martinec
> Sent: Wednesday, August 23, 2006 7:16 PM
> To: [email protected]
> Subject: Re: [AMaViS-user] amavisd-new 2.4.2 and Net::Server 0.94
> 
> 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,

Success!  The debug function works and amavisd-new responds to requests
on localhost:10024.  For my own curiosity I'll have to look into why
Perl doesn't complain when importing those mode types for IO::File.

Thanks,

ry

> 
>   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/

-------------------------------------------------------------------------
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