Re: spamc --reporttype= not working and curious log message.

2018-04-19 Thread Giovanni Bechis
On 04/19/18 09:24, Reio Remma wrote: [...] > *Update:* none of the --option= switches work. > > handle_user (userdir) unable to find user: '' is caused because I have the > -username switch as --username=amavis instead of --username amavis > > It worked in 3.4.1. > > Is it at all possible that

Re: spamc --reporttype= not working and curious log message.

2018-04-19 Thread Giovanni Bechis
On 04/19/18 18:54, Reio Remma wrote: > I ran make test now - not exactly a pass. > cc dev@, I think this is a regression. > There were lots of complaints about: "Maybe you need to kill a running spamd > process?" There was no spamd running. > > The RPM is actually working nicely on our producti

Re: Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied

2018-04-19 Thread Rainer Dorsch
Update: the cd /home/rd solves the problem! I did not realize that the reportspam-line.sh is just called once and I have to restart it Rainer Am Donnerstag, 19. April 2018, 20:53:19 CEST schrieb Rainer Dorsch: > Thank you for your reply, Jesse. > > Hmm.no cd /home/rd/ does not help and

Re: Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied

2018-04-19 Thread Rainer Dorsch
Thank you for your reply, Jesse. Hmm.no cd /home/rd/ does not help and there is no lib directory in there rd@netcup:~$ ls -l lib ls: cannot access lib: No such file or directory rd@netcup:~$ ls -l Mail ls: cannot access Mail: No such file or directory rd@netcup:~$ pwd /home/rd rd@netcup:~$

Re: spamc --reporttype= not working and curious log message.

2018-04-19 Thread Reio Remma
I ran make test now - not exactly a pass. There were lots of complaints about: "Maybe you need to kill a running spamd process?" There was no spamd running. The RPM is actually working nicely on our production system (after I removed the = from spamc options). This is all on CentOS 7. Test

Re: Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied

2018-04-19 Thread Jesse Norell
Somewhat of a guess, but try adding "cd /home/rd/" at the top of your script.  I've had a similar issue with a sa-learn cronjob that ended up with /root as the working directory. On Thu, 2018-04-19 at 08:23 +0200, Rainer Dorsch wrote: > Yes, but the inotify version (not working anymore) I start i

Re: EMF file vulnerability?

2018-04-19 Thread Olivier Coutu
On 2018-04-18 20:37, Alex wrote: Hi all, this may be slightly OT, but we've been blocking .emf files forever but today a user complained that we blocked their Word documents which apparently have "image1.emf" files in them and were considered a threat by amavisd due to our restricted file type po

Re: spamc --reporttype= not working and curious log message.

2018-04-19 Thread Kevin A. McGrail
Certainly sounds odd. Does make test pass before you build the RPM? -- Kevin A. McGrail Asst. Treasurer & VP Fundraising, Apache Software Foundation Chair Emeritus Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail - 703.798.0171 On Thu, Apr 19, 2018 at 3:24 AM, Reio Remma wrote:

Re: Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: lib/Mail/SpamAssassin/Plugin/SpamCop.pm: Permission denied

2018-04-19 Thread Matus UHLAR - fantomas
On 18.04.18 19:03, Rainer Dorsch wrote: Hello, I have a strange problem when reporting spam using spamassassin -rD I monitor an imap directory using inotifywait: inotifywait --monitor --quiet --event moved_to,create --format '%f' /home/rd/ Maildir/.SPAM-learned/cur/ | /home/rd/bin/reportspam-l

Re: spamc --reporttype= not working and curious log message.

2018-04-19 Thread Reio Remma
On 19.04.18 9:45, Reio Remma wrote: Hello! I'm trying to use this to report spam: spamc --reporttype=report --username=amavis < mail However all I get is: spamc[9632]: Please specify a legal report type It works if I omit the = after --reporttype. This is with SA 3.4.2 from SVN, iirc it wor