Koozali.org: home of the SME Server

Using procmail when your just using spam assassin ??

Offline steve288

  • *
  • 336
  • +0/-0
Using procmail when your just using spam assassin ??
« on: August 23, 2006, 04:19:13 PM »
We use microsoft exchange server. However we do use the SME as a first line of defense against spam.

We we have opted to use the feature in the server-manager that says;

"Delegate mail servers
Your server includes a complete, full-featured e-mail server. However, if for some reason you wish to delegate e-mail processing to another system, specify the IP address of the delegate system here. For normal operation, leave this field blank."

We have put an ip address in the field just below this line. This works well in forwarding mail through the the SME server to spamassassin and then to the Exchange server.

However I would also like to run the the mail through procmail. I have loaded the user-manager panel. But I dont think the procmail is working. I have set up some rules and they dont seem to be working. When I look at the procmail.log I dont see anything.(and I have turned it on)  I have used procmail very successfully in the past with a standard redhat computer, but can't seem to get this one off the ground.  Can anyone tell me how to get this working in my configuration.

Regards

frond

Re: Using procmail when your just using spam assassin ??
« Reply #1 on: August 28, 2006, 01:47:38 PM »
steve288

> We use microsoft exchange server. However we do use the SME as a
> first line of defense against spam.
> However I would also like to run the the mail through procmail.

It won't work in that configuration. Procmail applies to locally delivered messages to end user accounts on the sme server. As you are forwarding mail to a delegate server, then the messages never get to a user account and therefore cannot be processed by procmail.

You would be much better off upgrading to sme7 as all virus & spam filtering is done at the qpsmtpd stage & many "bad" messages including spam are rejected outright by the server.

Offline steve288

  • *
  • 336
  • +0/-0
Using procmail when your just using spam assassin ??
« Reply #2 on: September 14, 2006, 12:09:14 PM »
Thanks almost given up on reply. Rats cant do globally. Its great when it works that way.
Thanks.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Using procmail when your just using spam assassin ??
« Reply #3 on: September 17, 2006, 03:31:56 AM »
steve288

> I would also like to run the the mail through procmail.
> I have set up some rules and they dont seem to be working.

You don't say what you are trying to do, but there are various plugins available for qpsmtpd, and maybe one of those has the features/filtering you require, which would work globally too.
...

Offline kruhm

  • *
  • 680
  • +0/-0
Using procmail when your just using spam assassin ??
« Reply #4 on: September 24, 2006, 02:20:40 PM »
FYI -it is possible to filter the messages through procmail then forward it on. It's just that v6 wasn't built with procmail in mind. You'll have to use your regex knowledge to get the procmail working the way you want it to.

http://forums.contribs.org/index.php?topic=25568.0