Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

exclude from freemail_domains

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


thomas.kinghorn at gmail

Jun 29, 2011, 4:07 AM

Post #1 of 19 (544 views)
Permalink
exclude from freemail_domains

Good afternoon list.

is there a way to exclude a domain from the fremail_domain checks in the
local.cf?

I do not want to have to manually remove our domain (which does not
offer freemail) from the 20_freemail_domains.cf file every time we update.

refer to bug 6542

http://old.nabble.com/-Bug-6542--New%3A-Freemail_domains.cf-FP-td30899122.html

our own mail is matching:

FREEMAIL_FROM
FROM_MISSP_FREEMAIL

thanks in advance.

Tom


me at junc

Jun 29, 2011, 4:20 AM

Post #2 of 19 (537 views)
Permalink
Re: exclude from freemail domains [In reply to]

On Wed, 29 Jun 2011 13:07:24 +0200, Tom Kinghorn wrote:

> our own mail is matching:
> FROM_MISSP_FREEMAIL

so fix the mua, none have asked to use brokken email clients


thomas.kinghorn at gmail

Jun 29, 2011, 4:27 AM

Post #3 of 19 (535 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 29/06/2011 13:20, Benny Pedersen wrote:
> On Wed, 29 Jun 2011 13:07:24 +0200, Tom Kinghorn wrote:
>
>> our own mail is matching:
>> FROM_MISSP_FREEMAIL
>
> so fix the mua, none have asked to use brokken email clients

I do not have access to the clients mua...
and this was not what I asked.

Please keep the critisism's related to the question which was asked...


axb.lists at gmail

Jun 29, 2011, 4:34 AM

Post #4 of 19 (534 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 2011-06-29 13:07, Tom Kinghorn wrote:
> Good afternoon list.
>
> is there a way to exclude a domain from the fremail_domain checks in the
> local.cf?
>
> I do not want to have to manually remove our domain (which does not
> offer freemail) from the 20_freemail_domains.cf file every time we update.
>
> refer to bug 6542
>
> http://old.nabble.com/-Bug-6542--New%3A-Freemail_domains.cf-FP-td30899122.html
>
>
> our own mail is matching:
>
> FREEMAIL_FROM
> FROM_MISSP_FREEMAIL
>
> thanks in advance.
>
> Tom
>
afaik you can't disable a domain atm but you could use a rule doing
something like (untested):

header NICE_ENVFROM_YOURDOMAIN
eval:check_freemail_header('EnvelopeFrom', '\@YOUR_DOMAIN')
describe NICE__ENVFROM_YOURDOMAIN Envelope-from YOUR_DOMAIN
score NICE__ENVFROM_YOURDOMAIN -100

score is just an example...


thomas.kinghorn at gmail

Jun 29, 2011, 5:20 AM

Post #5 of 19 (535 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 29/06/2011 13:34, Axb wrote:

>>
> afaik you can't disable a domain atm but you could use a rule doing
> something like (untested):
>
> header NICE_ENVFROM_YOURDOMAIN
> eval:check_freemail_header('EnvelopeFrom', '\@YOUR_DOMAIN')
> describe NICE__ENVFROM_YOURDOMAIN Envelope-from YOUR_DOMAIN
> score NICE__ENVFROM_YOURDOMAIN -100
>
> score is just an example...
>

Thank you.

I will play around a little with this and advise on results.


jhardin at impsec

Jun 29, 2011, 5:50 AM

Post #6 of 19 (546 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On Wed, 29 Jun 2011, Tom Kinghorn wrote:

> I do not want to have to manually remove our domain (which does not offer
> freemail) from the 20_freemail_domains.cf file every time we update.
>
> refer to bug 6542

Is your domain vodamail.co.za or are you just offering that bug as an
example of the class of the problem?

And by "our domain" do you mean "the domain we own and administer" or "the
domain our ISP uses"?

If that domain does not offer free email or webmail services then the
listing is incorrect and should be removed.

If the domain _does_ offer free email services, then the listing is valid.

Question: is the problem that you yourselves are in a domain that is
included in the freemail list, and the rules are hitting on message from
that domain to you? It's possible that the freemail rules should have
someoffsetting tests for from_dom == to_dom.

--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin [at] impsec FALaholic #11174 pgpk -a jhardin [at] impsec
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
When I say "I don't want the government to do X", do not
automatically assume that means I don't want X to happen.
-----------------------------------------------------------------------
5 days until the 235th anniversary of the Declaration of Independence


thomas.kinghorn at gmail

Jun 29, 2011, 5:54 AM

Post #7 of 19 (537 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 29/06/2011 14:50, John Hardin wrote:
> and the rules are hit
the domain which our clients use is vodamail.co.za

So the outbound servers, which use SpamAssassin, are hitting the rule
mentioned.

As such, a lot of our clients outbound mail are being rejected.
It is a GSM network and a lot of mail is being sent via handsets.


jhardin at impsec

Jun 29, 2011, 6:09 AM

Post #8 of 19 (532 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On Wed, 29 Jun 2011, Tom Kinghorn wrote:

> On 29/06/2011 14:50, John Hardin wrote:
>> and the rules are hit
>
> the domain which our clients use is vodamail.co.za

Is that your domain also?

--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin [at] impsec FALaholic #11174 pgpk -a jhardin [at] impsec
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Bipartisanship (n): Shut up about your principles and vote the way
the President tells you to!
-----------------------------------------------------------------------
5 days until the 235th anniversary of the Declaration of Independence


hege at hege

Jun 29, 2011, 6:32 AM

Post #9 of 19 (534 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On Wed, Jun 29, 2011 at 02:54:26PM +0200, Tom Kinghorn wrote:
> On 29/06/2011 14:50, John Hardin wrote:
> >and the rules are hit
> the domain which our clients use is vodamail.co.za
>
> So the outbound servers, which use SpamAssassin, are hitting the
> rule mentioned.
>
> As such, a lot of our clients outbound mail are being rejected.
> It is a GSM network and a lot of mail is being sent via handsets.

Why don't you just disable FreeMail plugin? I don't see why you would need
it on outbound mail. Unless you share the same SA for incoming or expect
your users would be some 419ers forging Reply-To: etc..

In any case I think it is valid to open up a bug so we can implement the
"unlisting" config feature for FreeMail plugin.


me at junc

Jun 29, 2011, 9:55 AM

Post #10 of 19 (530 views)
Permalink
Re: exclude from freemail domains [In reply to]

On Wed, 29 Jun 2011 13:27:58 +0200, Tom Kinghorn wrote:
> On 29/06/2011 13:20, Benny Pedersen wrote:
>> On Wed, 29 Jun 2011 13:07:24 +0200, Tom Kinghorn wrote:
>>
>>> our own mail is matching:
>>> FROM_MISSP_FREEMAIL
>>
>> so fix the mua, none have asked to use brokken email clients
>
> I do not have access to the clients mua...
> and this was not what I asked.
>
> Please keep the critisism's related to the question which was
> asked...

i read our as yours, sorry for that


me at junc

Jun 29, 2011, 9:57 AM

Post #11 of 19 (540 views)
Permalink
Re: exclude from freemail domains [In reply to]

On Wed, 29 Jun 2011 13:34:16 +0200, Axb wrote:
> On 2011-06-29 13:07, Tom Kinghorn wrote:
>> Good afternoon list.
>>
>> is there a way to exclude a domain from the fremail_domain checks in
>> the
>> local.cf?
>>
>> I do not want to have to manually remove our domain (which does not
>> offer freemail) from the 20_freemail_domains.cf file every time we
>> update.
>>
>> refer to bug 6542
>>
>>
>> http://old.nabble.com/-Bug-6542--New%3A-Freemail_domains.cf-FP-td30899122.html
>>
>>
>> our own mail is matching:
>>
>> FREEMAIL_FROM
>> FROM_MISSP_FREEMAIL
>>
>> thanks in advance.
>>
>> Tom
>>
> afaik you can't disable a domain atm but you could use a rule doing
> something like (untested):
>
> header NICE_ENVFROM_YOURDOMAIN
> eval:check_freemail_header('EnvelopeFrom', '\@YOUR_DOMAIN')
> describe NICE__ENVFROM_YOURDOMAIN Envelope-from YOUR_DOMAIN
> score NICE__ENVFROM_YOURDOMAIN -100
>
> score is just an example...

freemail_whitelist user_with_brokken_mua [at] example


me at junc

Jun 29, 2011, 10:04 AM

Post #12 of 19 (531 views)
Permalink
Re: exclude from freemail domains [In reply to]

On Wed, 29 Jun 2011 16:32:12 +0300, Henrik K wrote:

> In any case I think it is valid to open up a bug so we can implement
> the
> "unlisting" config feature for FreeMail plugin.

freemail_whielist ?

what about freemail_whitelist_auth ?

i do read source :=)


lawrencewilliams at nl

Jun 29, 2011, 10:28 AM

Post #13 of 19 (519 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 29/06/2011 8:37 AM, Tom Kinghorn wrote:
> Good afternoon list.
>
> is there a way to exclude a domain from the fremail_domain checks in
> the local.cf?
>
> I do not want to have to manually remove our domain (which does not
> offer freemail) from the 20_freemail_domains.cf file every time we
> update.
>
> refer to bug 6542
>
> http://old.nabble.com/-Bug-6542--New%3A-Freemail_domains.cf-FP-td30899122.html
>
>
> our own mail is matching:
>
> FREEMAIL_FROM
> FROM_MISSP_FREEMAIL
>
> thanks in advance.
>
> Tom
>
>
Hi Tom,

FREEMAIL_FROM by itself is harmless. However, if your e-mail is also
hitting FROM_MISSP_FREEMAI, it means it has malformed From: headers.

Something like:

From: "Lawrence Williams"lawrencewilliams [at] nl

Notice the missing space between the quotes ending my name, and the
beginning of the e-mail address.

A proper From header would be:

From: lawrencewilliams [at] nl
or
From: "Lawrence Williams" lawrencewilliams [at] nl

This is most likely a bug in the e-mail system you are using.

Regards,
Lawrence


thomas.kinghorn at gmail

Jun 29, 2011, 10:41 PM

Post #14 of 19 (519 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 29/06/2011 19:28, Lawrence @ Rogers wrote:
> A proper From header would be:
>
> From: lawrencewilliams [at] nl
> or
> From: "Lawrence Williams" lawrencewilliams [at] nl
>
> This is most likely a bug in the e-mail system you are using.
>
> Regards,
> Lawrence
>

Thank you to everyone who has responded.

I will do some tests and will advise on the action which brought about
the desired result.

Keep up the good work guys.
Much appreciated.

regards

Tom


thomas.kinghorn at gmail

Jun 30, 2011, 5:41 AM

Post #15 of 19 (517 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 30/06/2011 07:41, Tom Kinghorn wrote:
> On 29/06/2011 19:28, Lawrence @ Rogers wrote:
>> A proper From header would be:
>>
>> From: lawrencewilliams [at] nl

Afternoon list

The rule which brought about the desired result is adding the following
to the local.cf file


ifplugin Mail::SpamAssassin::Plugin::FreeMail
freemail_domains example.com
freemail_whitelist example.com
endif


replace example.com with the problem domain.

Thanks once again for all the responses.

regards

Tom


hege at hege

Jun 30, 2011, 5:50 AM

Post #16 of 19 (518 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On Thu, Jun 30, 2011 at 02:41:10PM +0200, Tom Kinghorn wrote:
> On 30/06/2011 07:41, Tom Kinghorn wrote:
> >On 29/06/2011 19:28, Lawrence @ Rogers wrote:
> >>A proper From header would be:
> >>
> >>From: lawrencewilliams [at] nl
>
> Afternoon list
>
> The rule which brought about the desired result is adding the following
> to the local.cf file
>
>
> ifplugin Mail::SpamAssassin::Plugin::FreeMail
> freemail_domains example.com
> freemail_whitelist example.com
> endif
>
>
> replace example.com with the problem domain.
>
> Thanks once again for all the responses.

Heheh, as the original author I should have remembered this.. I'm glad you
found the right switch.


thomas.kinghorn at gmail

Jun 30, 2011, 5:55 AM

Post #17 of 19 (516 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 30/06/2011 14:50, Henrik K wrote:
> On Thu, Jun 30, 2011 at 02:41:10PM +0200, Tom Kinghorn wrote:
>
> Heheh, as the original author I should have remembered this.. I'm glad you
> found the right switch.
>
>

hehe

no problem :o)

Some times a little G.F.G.I on my part works wonders.

regards

Tom


me at junc

Jun 30, 2011, 9:14 AM

Post #18 of 19 (516 views)
Permalink
Re: exclude from freemail domains [In reply to]

On Thu, 30 Jun 2011 14:55:23 +0200, Tom Kinghorn wrote:

> Some times a little G.F.G.I on my part works wonders.

if you need to whitelist a whole domain as freemail make a bug ticket

but yes

freemail_domain test.example.org
freemail_whitelist postmaster [at] test
freemail_whitelist abuse [at] test

not so usefull to whitelist a whole domain


thomas.kinghorn at gmail

Jun 30, 2011, 11:04 PM

Post #19 of 19 (513 views)
Permalink
Re: exclude from freemail_domains [In reply to]

On 30/06/2011 18:14, Benny Pedersen wrote:
> On Thu, 30 Jun 2011 14:55:23 +0200, Tom Kinghorn wrote:
>
>> Some times a little G.F.G.I on my part works wonders.
>
> if you need to whitelist a whole domain as freemail make a bug ticket
>

Refer to my original post

<snip>
refer to bug 6542

http://old.nabble.com/-Bug-6542--New%3A-Freemail_domains.cf-FP-td30899122.html
</snip>

Bug ticket was already created.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.