Sidney Markowitz <sid...@sidney.com> writes: > Cecil Westerhof wrote on 2/11/23 4:02 am: >> And when I run that from the command line I get: >> gpg: WARNING: unsafe ownership on homedir >> '/etc/spamassassin/sa-update-keys' > > That is referring to the owner of the directory
Argh, you are right. To many hours work, not enough hours sleep. :'-{ > /etc/spamassassin/sa-update-keys not the permissions. ls -al > /etc/spamassassin/sa-update-keys will show you the owner and group of > the directory and its files in addition to showing the permissions. > > gpg wants the file owner to be the same as the user gpg is running as. > If you see that the file owner is root, change it to the non-root user > that sa-update is actually running as. At the moment sa-update is running as root, while the owner is imaps. Spamd is also running as root. Probably best to change running those programs as imaps I suppose? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof