Spam Filters and Spamassassin per User

UnlimitedNet

Verified User
Joined
Jan 6, 2006
Messages
5
Location
U.S.A.
Hello DirectAdmin users,

I have searched these forums a lot, and haven't found an answer. I've also looked through the demo. But, I was wondering, can you set per user settings on Spam Filters and Spamassassin (as in each mailbox)?

I'm really interested in DirectAdmin. :)

I'm sorry if this has been posted about before and I didn't catch it.

Best Regards,
Jason
 
Each DA user can define their own spam filters and spamassassin settings for each domain that they host. However, users can have any number of "virtual" email accounts, and these email accounts will all use the same settings. For spamassassin, for example, you would configure it to tag spam, set thresholds, etc. and these settings would apply to all email address in a domain. You can then choose to deliver spam normally, deliver it into a single spam catch-all or into each email account's spamfolder.

HTH...
 
Ah ok. Well, currently we do web hosting. But, we would like to add an email service alone and have rich spam filtering settings.

Is there a config file somewhere where we can set that per user?

Best Regards,
Jason
 
Not really... DA uses Exim filters to process and deliver spam. For example, the spamassassin settings are pulled from a domain owners users_prefs file. To do this per email account instead of per domain you'd have to modify the Exim director to instead look for the email account's pref file, and then you'd have to implement a mechanism to actually create and maintain this file per email account. Delivery is done similarly... you'd have to write an exim filter that would check for each email accounts settings and further figure out how to keep DA from overwriting this file.

There are probably other ways to do this (maildrop, e.g.) but this would require even heavier modification.

If all you need is an email service and you require per email account customizations, I would suggest that cheaper, more flexible solutions exist.
 
DirectAdmin was designed as a hosting control panel and is not an optimum platform for business email hosting.

For business email hosting we prefer vexim as a good starting point.

It would require a separate server.

Perhaps you should look to start out by reselling some other company's business email platform, and graduate to your own server as your resources permit.

There's an interesting article on business email hosting here.

Jeff
 
You're welcome :) .

I'm not sure who would buy email hosting alone if not businesses, but I've added a link to an interesting article on business email hosting to my post above.

However since you're not interesting in business email hosting, I won't add more links to business email hosting companies offering reseller accounts.

If you want to offer email-only hosting from inside DA you'll need your own skin anyway, and you can certainly customize (or have customized for you) exim.conf, and create new controls for it either as a plugin, or in your customized skin.

This has been discussed previously on these forums.

Jeff
 
I thought I'd add that if you plan on offering email alone you may end up with a lot more email traffic than is generally expected in a webhosting server. If you do, you'll find SpamAssassin a major drag on system resources.

So you'll probably want to offer SpamBlocker as well, to cut the load of email hitting SpamAssassin.

SpamBlocker is currently serverwide only. Though a future commercial version will work on a per-domain basis, making SpamBlocker work on a per user basis would also mean complex changes to exim.conf.

It's all doable; in fact we believe exim to be the best platform for Spam management. However it's not easy, and if you have someone else do it, it may not be inexpensive.

Jeff
 
Actually, we may start serving Internet Access soon. So, we wanted to be able to control each user's SPAM settings. But, we also thought about using one of the web hosting servers (which we may start using DirectAdmin on).

Best Regards,
Jason
 
UnlimitedNet said:
Actually, we may start serving Internet Access soon.
This is now offtopic, so I'll keep it short.

Good luck.

We've been in and out of access providing several times. About a year and a quarter ago was the last time I considered it; I spent a few days at ISPCon, talking with every company there.

By the time I left I was happy to not be going into the business again.

In today's market Internet Access sells for the same price as hosting, and costs significantly more.

Jeff
 
Back
Top