|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
spamd logging question
I am using OpenBSD spamd on all my 3 smtp gateways.
I am using the default settings Code:
$ cat /etc/rc.conf |grep spamd spamd_flags="" # for normal use: "" and see spamd-setup(8) spamd_black=NO # set to YES to run spamd without greylisting I have this entry in /etc/syslog (3 tabs from info to /var) Code:
!spamd daemon.err;daemon.warn;daemon.info /var/log/spamd thx rk |
|
|||
Found solution
missing a ! Code:
man syslog.conf 5 EXAMPLES A configuration file might appear as follows: # Log info (and higher) messages from spamd only to # a dedicated file, discarding debug messages. # Matching messages abort evaluation of further rules. A configuration file might appear as follows: # Log info (and higher) messages from spamd only to # a dedicated file, discarding debug messages. # Matching messages abort evaluation of further rules. !!spamd daemon.info /var/log/spamd Nope, still logging to both ..(: Last edited by roundkat; 15th May 2008 at 10:03 PM. |
|
|||
still have not found a solution on this..
anyone.. ??? |
|
|||
Take a look in the sort order, make shure to set the log for spamd before standart logging.
Quote:
Code:
# $Id: syslog.conf,v 1.1 2007/11/25 20:21:09 root Exp $ !!spamd daemon.err;daemon.warn;daemon.info /var/log/spamd *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages kern.debug;syslog,user.info /var/log/messages auth.info /var/log/authlog |
|
|||
Did you send a HUP signal to syslogd? Only then will syslog reread the modified syslog.conf configuration file.
Code:
# pkill -HUP syslogd Code:
# touch /var/log/spamd
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Sorry..
Life got in the way.. (broken water line under the floor at my rent house.. ) ohauer -- I think I tried that but it then blocked *all* logging to /var/log/daemon J65nko... Yes Sir.. but I will try it again to make sure.. I also did create the the log file.. and have added it to newsyslog.. jggimi -- I have noticed this is a FreeBSD dominated forum.. misc@ scares me.. much thank rk |
|
||||
It shouldn't scare you if you post a concise, polite question, with detailed information, that shows you've done what homework you can.
In this case, you are having trouble understanding various syslog man pages. All you really need is a pointer to some additional help, and that is how you should phrase your question. No one will get angry if you ask for assistance to help you figure out what it is you do not yet know, and, as you have done here already, post: Your configurationYou may get no response, but more likely, pointers to additional documentation. Those who get angry responses either haven't done their homework, or who post a "it's broke, fix it for me" message. Sometimes these are combined. If you're still scared, and want to try a kinder, gentler, more newbie-friendly mailing list that has a relatively large numbers of readers, try the openbsd-newbies list. It is unofficial, sign up for it at www.sfobug.org, the San Fransisco OpenBSD Users Group website. |
|
|||
Quote:
on my 4.1 box.. I am getting old though.. rk
__________________
All posts sent on ReCycled Electrons... |
|
|||
This is largely reflective of the market share differences between FreeBSD & OpenBSD, ie.
http://en.wikipedia.org/wiki/Compari...rating_systems ...but we still hold out hope for the wayward souls. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sshd logging - can we get the ssh command? | Mantazz | FreeBSD Security | 17 | 23rd May 2009 08:34 AM |
pflog not logging. | bsdnewbie999 | OpenBSD General | 9 | 13th March 2009 11:19 PM |
Suggestions for Web Traffic Logging? | Bruco | FreeBSD Ports and Packages | 16 | 18th September 2008 10:54 PM |
Network + aMule Logging Problems | disappearedng | FreeBSD General | 0 | 28th August 2008 09:22 PM |
OpenBSD's SPAMd dying | stukov | General software and network | 11 | 16th June 2008 03:18 PM |