stenur changed the topic of #mailx to: SysV mail/BSD Mail/POSIX mailx: send and receive Internet mail | May take a day, Sundays never | Logs: https://libera.irclog.whitequark.org/mailx
rbcarleton has joined #mailx
rbcarleton has left #mailx [#mailx]
rbcarleton has joined #mailx
<rbcarleton> I'm using "nail" on OpenBSD 7.6, version 14.9.25 from the s-nail package. I'm trying to setup spam filtering with bogofilter. I used the example from the man page to set the variables for spam-interface, spam-maxsize, spamfilter-ham, spamfilter-noham, spamfilter-nospam, spamfilter-rate, spamfilter-spam, and spamfilter-rate-scanscore. I'm curious if there's an example somewhere for defining the folder-hook? I searched and couldn't find
<rbcarleton> one, or I just didn't recognize it when I saw it.
<rbcarleton> I'm not using spamassassin, so I wasn't sure if I could use the definition from the man page. I'm new to nail programming, so I have to learn something about that.
stenur_ has quit [Remote host closed the connection]
stenur has joined #mailx
<stenur> @rbcarleton: you mean folder hook to automatically start spam filtering?
<stenur> Hm, the example is .. just an example. If you have set up the spam-filter then "spamrate :u" ("del :s", "move :S +maybe-spam") should get you going.
<stenur> (I use this with bogofilter/LMDB myself, but not via folder hooks.)
<stenur> (Shall you stay with that, v14.10 somewhen in spring will obsolete folder hooks (with warning), in the future there is on-mailbox-event, with multiple events which can be differentiated. Just so you are warned.)
<stenur> (Also sorry for the late reply: on the server the proxy is running, the log is tracked via git, and i only see IRC when i actually get "git fetch" update logs. *Unless* i am somewhere active, like now. .. And i am not online on Sundays ..)
<stenur> Hope that help :) O/