Koozali.org: home of the SME Server

Forwarding SPAM-Mail to admin

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Forwarding SPAM-Mail to admin
« on: November 22, 2004, 07:11:24 PM »
A few days ago I made an upgrade on SME 6.0.1-01. Thx to http://sme.swerts-knudsen.dk - antivirus and spamassassin are working fine. So far so good.

Question: Does anybody know how to trick the spamassassin to deliver the all SPAM-Mail to the admin mailbox? I want to proof a few days if the classification of the incoming mail works correct.

Thank's in advance
Stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline svangool

  • ****
  • 73
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #1 on: November 22, 2004, 07:52:40 PM »
Quote
Question: Does anybody know how to trick the spamassassin to deliver the all SPAM-Mail to the admin mailbox? I want to proof a few days if the classification of the incoming mail works correct.


Hi Stefan

Install usermanager-panel and procmail; define a rule looking for subject SPAM and forward it to the admin account (where I assume that you didn't define a forward in your admin account, otherwise you end up in a loop).

Sjef
......

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #2 on: November 22, 2004, 08:01:57 PM »
Hi Sjef,

thank you for your reply. I installed the user-panel. Also procmail is installed. So, where do I have to define the rule looking for SPAM?

Stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline svangool

  • ****
  • 73
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #3 on: November 22, 2004, 09:59:00 PM »
Quote
So, where do I have to define the rule looking for SPAM?


Stefan

You log in as admin into https://yourdomain.server-manager , select security/user panel access and then enable the proc-mail settings for the users it concerns.
Then log in with the username you want to process the mail for at https://yourdomain.usermanager (don't forget https), then you select process mail.

Sjef.
......

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #4 on: November 22, 2004, 10:27:31 PM »
Hi Sjef,

thank you for your reply. I'll try this over the night. I think with your help I'm on the right way.

Stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Taltos

Forwarding SPAM-Mail to admin
« Reply #5 on: November 25, 2004, 05:33:27 PM »
Quote from: "svangool"
Quote
So, where do I have to define the rule looking for SPAM?


Stefan

You log in as admin into https://yourdomain.server-manager , select security/user panel access and then enable the proc-mail settings for the users it concerns.
Then log in with the username you want to process the mail for at https://yourdomain.usermanager (don't forget https), then you select process mail.

Sjef.


in this case we muste cofigure the rule for all the users one by one ???

and when you have 100 or more users ?  :-o

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #6 on: November 26, 2004, 08:48:07 AM »
This is a pretty good question - meanwhile I tried the settings Sjef told me. Spamassassin is rejecting spam, but I do not get a copy of the rejected mails.

So in fact, I do not really know, what kind of e-mails have been rejected. I think, that's not a really good situation for a sysad.

So, does anybody know how to get this in a safe way?

Stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline svangool

  • ****
  • 73
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #7 on: November 26, 2004, 10:13:35 PM »
Quote
Spamassassin is rejecting spam, but I do not get a copy of the rejected mails.


Stefan, what do you mean by that?

Spamassassin only tags messages, it does not reject them (at least if you don't use the servermanager spam RBL feature).
If you lose messages then there is something wrong!

It does report "rejected messages" but that only means that it found those messages.

Do you maybe drop your spam in a junkmail folder but forgot to synchronize folders in your IMAP client?

Sjef.
......

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Forwarding SPAM-Mail to admin
« Reply #8 on: November 28, 2004, 03:46:50 PM »
Hello Sjef,

thank you for staying online.

Hmm, I activated the rbl-list feature. The mrtg reports, that mails have been rejected.

All clients in our network use ms-outlook, we are still  working with winnt workstations. My intention is to make sure, that I get a copy of the tagged and rejected spam-emails to my account, which is a different account as the root account.

That's all.
Stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)