Koozali.org: home of the SME Server

Mailfront rules not working

reggie

Mailfront rules not working
« on: April 24, 2003, 09:06:59 PM »
I just did a clean install of 5.6U3 and installed the dmc-mitel mailfront rules RPM I found on contribs.org. The install seemed to go well and I now
have a panel from which to add mailfront rules, but the rules don't seem
to be having any effect. I set my hotmail account up as a reject rule
and I can still send email in from it. Is there something else I need to
do to get this to work properly? I did restart email and even rebooted
the server and the rule still seems to get bypassed somehow. Any help
you could provide would be greatly appreciated!!

reggie

Re: Mailfront rules not working
« Reply #1 on: April 25, 2003, 10:17:16 AM »
Upon further inspection, I notice that the rules I apply in the mailfront panel are being applied to the var/qmail/control/mailrules.default file but they are atill being ignored. Here is a snippet of the deny section, it looks to be in the proper format from the documentation I can find:
# -----------------------------
# Reject list starts here:
# -----------------------------
d*@hotmail.com::REJECT_KNOWN_SPAMMER
d*@limitedspecialoffers.com::REJECT_KNOWN_SPAMMER
d*@yourcoolprizes.com::REJECT_KNOWN_SPAMMER
d*@yourfreeprizes.com::REJECT_KNOWN_SPAMMER

Does anyone have any idea why this file seems to be getting ignored during mail processing?

Bill Talcott

Re: Mailfront rules not working
« Reply #2 on: April 25, 2003, 07:17:42 PM »
reggie wrote:
>
> Upon further inspection, I notice that the rules I apply in
> the mailfront panel are being applied to the
> var/qmail/control/mailrules.default file but they are atill
> being ignored. Here is a snippet of the deny section, it
> looks to be in the proper format from the documentation I can
> find:
> # -----------------------------
> # Reject list starts here:
> # -----------------------------
> d*@hotmail.com::REJECT_KNOWN_SPAMMER
> d*@limitedspecialoffers.com::REJECT_KNOWN_SPAMMER
> d*@yourcoolprizes.com::REJECT_KNOWN_SPAMMER
> d*@yourfreeprizes.com::REJECT_KNOWN_SPAMMER
>
> Does anyone have any idea why this file seems to be getting
> ignored during mail processing?

Here's what ours looks like

d*:*!*: Sorry, we don't allow that here
d*:*@*@*: Sorry, we don't allow that here
d*:*%*: Sorry, percent hack not accepted here

I did some tinkering with it a while back, so I can't guarantee that mine is perfect either. But shouldn't yours have the email addresses between the colons, not in front of them next to "d*"?

Bill Talcott

Re: Nevermind
« Reply #3 on: April 25, 2003, 07:20:25 PM »
Bill Talcott wrote:
>
> I did some tinkering with it a while back, so I can't
> guarantee that mine is perfect either. But shouldn't yours
> have the email addresses between the colons, not in front of
> them next to "d*"?

Ok, I looked it up and those would be sender addresses, where mine are recipient. So that's not the problem...

http://untroubled.org/mailfront/mailrules.html

reggie

Re: Nevermind
« Reply #4 on: April 26, 2003, 04:04:52 AM »
Thanks for trying Bill. I looked it up at the site for mailfront too before I posted and the format looks correct. I don't know why they are not being processed, but I am certainly no expert when it comes to the email services on a Mitel server. Hopefully someone will be able to help me soon. Thanks again!

Damien Curtain

Re: Nevermind
« Reply #5 on: April 26, 2003, 07:18:49 AM »
Rewrite
d*@hotmail.com::REJECT_KNOWN_SPAMMER
as
d*@hotmail.com:*:REJECT_KNOWN_SPAMMER

Also remember it's working on the envelope header, so you may still see spam in getting through with the from line set to hotmail etc. you'll need to block the actual sender (look in the headers)
--
 Damien

reggie

Re: Nevermind
« Reply #6 on: April 26, 2003, 07:48:57 AM »
Thanks Damien!!! That's the ticket!!! I never saw anything in any docs that said I needed a wildcard for the recipient but that sure did the trick. I really appreciate the help, thanks again.

Darrell May

Re: Mailfront rules not working
« Reply #7 on: April 27, 2003, 12:43:15 AM »
Answered on this forum thread:

http://myezserver.com/phpBB2/viewtopic.php?t=351

Regards,

Darrell