You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jonathan Nichols <jn...@pbp.net> on 2005/04/30 00:02:42 UTC

OT quick amavisd-new question

I posted this to the Gentoo forums as well, no replies yet. :(

New installation of amavisd-new. Here's the relevant information from 
the log.. notice the bit about "Couldn't POSIX::setuid.."

  I thought that was solved in Net::Server already. I have 0.85. Is 
there a known workaround for this issue? It's not occuring on another 
Gentoo box.

  mail-filter/amavisd-new-2.2.1-r1
  dev-perl/net-server-0.85

  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: Process Backgrounded
  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: 
2005/04/28-22:31:01 Amavis (type Net::Server::PreForkSimple) starting! 
pid(22229)
  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: Binding to TCP 
port 10024 on host 127.0.0.1
  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: Setting gid to 
"10025 10025"
  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: Setting uid to 
"10025"
  Apr 28 22:31:01 mailgate amavis[22229]: Net::Server: Couldn't 
POSIX::setuid to "10025" []
  Apr 28 22:31:02 mailgate amavis[22229]: Module Amavis::Conf 2.034
  Apr 28 22:31:02 mailgate amavis[22229]: Module Archive::Tar 1.23
  Apr 28 22:31:02 mailgate amavis[22229]: Module Archive::Zip 1.14
  Apr 28 22:31:02 mailgate amavis[22229]: Module Compress::Zlib 1.33
  Apr 28 22:31:02 mailgate amavis[22229]: Module Convert::TNEF 0.17
  Apr 28 22:31:02 mailgate amavis[22229]: Module Convert::UUlib 1.051
  Apr 28 22:31:02 mailgate amavis[22229]: Module DBI 1.46
  Apr 28 22:31:02 mailgate amavis[22229]: Module MIME::Entity 5.415
  Apr 28 22:31:02 mailgate amavis[22229]: Module MIME::Parser 5.415
  Apr 28 22:31:02 mailgate amavis[22229]: Module MIME::Tools 5.415
  Apr 28 22:31:02 mailgate amavis[22229]: Module Mail::Header 1.60
  Apr 28 22:31:02 mailgate amavis[22229]: Module Mail::Internet 1.60
  Apr 28 22:31:02 mailgate amavis[22229]: Module Mail::SpamAssassin 
3.000002
  Apr 28 22:31:02 mailgate amavis[22229]: Module Net::Cmd 2.26
  Apr 28 22:31:02 mailgate amavis[22229]: Module Net::DNS 0.40
  Apr 28 22:31:02 mailgate amavis[22229]: Module Net::SMTP 2.29
  Apr 28 22:31:02 mailgate amavis[22229]: Module Net::Server 0.85
  Apr 28 22:31:02 mailgate amavis[22229]: Module Razor2::Client::Version 
2.61

  *snip*

  I've Googled quite a bit and have only found some information about 
the Net::Server issue. The thing is that I didn't add any patches to the 
other (working) box, and it doesn't have this problem. Maybe there's a 
permissions issue that I've missed? They match on both boxes. What could 
I look for?

  Sorry if this is a simple thing.. I just haven't been able to solve it 
yet.

Re: OT quick amavisd-new question

Posted by Jonathan Nichols <jn...@pbp.net>.
> did you check the amavisd-new web site?
> http://www.ijs.si/software/amavisd/#faq-net-server
> 

you know, I did read that too, but I never had to jump through that hoop 
on a nearly identical machine. I applied the new subroutine to the new 
box, and it solved the issue.

I have *no* idea why it's actually working on the other (old) box. I 
vote for "voodoo."

:)

I also updated my Gentoo forums post to reflect the fact that 
"/usr/sbin/amavisd reload" is the recommended method for bouncing the 
daemon, and "/etc/init.d/amavisd restart" just pukes on itself.


Re: OT quick amavisd-new question

Posted by Noel Jones <no...@gmail.com>.
On 4/29/05, Jonathan Nichols <jn...@pbp.net> wrote:
> I posted this to the Gentoo forums as well, no replies yet. :(
> 
> New installation of amavisd-new. Here's the relevant information from
> the log.. notice the bit about "Couldn't POSIX::setuid.."
> 
>   I thought that was solved in Net::Server already. I have 0.85. Is
> there a known workaround for this issue? It's not occuring on another
> Gentoo box.
> 
>   mail-filter/amavisd-new-2.2.1-r1
>   dev-perl/net-server-0.85
> 


did you check the amavisd-new web site?
http://www.ijs.si/software/amavisd/#faq-net-server

-- 
Noel Jones