Koozali.org: home of the SME Server

Spamassassin & multiple domains

Offline zaker

  • *
  • 18
  • +0/-0
Spamassassin & multiple domains
« on: July 04, 2007, 03:28:50 AM »
Is there anything that needs to be done to spamassassin when multiple domains are on the same server.

I have latest SME with all updates, and a machine with main domain and a second domain. Email sent to user@main blocked as spam, email sent to user@second comes through. It is almost as if SA is not checking the second domain.

Is it something I need to configure, or should I post this to the bugtracker?

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Spamassassin & multiple domains
« Reply #1 on: July 04, 2007, 02:12:56 PM »
There is nothing additional that needs to be done. All the mail will go through spamassassin unless you white list it.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline zaker

  • *
  • 18
  • +0/-0
Spamassassin & multiple domains
« Reply #2 on: July 04, 2007, 02:33:21 PM »
Could it possibly be something with the RBL's then? something is active on the main domain stopping certain emails which are allowed through if they are sent to the second domain.

Offline ReetP

  • *
  • 3,950
  • +6/-0
Re: Spamassassin & multiple domains
« Reply #3 on: August 28, 2007, 05:43:04 PM »
I seem to have a similar problem though in reverse !

Anything sent to the main domain for the server seems to get missed by spamassassin but anything sent through a secondary domain gets put through SA.

The main domain is being collected via POP3 (Dungog multi POP3 contrib) but the secondaries are receiving direct.

This seems to be happening on two separate 7.2 servers, both upgraded from 7.1.3

I don't want to report as a bug it if it is my stupidity rather than anything else.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline dave simmons

  • ****
  • 125
  • +0/-0
Re: Spamassassin & multiple domains
« Reply #4 on: August 28, 2007, 06:00:18 PM »
Hello guys,

I've read the posts because I'm also having problems with spamassassin (see thread 'Spamfilter seems to have stopped working' if you're interested).

I have been searching the net and while I have not found a solutions to my problem I think I may have seen the solutions to your problem on a French-language SME site.  I'm based in Belgium, so French is no problem for me.  However, if you prefer in English, here is a link to the solutions which the guy proposed:

http://www.schirrms.net/sme/SMEFetchMail.php#SME-7-1

Please note - I have nearly no technical experience with SME - I've used it since version 5.6, but everything has always worked perfectly via the server-manager interface, so please consider carefully whether the article I have proposed really solves your problem.  I don't know enough to be sure, but it looks very similar.

Hope this helps.

Dave Simmons

Offline ReetP

  • *
  • 3,950
  • +6/-0
Re: Spamassassin & multiple domains
« Reply #5 on: August 28, 2007, 06:25:21 PM »
Hits the spot for me.

Question is, how the hell can I change this ? Presumably somewhere in qmail there is something that tells it what is or isn't a local domain ?

Really need to get this one sorted out.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spamassassin & multiple domains
« Reply #6 on: August 28, 2007, 08:05:32 PM »
I seem to have a similar problem though in reverse !

Anything sent to the main domain for the server seems to get missed by spamassassin but anything sent through a secondary domain gets put through SA.

The main domain is being collected via POP3 (Dungog multi POP3 contrib) but the secondaries are receiving direct.

Please report a bug against the Dungog multi POP3 contrib.

You should also avoid fetchmail if at all possible.

Offline ReetP

  • *
  • 3,950
  • +6/-0
Re: Spamassassin & multiple domains
« Reply #7 on: August 29, 2007, 11:51:02 PM »
Charlie,

Thanks for the reply. Could you kindly confirm whether mail collected from your ISP with POP3 / multi drop would normally be checked for spam/virus or not ?

From what I read in the link in the earlier post, it is suggested that may not be the case. I may just be stupid though !

My mails seem to be virus checked but ignored by Spamassassin. I am happy to post a bug to Dungog if you consider it to be a problem with their contrib.

I had no intention of moving to fetchmail but would like to get this resolved.

B. Rgds
JC
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spamassassin & multiple domains
« Reply #8 on: August 30, 2007, 12:34:05 AM »
Thanks for the reply. Could you kindly confirm whether mail collected from your ISP with POP3 / multi drop would normally be checked for spam/virus or not ?

Yes. See: http://bugs.contribs.org/show_bug.cgi?id=2223

Quote
From what I read in the link in the earlier post, it is suggested that may not be the case.

If anyone suspected that, they should report the details to the Bug Tracker.

Quote
My mails seem to be virus checked but ignored by Spamassassin. I am happy to post a bug to Dungog if you consider it to be a problem with their contrib.

Don't hesitate.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Spamassassin & multiple domains
« Reply #9 on: September 04, 2007, 02:59:32 AM »
I recommend using getmail
there is a direct replacement panel available