Author Topic: markasjunk2  (Read 14236 times)

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
markasjunk2
« Reply #15 on: April 11, 2010, 02:46:48 AM »
but why I can use sa-learn from shell normally? without --dbpath

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
markasjunk2
« Reply #16 on: April 11, 2010, 03:34:11 AM »
I think its becuse by default sa-learn uses the home dir of the user it is running under and your shell user account probably has a lot more power to write to places than the user the web server runs as.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
markasjunk2
« Reply #17 on: April 22, 2010, 07:41:29 AM »
Hi guys,
I have markasjuck2 configured to use cmd_learn and markasjunk2 debugging on. When I view the markasjunk2 log, the first line shows the command but the second line just shows NULL instead of the 'Learned' line.

If I run the same command in the log on the command line, SA learns the email as expected.

I would be grateful if anyone has any thoughts.

Many thanks.