Re: n00b spamd/spamdb question

2014-08-21 Thread Steven Roberts
 Date: Thu, 21 Aug 2014 13:11:23 -0500
 From: Adam Thompson athom...@athompso.net
 To: OpenBSD-misc list misc@openbsd.org

 I've finally started using spamd on a new mail server, and am seeing 
 some results that I don't understand.  (I'm also using smtpd(8) now, so 
 this is all new software to me...)

That is exciting. spamd and smtpd are excellent imho.

I recommend you continue to read the man pages until you have
a better understanding of how they work.


 1 - spamdb(8) shows nothing but WHITE-listed entries
 2 - but spamd(8) (running with -v -G 2:4:864) logs almost every one of 
 those WHITE IP addresses as either being greylisted or blacklisted.

 Shouldn't those be showing up as BLACK in spamdb, not WHITE ?

spamdb(8) indicates 4 different entry types.
BLACK is not an entry type.

 My best guess so far is that I've got the -G passtime too low, and 
 everyone talking to me so far is really aggressive and actually retries 
 correctly...?  This server is still only a secondary MX for the domains 
 that get hit with lots of spam, so that's actually plausible.

I would recommend using the default spamd values.

Cheers.



Re: n00b spamd/spamdb question

2014-08-21 Thread Steven Roberts
 Oops.  I see that now.  Then how do I see what IPs are blacklisted 
 without becoming a human version of spamd-setup(8)?

If running spamd in default mode ...

1. spamdb(8), TRAPPED entries.
2. The spamd.conf(5) file is read by spamd-setup(8) to configure
blacklists for spamd(8).

I am not aware of a way to fetch the blacklist directly from
spamd. I believe 'spamd-cfg' services(5) is for sending data only.

P.S. The sender does not need to be blacklisted in order to prevent
their spam from reaching your smtpd. Check out your /var/log/daemon
to monitor connections/activity etc.



Re: Messed-up package dependencies?

2014-08-13 Thread Steven Roberts
 So, it seems that upgrading from 5.5-STABLE to -current completely
 messed-up package dependencies.

http://www.openbsd.org/faq/current.html

You should ALWAYS use a snapshot as the starting point for running -current. 
Upgrading by compiling your own source code is not supported.

 I certainly make something terribly wrong... but what? And is there
 any way to recover the situation? Where should I start the debugging?

Backup your data. Install a Snapshot. Try again.

http://www.openbsd.org/faq/faq5.html#Flavors

P.S. Why do you want to run current?



Patch #10 for 4.8

2011-02-16 Thread Steven Roberts
Patch #10 for 4.8 is missing the path ie. Index: if_sis.c
http://ftp.openbsd.org/pub/OpenBSD/patches/4.8/common/010_sis.patch

If you encounter a 'File to patch' issue, you should be able to apply it ok by 
doing:
/usr/src/sys/dev/pci
patch -p0  010_sis.patch