You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Suhas (QualiSpace)" <su...@qualispace.com> on 2006/10/14 14:33:48 UTC
senders domain has MX or not?
Hello,
Which rule will help me in checking if senders domain has MX
record or not. E.g I am getting email from user@domain.com, then the rule
should check whether domain.com has an MX record or not.
Warm Regards,
Suhas
System Administrator
QualiSpace - A QuantumPages Enterprise
===========================
Tel India: +91 (22) 6792 - 1480
Tel US: +1 (614) 827 - 1224
Fax India: +91 (22) 2530 - 3166
URL: http://www.qualispace.com <http://www.qualispace.com/>
===========================
For Any Technical Query Please Use: http://helpdesk.qualispace.com
<http://helpdesk.qualispace.com/>
QualiSpace Community Discussion forum: http://forum.qualispace.com
Re: senders domain has MX or not?
Posted by jdow <jd...@earthlink.net>.
From: "Benny Pedersen" <me...@junc.org>
> On Sat, October 14, 2006 14:33, Suhas \(QualiSpace\) wrote:
>> Which rule will help me in checking if senders domain has MX
>> record or not. E.g I am getting email from user@domain.com, then the rule
>> should check whether domain.com has an MX record or not.
>
> its not a fail if a domain have no mx record
Granted. However, if it can be used as part of a meta rule to indicate
something that is true far more often with spam than with ham (or vice
versa) then it's a very valid test. It may be time consuming, however.
{^_^}
Re: senders domain has MX or not?
Posted by Benny Pedersen <me...@junc.org>.
On Sat, October 14, 2006 14:33, Suhas \(QualiSpace\) wrote:
> Which rule will help me in checking if senders domain has MX
> record or not. E.g I am getting email from user@domain.com, then the rule
> should check whether domain.com has an MX record or not.
its not a fail if a domain have no mx record
--
"This message was sent using 100% recycled spam mails."
Re: senders domain has MX or not?
Posted by Spamassassin List <sp...@gmail.com>.
>Which rule will help me in checking if senders domain has MX record or not.
> E.g I am getting email from user@domain.com, then the rule should check
> whether domain.com has an MX record or not.
I think this should be a question on your mail daemon. Not spamassassin.
Re: senders domain has MX or not?
Posted by mouss <us...@free.fr>.
Benny Pedersen wrote:
> On Sun, October 15, 2006 23:33, mouss wrote:
>
>
>> - you may also use the bougusmx list at rfc-ignorant, but this catches
>> some legitimate (misconfigured) sites. so think twice before using it to
>> reject at MTA level.
>>
>
> the miss configured sites my see the problem in logs ?
>
These people manage to send mail to a lot of other domains. if you tell
them they are misconfigured, they will ignore you ("hey boy, our mail is
sent to N sites without a problem. if there's a problem, it's yours").
> if i know a domain that is configured bad i would tell them to fix it so the
> bogusmx can be removed
>
> no ?
>
>
if you're ready to spend your life parsing logs, go. if you wanna get a
"better" life, find better ways to fight spam. it's all about
costs/benefits. There are really too many misconfigured sites. For my
own mail, I can block a lot of this. but for other users, I can only
give them the choice to decide.
Re: senders domain has MX or not?
Posted by Benny Pedersen <me...@junc.org>.
On Sun, October 15, 2006 23:33, mouss wrote:
> - you may also use the bougusmx list at rfc-ignorant, but this catches
> some legitimate (misconfigured) sites. so think twice before using it to
> reject at MTA level.
the miss configured sites my see the problem in logs ?
if i know a domain that is configured bad i would tell them to fix it so the
bogusmx can be removed
no ?
--
"This message was sent using 100% recycled spam mails."
Re: senders domain has MX or not?
Posted by mouss <us...@free.fr>.
Suhas (QualiSpace) wrote:
> Hello,
>
>
>
> Which rule will help me in checking if senders domain has MX
> record or not. E.g I am getting email from user@domain.com, then the rule
> should check whether domain.com has an MX record or not.
>
<grin>
Fix your DNS:
# host -t mx domain.com
domain.com mail is handled by 10 sentry.domainbank.com.
# host sentry.domainbank.com
sentry.domainbank.com has address 64.85.73.28
so domain.com has an MX (which even resolves to an IP) .
if you meant an example domain, then please use example.com and friends.
</grin>
some notes:
- Note that a domain is not required to have an MX. An A record is enough.
- you may consider rejecting mail at MTA level if MX points to an
obviously "bad" MX (127.0.0.1, as well as "private" address classes,
...), or if the MX points to a well-known spammer host, ...
- you may also use the bougusmx list at rfc-ignorant, but this catches
some legitimate (misconfigured) sites. so think twice before using it to
reject at MTA level.