You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by pr...@gmx.net on 2005/07/11 21:35:37 UTC

procmail: Could not create INET socket on 127.0.0.1:783: Permission denied

Hello,

I set up spamassassin to work with procmail according to instructions.
Here is what is in ~/.procmailrc:

#========SPAM ASSASSIN SECTION================

:0fw: spamd.lock
* < 256000
| /usr/sbin/spamd

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

:0:
* ^X-Spam-Status: Yes
probably-spam

:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

#=======END SPAM ASSASSIN SECTION==================


However spamd is failing to run.  This is what I see in the procmail
log:

procmail: Unlocking "/home/user/.lockmail"
procmail: [19772] Mon Jul 11 11:18:53 2005
procmail: Match on "< 256000"
procmail: Locking "spamd.lock"
procmail: Executing "/usr/sbin/spamd"
Could not create INET socket on 127.0.0.1:783: Permission denied
(IO::Socket::INET: Permission denied)
procmail: [19772] Mon Jul 11 11:18:54 2005
procmail: Program failure (13) of "/usr/sbin/spamd"





-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

Re: procmail: Could not create INET socket on 127.0.0.1:783: Permission denied

Posted by jdow <jd...@earthlink.net>.
From: <pr...@gmx.net>

> Hello,
> 
> I set up spamassassin to work with procmail according to instructions.
> Here is what is in ~/.procmailrc:
> 
> #========SPAM ASSASSIN SECTION================
> 
> :0fw: spamd.lock
> * < 256000
> | /usr/sbin/spamd
              ^^^^^ The spamd tool is run as a daemon. You want spamc
here. Start spamd in Mandrake, RedHat, and I believe SUSE with the
"chkconfig spamassassin on;service spamassassin start" mantra if a
"service spamassassin status" does not report it is running.

> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> almost-certainly-spam
> 
> :0:
> * ^X-Spam-Status: Yes
> probably-spam
> 
> :0
> * ^^rom[ ]
> {
>   LOG="*** Dropped F off From_ header! Fixing up. "
> 
>   :0 fhw
>   | sed -e '1s/^/F/'
> }
> 
> #=======END SPAM ASSASSIN SECTION==================

{^_^}