• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Strange message by spamd: handle_user (userdir) unable to find user: '[email protected]'

tkalfaoglu

Silver Pleskian
Server operating system version
Rocky Linux
Plesk version and microupdate number
Plesk Obsidian 18.0.64 Update #1
Hi. I start spamd with:

Code:
# ps aux|grep spamd
root     18819  0.0  0.1 212976 115348 ?       Ss   01:23   0:11 /usr/bin/perl -T -w /usr/bin/spamd --pidfile=/var/run/spamd.pid --create-prefs --daemonize --helper-home-dir=/var/qmail --max-children=5 --razor-home-dir=/var/lib/razor/ --razor-log-file=sys-syslog --username=popuser --user-config --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin
popuser 30706 1.7 0.2 250508 132068 ? R 12:20 0:27 spamd child
popuser 51236 2.3 0.1 241156 124488 ? S 12:44 0:04 spamd child
popuser 54636 0.0 0.1 231764 110868 ? S 12:47 0:00 spamd child

but while it's running it keeps complaining:
spamd: handle_user (userdir) unable to find user: '[email protected]'

I check the /var/qmail/mailnames/domain.com/user/.spamassassin exists, and the owner/group are correct.

What am I doing wrong?
Many thanks, -turgut
 
Hi @tkalfaoglu,

Why are you starting the spamd service this way? I would recommend stop/kill this spamd process and start the SpamAssassin service via the Plesk > Tools & Settings > Server Management > Services Management & start/restart the SpamAssassin service from there.

Via the CLI you can use:
systemctl stop spamassassin.service <--- For Stopping the Service
systemctl start spamassassin.service <--- For Starting the Service
systemctl stop spamassassin.service <--- For Restarting the Service
systemctl status spamassassin.service <--- For Status Check

If you get any errors in the service, then please share the results of the journalctl -xeu spamassassin & systemctl status spamassassin.service -l commands.
 
Thanks for the feedback, yes when I let PLESK configure it, I got this:

Code:
SPAMDOPTIONS="--create-prefs --daemonize --helper-home-dir=/var/qmail --max-children=5 --nouser-config --razor-home-dir='/var/lib/razor/' --razor-log-file='sys-syslog' --username=popuser --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin"

Which is working fine right now.

The only difference is the --nouser-config that PLESK used.

I wanted per-user configurations -- as some users WANT all their mail, including their spam. I suspect if we use the --nouser-config, the per-user settings would stop working.
 
Hi @tkalfaoglu,

Why are you starting the spamd service this way? I would recommend stop/kill this spamd process and start the SpamAssassin service via the Plesk > Tools & Settings > Server Management > Services Management & start/restart the SpamAssassin service from there.
Via the CLI you can use: (....)
If you get any errors in the service, then please share the results of the journalctl -xeu spamassassin & systemctl status spamassassin.service -l commands.
Yes of course I know all about that, and that's how I start and stop that service and that's how I would look for troubles if it failed to start. But I also know ps aux command and wanted to share with all of you, so you know which parameters are passed to spamd..
 
Back
Top