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

Mailing List Archive: SpamAssassin: users

Spam with my company domain

 

 

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


JDavila at languageworks

Oct 28, 2009, 1:07 PM

Post #1 of 9 (634 views)
Permalink
Spam with my company domain

Hi all,

I'm getting Spam which is addressed to another person in my company , but
it getting sent to me . So in my inbox the To Field is Kristin , but in
Jeremy's inbox.


jhardin at impsec

Oct 28, 2009, 1:20 PM

Post #2 of 9 (602 views)
Permalink
Re: Spam with my company domain [In reply to]

On Wed, 28 Oct 2009, Jeremy Davila wrote:

> I'm getting Spam which is addressed to another person in my company ,
> but it getting sent to me . So in my inbox the To Field is Kristin , but
> in Jeremy's inbox.

The information in the To: header has nothing to do with who actually
receives the message. Delivery is controlled by the "envelope To", which
is the "please send this message to" address communicated during message
transfer between mail programs.

There are more details available if you google "smtp envelope to address"

It's risky to use "my address isn't in the to:" as a spam sign, because
blind carbon copies would always hit and forwarded messages (e.g. from
your gmail account to your ISP account) would likely hit.

--
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
-----------------------------------------------------------------------
...the Fates notice those who buy chainsaws...
-- www.darwinawards.com
-----------------------------------------------------------------------
3 days until Halloween


jarif at iki

Oct 28, 2009, 1:22 PM

Post #3 of 9 (607 views)
Permalink
Re: Spam with my company domain [In reply to]

28.10.2009 22:07, Jeremy Davila kirjoitti:
>
> Hi all,
>
> I'm getting Spam which is addressed to another person in my company ,
> but it getting sent to me . So in my inbox the To Field is Kristin , but
> in Jeremy's inbox.

Hello. That is possible, the email is sent to whoever is in the RCPT-TO
command of the SMTP transaction.

The sender does this:

<open connection to your MX>
HELO someclient.example.org
MAIL-FROM: sender [at] example
RCPT-TO: jeremy [at] example
DATA
From: someuser [at] example
To: kristin [at] example
Subject: this is a spam message

Hello kristin!
.
QUIT
<disconnect>

The sender *feeds* the To-header into the submission, but actually sends
the mail to a different user.

The "To:" header is just a decoration.

--
http://www.iki.fi/jarif/

Q: How can you tell when a Burroughs salesman is lying?
A: When his lips move.
Attachments: signature.asc (0.25 KB)


JDavila at languageworks

Oct 28, 2009, 2:29 PM

Post #4 of 9 (604 views)
Permalink
Re: Spam with my company domain [In reply to]

Thanks John ,

How can I prevent this from Happening. I'm currently using Exim for the
SMTP relay then passing to Lotus Domino.
Any suggestions will be appreciated.




John Hardin <jhardin [at] impsec>
10/28/2009 04:21 PM

To
users [at] spamassassin
cc

Subject
Re: Spam with my company domain






On Wed, 28 Oct 2009, Jeremy Davila wrote:

> I'm getting Spam which is addressed to another person in my company ,
> but it getting sent to me . So in my inbox the To Field is Kristin , but

> in Jeremy's inbox.

The information in the To: header has nothing to do with who actually
receives the message. Delivery is controlled by the "envelope To", which
is the "please send this message to" address communicated during message
transfer between mail programs.

There are more details available if you google "smtp envelope to address"

It's risky to use "my address isn't in the to:" as a spam sign, because
blind carbon copies would always hit and forwarded messages (e.g. from
your gmail account to your ISP account) would likely hit.

--
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
-----------------------------------------------------------------------
...the Fates notice those who buy chainsaws...
-- www.darwinawards.com
-----------------------------------------------------------------------
3 days until Halloween


evan at espphotography

Oct 28, 2009, 2:33 PM

Post #5 of 9 (601 views)
Permalink
Re: Spam with my company domain [In reply to]

What do you want to prevent from happening?

Mail that isn't specifically addressed "To" you not to get to you?

Look at the mail on this list:

To: users [at] spamassassin
Subject: Re: Spam with my company domain
From: Jeremy Davila <JDavila [at] languageworks>

You realize, that would mean you wouldn't get this list mail, and
likely any other mail from any other list, right?


At 02:29 PM 10/28/2009, you wrote:


>Thanks John ,
>
>How can I prevent this from Happening. I'm currently using Exim for
>the SMTP relay then passing to Lotus Domino.
>Any suggestions will be appreciated.
>
>
>
>John Hardin <jhardin [at] impsec>
>
>10/28/2009 04:21 PM
>To
>users [at] spamassassin
>cc
>Subject
>Re: Spam with my company domain
>
>
>
>
>On Wed, 28 Oct 2009, Jeremy Davila wrote:
>
> > I'm getting Spam which is addressed to another person in my company ,
> > but it getting sent to me . So in my inbox the To Field is Kristin , but
> > in Jeremy's inbox.
>
>The information in the To: header has nothing to do with who actually
>receives the message. Delivery is controlled by the "envelope To", which
>is the "please send this message to" address communicated during message
>transfer between mail programs.
>
>There are more details available if you google "smtp envelope to address"
>
>It's risky to use "my address isn't in the to:" as a spam sign, because
>blind carbon copies would always hit and forwarded messages (e.g. from
>your gmail account to your ISP account) would likely hit.
>
>--
> John Hardin
> KA7OHZ
> <http://www.impsec.org/~jhardin/>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
>-----------------------------------------------------------------------
> ...the Fates notice those who buy chainsaws...
> --
> <www.darwinawards.htm>www.darwinawards.com
>-----------------------------------------------------------------------
> 3 days until Halloween


JDavila at languageworks

Oct 28, 2009, 2:55 PM

Post #6 of 9 (596 views)
Permalink
Re: Spam with my company domain [In reply to]

I should have clarified that. I meant mail that isn't specifically
addressed to me .

Thanks for your response.




Evan Platt <evan [at] espphotography>
10/28/2009 05:34 PM
Please respond to
users [at] spamassassin


To
users [at] spamassassin
cc

Subject
Re: Spam with my company domain






What do you want to prevent from happening?

Mail that isn't specifically addressed "To" you not to get to you?

Look at the mail on this list:

To: users [at] spamassassin
Subject: Re: Spam with my company domain
From: Jeremy Davila <JDavila [at] languageworks>

You realize, that would mean you wouldn't get this list mail, and
likely any other mail from any other list, right?


At 02:29 PM 10/28/2009, you wrote:


>Thanks John ,
>
>How can I prevent this from Happening. I'm currently using Exim for
>the SMTP relay then passing to Lotus Domino.
>Any suggestions will be appreciated.
>
>
>
>John Hardin <jhardin [at] impsec>
>
>10/28/2009 04:21 PM
>To
>users [at] spamassassin
>cc
>Subject
>Re: Spam with my company domain
>
>
>
>
>On Wed, 28 Oct 2009, Jeremy Davila wrote:
>
> > I'm getting Spam which is addressed to another person in my company ,
> > but it getting sent to me . So in my inbox the To Field is Kristin ,
but
> > in Jeremy's inbox.
>
>The information in the To: header has nothing to do with who actually
>receives the message. Delivery is controlled by the "envelope To", which
>is the "please send this message to" address communicated during message
>transfer between mail programs.
>
>There are more details available if you google "smtp envelope to address"
>
>It's risky to use "my address isn't in the to:" as a spam sign, because
>blind carbon copies would always hit and forwarded messages (e.g. from
>your gmail account to your ISP account) would likely hit.
>
>--
> John Hardin
> KA7OHZ
> <http://www.impsec.org/~jhardin/>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
>-----------------------------------------------------------------------
> ...the Fates notice those who buy chainsaws...
> --
> <www.darwinawards.htm>www.darwinawards.com
>-----------------------------------------------------------------------
> 3 days until Halloween


evan at espphotography

Oct 28, 2009, 3:01 PM

Post #7 of 9 (592 views)
Permalink
Re: Spam with my company domain [In reply to]

As John and a few others pointed out, you need to explain what
SPECIFICALLY you mean.

Or, give an example.

In your original example, you said the mail gets to you, but it says
To: Kirstin.

This is because the 'To" field that is shown in your mail client is -
well, can be anything. I can send you mail that says To:
President [at] whitehouse - but not have it go to
president [at] whitehouse . There's a seperate header that shows who
the mail is actually being delivered to (or rather, what mailbox).

So - as I mentioned, mail on this list goes 'To
users [at] spamassassin', but gets to you.

Same way (in essence) that mail 'to' you says "to Kirstin'..

I can't think of how you could accept one but not the other, without
creating custom rules for every list you sign up for.

At 02:55 PM 10/28/2009, you wrote:

>I should have clarified that. I meant mail that isn't specifically
>addressed to me .
>
>Thanks for your response.
>
>
>
>Evan Platt <evan [at] espphotography>
>
>10/28/2009 05:34 PM
>Please respond to
>users [at] spamassassin
>
>To
>users [at] spamassassin
>cc
>Subject
>Re: Spam with my company domain
>
>
>
>
>What do you want to prevent from happening?
>
>Mail that isn't specifically addressed "To" you not to get to you?
>
>Look at the mail on this list:
>
>To: users [at] spamassassin
>Subject: Re: Spam with my company domain
>From: Jeremy Davila <JDavila [at] languageworks>
>
>You realize, that would mean you wouldn't get this list mail, and
>likely any other mail from any other list, right?
>
>
>At 02:29 PM 10/28/2009, you wrote:
>
>
> >Thanks John ,
> >
> >How can I prevent this from Happening. I'm currently using Exim for
> >the SMTP relay then passing to Lotus Domino.
> >Any suggestions will be appreciated.
> >
> >
> >
> >John Hardin <jhardin [at] impsec>
> >
> >10/28/2009 04:21 PM
> >To
> >users [at] spamassassin
> >cc
> >Subject
> >Re: Spam with my company domain
> >
> >
> >
> >
> >On Wed, 28 Oct 2009, Jeremy Davila wrote:
> >
> > > I'm getting Spam which is addressed to another person in my company ,
> > > but it getting sent to me . So in my inbox the To Field is Kristin , but
> > > in Jeremy's inbox.
> >
> >The information in the To: header has nothing to do with who actually
> >receives the message. Delivery is controlled by the "envelope To", which
> >is the "please send this message to" address communicated during message
> >transfer between mail programs.
> >
> >There are more details available if you google "smtp envelope to address"
> >
> >It's risky to use "my address isn't in the to:" as a spam sign, because
> >blind carbon copies would always hit and forwarded messages (e.g. from
> >your gmail account to your ISP account) would likely hit.
> >
> >--
> > John Hardin
> > KA7OHZ
> >
> <<http://www.impsec.org/~jhardin/>http://www.impsec.org/~jhardin/>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
> >-----------------------------------------------------------------------
> > ...the Fates notice those who buy chainsaws...
> > --
> > <<www.darwinawards.htm>www.darwinawards.htm>www.darwinawards.com
> >-----------------------------------------------------------------------
> > 3 days until Halloween
>


jhardin at impsec

Oct 28, 2009, 4:31 PM

Post #8 of 9 (619 views)
Permalink
Re: Spam with my company domain [In reply to]

On Wed, 28 Oct 2009, Jeremy Davila wrote:

> How can I prevent this from Happening.

As far as the "my address isn't in the To: header", you can't. That would
break lots of legitimate email, like BCCs and (as Evan pointed out) mail
from this mailing list.

> I'm currently using Exim for the SMTP relay then passing to Lotus
> Domino. Any suggestions will be appreciated.

Is SpamAssassin anywhere in there? If so, we're back to a simple case of
"why did this spam get through SA?" If not, we probably can't help you.

The fact that you don't know the difference between the To: header and the
envelope suggests you aren't the administrator of your email system. Is
that indeed the case? If you aren't the admin then you should be talking
to your admin about this, and (s)he can contact us if help is needed in
troubleshooting your SA install.

If you _are_ the admin for your mail system, we need to know things like
how SA is hooked into your mail system (I assume it's being called somehow
by Exim - how?), and we need to see samples of spam messages that got
through. Those samples _must_ be complete - _all_ headers must be intact,
including the ones your mail client is not showing you - and they should
be posted to a website (like pastebin.com) rather than being mailed to the
list.

Getting usable samples out of Domino is going to be, unfortunately, your
problem. Somebody here may be able to give advice how to do that.

When that is done we may be able to provide suggestions for changes to
your SA install.

> John Hardin <jhardin [at] impsec>
>
> On Wed, 28 Oct 2009, Jeremy Davila wrote:
>
>> I'm getting Spam which is addressed to another person in my company ,
>> but it getting sent to me . So in my inbox the To Field is Kristin ,
>> but in Jeremy's inbox.
>
> The information in the To: header has nothing to do with who actually
> receives the message. Delivery is controlled by the "envelope To", which
> is the "please send this message to" address communicated during message
> transfer between mail programs.
>
> There are more details available if you google "smtp envelope to address"
>
> It's risky to use "my address isn't in the to:" as a spam sign, because
> blind carbon copies would always hit and forwarded messages (e.g. from
> your gmail account to your ISP account) would likely hit.

--
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
-----------------------------------------------------------------------
...the Fates notice those who buy chainsaws...
-- www.darwinawards.com
-----------------------------------------------------------------------
3 days until Halloween


antispam at khopis

Oct 28, 2009, 6:02 PM

Post #9 of 9 (603 views)
Permalink
Re: Spam with my company domain [In reply to]

Evan Platt wrote:
> What do you want to prevent from happening?
>
> Mail that isn't specifically addressed "To" you not to get to you?
>
> Look at the mail on this list:

Hm. It might be interesting to consider a meta connecting the lack of
a Precedence: of bulk or list with a test noting an absence of
relevant domains.

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.