On Sunday 14 March 2021 07:50:37 Andy Smith wrote: > Hello, > > On Sat, Mar 13, 2021 at 05:10:42PM -0500, Gene Heskett wrote: > > OPTIONS="--create-prefs --max-children 5 --helper-home-dir -s > > ~/log/mail.log" > > spamd is a system service and it normally (initially) runs as root, > so using a ~ there probably isn't what you want. Storing logs from > such a daemon inside your home directory also doesn't seem > appropriate. > > > Its not hitting the named file, but its not spamming syslog any > > more. So I've no clue where all that is going > > I wouldn't be surprised if it had ended up somewhere inside /root > (user root's home directory), or nowhere. > > Cheers, > Andy
But you've forgotten the spamd's cameleon ability's, that of assuming the users identity, so while it didn't accept the ~/gene/log path, it works just fine if the path given is the full pathname. Since I am alone, and never had a computer using & literate wife, and she passed last Pearl Harbor Day, Dec 7, 2020, I'm the only breathing user here, and keeping such as my email logs in my own log dir sure puts and end to the constant battle for permissions in /var/log. Once set up, it Just Works. gene@coyote:~/Downloads/3dp.stf$ ls -l /home/gene/log total 44060 -rw-r--r-- 1 gene gene 16147 Mar 14 12:14 fetchmail.log -rw-r--r-- 1 gene gene 11226014 Mar 14 00:09 fetchmail.log.1 -rw-r--r-- 1 gene gene 7694 Jul 6 2020 fetchmail.log.2.gz -rw-r--r-- 1 gene gene 7326 Jun 28 2020 fetchmail.log.3.gz -rw-r--r-- 1 gene gene 7697 Jun 21 2020 fetchmail.log.4.gz -rw-r--r-- 1 gene gene 9975 Jun 15 2020 fetchmail.log.5.gz -rw-r--r-- 1 gene gene 3471 Mar 14 12:14 mail.log -rw-r--r-- 1 gene gene 2397019 Mar 14 00:09 mail.log.1 -rw-r--r-- 1 gene gene 4833 Jul 6 2020 mail.log.2.gz -rw-r--r-- 1 gene gene 4581 Jun 28 2020 mail.log.3.gz -rw-r--r-- 1 gene gene 4688 Jun 21 2020 mail.log.4.gz -rw-r--r-- 1 gene gene 5864 Jun 15 2020 mail.log.5.gz -rw-r--r-- 1 gene gene 45302 Mar 14 12:14 procmail.log -rw-r--r-- 1 gene gene 31003168 Mar 14 00:09 procmail.log.1 -rw-r--r-- 1 gene gene 36668 Jul 6 2020 procmail.log.2.gz -rw-r--r-- 1 gene gene 34798 Jun 28 2020 procmail.log.3.gz -rw-r--r-- 1 gene gene 32404 Jun 21 2020 procmail.log.4.gz -rw-r--r-- 1 gene gene 42483 Jun 15 2020 procmail.log.5.gz -rw-r--r-- 1 gene gene 180494 Mar 14 12:14 sa-mail.log sa-mail.log has not existed long enough to be rotated, and the long gap in the dates was because I had piggy backed "mystuff" onto a system rotate file, which apparently got replaced by an update in late June of last year and went un-noticed by me until a couple days ago. So now "mystuff" has its own file. Shoulda had it originally. :( Sometimes I learn slow now, but what the hell, I'm also 86 years old. And lucky to be here, but I seem to be a survivor, altho one emergency did cost me some of my once 147 IQ. I had a pulmonary embolism at 79 yo that while I'm one of the < 2% that survive one of those, it did do some brain damage. Enough that I failed the Mensa test at 81. And working on 3d printing a harmonic drive that will last more than 24 hours running at 1000 input rpms. 3 or 4 heart attacks and some hardware helpers installed in my heart, and a pacemaker are keeping me going. But as one comic said on the radio in the middle of WW-II, I don't even buy green bananas. :) So far, so good. Take care, stay safe and well all. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>