Trying to setup PF and spamd...hell!

elekktretterr at exemail.com.au elekktretterr at exemail.com.au
Thu Aug 9 03:45:40 PDT 2007


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

Hi Jeremy and the rest,

This is the end of the ktrace of spamd-setup, im trying to figure out why
i get broken pipe.

99940 spamd-setup RET   connect 0
 99940 spamd-setup CALL  fcntl(0x3,0x3,0)
 99940 spamd-setup RET   fcntl 2
 99940 spamd-setup CALL  fstat(0x3,0xbfbff6b0)
 99940 spamd-setup RET   fstat 0
 99940 spamd-setup CALL  mmap(0,0xe000,0x3,0x1002,0xffffffff,0,0,0)
 99940 spamd-setup RET   mmap 674279424/0x2830b000
 99940 spamd-setup CALL  write(0x3,0x2830b000,0xe000)
 99940 spamd-setup GIO   fd 3 wrote 57344 bytes
       "spews1;"SPAM. Your address %A is in the spews level 1 database\\n"
 99940 spamd-setup RET   write 57344/0xe000
 99940 spamd-setup CALL  write(0x3,0x2830b000,0xb933)
 99940 spamd-setup GIO   fd 3 wrote 47411 bytes
       "24;200.140.110.0/24;200.141.161.0/25;200.141.161.134/32;200.142."
 99940 spamd-setup RET   write 47411/0xb933
 99940 spamd-setup CALL  close(0x3)
 99940 spamd-setup RET   close 0
 99940 spamd-setup CALL  close(0x3)
 99940 spamd-setup RET   close -1 errno 9 Bad file descriptor
 99940 spamd-setup CALL  pipe
 99940 spamd-setup RET   pipe 3
 99940 spamd-setup CALL  fork
 99940 spamd-setup RET   fork 99948/0x1866c
 99940 spamd-setup CALL  close(0x3)
 99940 spamd-setup RET   close 0
 99940 spamd-setup CALL  fcntl(0x4,0x3,0)
 99940 spamd-setup RET   fcntl 2
 99940 spamd-setup CALL  fstat(0x4,0xbfbff220)
 99940 spamd-setup RET   fstat 0
 99940 spamd-setup CALL  write(0x4,0x2830b000,0x4000)
 99940 spamd-setup PSIG  SIGPIPE SIG_DFL

is it of any use?

Thank you so much,
I think im very close to getting greylisting to work, just need to wait
for the right time to do it at night so our customers dont go crazy haha
:)

Petr







More information about the Users mailing list