• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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