Spamassassin not enabled for primary domain

fivenines

Verified User
Joined
Dec 7, 2010
Messages
17
Hello,

We are running DirectAdmin on CentOS 5.x 64bit, and I just installed Spamassassin yesterday. It seemed to install without error, and further, it seems to be enabled and working for all users virtual accounts - but not for our primary domain account.

When I go in to DA as a user account, the option to enable and configure SA is there under Email Management; but when I login as our primary domain account, the links are missing for SA Setup and the catch-all address setup. I have further confirmed that SA is not working on our primary domain, because there is nothing in any of the email headers.

I have looked thru the DA documentation, and made sure that our email configuration is setup correctly (hostname not matching domain name, etc.).

If anyone can shed some light on where to look/things to check, I'd be most grateful!
 
Update - .spamassassin directories not found

In looking at this KB page:

http://help.directadmin.com/item.php?id=280

Item #3, says:

"- Ensure you have /home/username/.spamassassin/user_prefs present or your emails will not be scanned."

I do NOT see a .spamassassin directory beneath any home/username directory.

However, as mentioned, I do see the options to setup SA in other user accounts, besides the primary one - but perhaps the SA install was not entirely successful?
 
Hi Richard,

Yes, I did use that exact guide. It prompted me to do a manual configuration, at which point I said "no", etc.

There are several spamassassin directories in other places on the server (i.e., under directadmin) - but none under the home directories. So at least part of the install finished, and I did not see any "fatal error" type messages at all.
 
Hello,

Installing spamd and editing the exim.conf installs spamassassin, but doesn't enable it for clients. It only allows clients to enable it.

So, the last step is to go to:
User Level -> SpamAssassin -> hit "Save", to turn it on.

This will create the user_prefs in the .spamassassin directory.

John
 
Hello John,

The problem is that there is no:

"User Level -> SpamAssassin" link.

It is completely missing from the User Level page of our primary domain account.

The SpamAssassin link is visible on other accounts. I will go in and enable it one of those accounts, to make sure it works - but that will not resolve the problem on our primary domain account.
 
An update to this problem:

I went in and enabled SA on a user account, as follows:

User Level -> SpamAssassin -> hit "Save", to turn it on.

But, when I went in via SSH to look at their home directory... there is still no .spamassassin directory present. I only see the following directories:

domains, images, Maildir, imap, _private and public_html
 
Hi Richard,

Ooops. No, I just did ls. So, the .spamassassin directory is present on the user account, along with user_prefs. Thanks :-)

My only problem then is on the primary domain account. Doing ls -al on the primary domain account does not show the .spamassassin directory. And of course, this is no surprise, because the link to enable SA is not showing up on the DA user page. The directories I see here are:

backups, domains, imap, imap-2007e, Maildir, and public_html
 
Hmmz... I wouldn't know in that case.
However, you could try:
http://help.directadmin.com/item.php?id=117

If you have the user_create_post.sh you can run the self made spam.sh from that post for existing users. Maybe it then will setup your primary account too.

If it doesn't, I'm sure support will have a solution for you.
 
Hello Richard,

Good news: I created and ran the scripts, and it did create the SA directory and user_prefs file for my primary domain account :) And, it's working - SPAM is being flagged, and I can modify the user_prefs file manually to get the desired results. I also realize I made need some additional filters added beyond SA, but this is surely a good start.

DA support: I would still like to know how to get the SA configuration links made visible in the DA user level page for my primary domain account.
 
SA is working, but links are still missing from DA page

Greetings,

Can someone tell me how to add the SA management links to my primary domain account, which are for some reason still missing?


Much appreciated :)
 
Hello,

Will you post a screen-shot of a page, where you're expecting this link to be.

Is SA enabled for the user?
 
Spamassassin Setup - Link Missing

Hello,

Thanks for responding. The SA link normally appears on the main DA page. There are 3 main sections of the page:

Your Account

E-Mail Management

Advanced Features

Under the E-Mail Management section, there is normally a link for "Spamassassin Setup". It is there on all other domain accounts, but that link is missing on my primary domain account, even though Spamassassin is functioning on the account.
 
Ok, is it really and properly enabled for user account (Reseller Level -> Modify User)? What skin is used for the user?
 
Back
Top