Trying to setup PF and spamd...hell!

Jeremy C. Reed reed at reedmedia.net
Wed Aug 8 21:49:39 PDT 2007


On Wed, 8 Aug 2007, Cédric Berger wrote:

> Jeremy C. Reed wrote:
> > On Thu, 9 Aug 2007, elekktretterr at exemail.com.au wrote:
> > 
> > > but when i run spamd-setup, i get a message after about 10 seconds: Broken
> > > pipe.
> > > 
> > > also when i run spamdb it says there is no database in /var/db/spamd.
> > 
> > Did you start "spamd" and is the daemon still running? (It creates the
> > database if it doesn't exist.)
> 
> Not sure about that.

The source hs:

      /* check to see if /var/db/spamd exists, if not, create it */
      if ((i = open(PATH_SPAMD_DB, O_RDWR, 0)) == -1 && errno == ENOENT) {
              i = open(PATH_SPAMD_DB, O_RDWR|O_CREAT, 0644);

> Just do a 'touch /var/db/spamd'

  Jeremy C. Reed



More information about the Users mailing list