• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Spamassasin doesn't work for email alias

D

damon

Guest
On 9.01 on an email with Spamassasin set, emails addressed to the alias is not scanned, so lots of spam getting through. The main email is scanned properly and has the SA headers, but email addressed to the alias doesn't have the headers.
 
No one else is seeing this problem?

Spam is really ruining my day since most domains have webmaster and postmaster (and others) setup as alias's. Now all the spam email that get addressed to those flow on through with no spam check.
 
Wow, these forums are really dead since the change to moderated posts.

Or am I really the only one with the email alias problem? I've seen a couple of posts about problems with domain alias, maybe these are related bugs?
 
Did you ever manage to get this back working?
Kr,
Bram

I never got any answer, no support here at all.

On the Spamassassin support site it is evident that SA doesn't look at email alias. Something changed between 8.6 and 9.0 plesk on how they handled alias. Because it used to work and now it doesn't.

I had to change all the alias emails to redirects. Redirects (email forwards) are checked by SA while alias emails are not. This needs to be added to the plesk FAQ and docs, but since no one from P cares, it probably won't be.

I suspect it was changed because redirects count as email accounts, while aliases don't, so they make more money on licenses
 
i had a ticket on this in the past.

the answer was:

problem with spam handlers not created for mail aliases has been solved in 9.0.1. However, 'mchk' utility was not -- it does not restore spam handlers for mail aliases. I have reported this problem to Parallels Plesk developers.

As for now I have created required handlers for all mail aliases with this command:

ally:/opt/psa/handlers/before-local/recipient# echo "select concat(ma.alias,'@',d.name) from mail mn, mail_aliases ma, domains d where ma.mn_id=mn.id and mn.dom_id=d.id and mn.spamfilter='true' and d.status=0" | mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Ns -Dpsa | while read al ; do [ ! -f $al/*spam* ] && /usr/local/psa/admin/sbin/mailmng --add-handler --handler-name=spam --handler-type=recipient --handler-type-name=$al --executable=/opt/psa/handlers/hooks/spam --context=spam --hook=before-local --priority=10 ; done

Please check and let us know if you have any further questions.

i am on debian paths maybe differ on other os ...
 
Back
Top