Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Local delivery for some addresses in a relayed domain.

1 view
Skip to first unread message

Grant Taylor

unread,
Nov 20, 2009, 2:51:41 AM11/20/09
to
Is it possible to make Sendmail handle some (but not all) addresses in a
domain that is in class R for local delivery?

I.e. I want to relay all addresses for domain.tld except for
spam...@domain.tld, spam...@domain.tld, ... spam...@domain.tld, on
to a customer's internal mail server.

I'm wanting to have spam...@domain.tld to be delivered locally so that
I can feed them in to my spam trap.

Is this possible to do? If so how would I go about it?

Grant. . . .

Andrzej Adam Filip

unread,
Nov 20, 2009, 3:28:17 AM11/20/09
to

virtusertable can handle (rewrite/redirect) addresses in non local email
domains too. See $={VirtHost}
http://www.sendmail.org/m4/features.html#virtusertable

Warning for other readers:
Before using VIRTUSER_DOMAIN or VIRTUSER_DOMAIN_FILE read *carefully*
about "side effects".

--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
Open-Sendmail: http://open-sendmail.sourceforge.net/
The sooner all the animals are extinct, the sooner we'll find their money.
-- Ed Bluestone

Grant Taylor

unread,
Nov 20, 2009, 12:31:09 PM11/20/09
to
On 11/20/09 02:28, Andrzej Adam Filip wrote:
> virtusertable can handle (rewrite/redirect) addresses in non local email
> domains too. See $={VirtHost}
> http://www.sendmail.org/m4/features.html#virtusertable

Thank you.

That did exactly what I want.

Now I can use my spam trap the way I want to. - I'm parsing mail logs
for the top X number of invalid recipients and re-routing them to a
local spam trap mail box. I'm then using said spam trap mail box to
educate SpamAssassin and to submit to KnujOn and the likes. :}

Grant. . . .

Andrzej Adam Filip

unread,
Nov 20, 2009, 12:52:42 PM11/20/09
to
Grant Taylor <gta...@riverviewtech.net> wrote:
> [...]

> Now I can use my spam trap the way I want to. - I'm parsing mail logs
> for the top X number of invalid recipients and re-routing them to a
> local spam trap mail box. I'm then using said spam trap mail box
> * to educate SpamAssassin
> * to submit to KnujOn
> and the likes. :}

1) Do you make SpamAssassin report the messages to razor2/pyzor/dcc and
spamcop.net?
[ there is no longer dcc package in debian => I do not do dcc reporting ]
2) Why have your sendmail accepted the messages in the first place?



--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
Open-Sendmail: http://open-sendmail.sourceforge.net/

What is food to one, is to others bitter poison.
-- Titus Lucretius Carus

Grant Taylor

unread,
Nov 20, 2009, 4:56:47 PM11/20/09
to
On 11/20/09 11:52, Andrzej Adam Filip wrote:
> 1) Do you make SpamAssassin report the messages to razor2/pyzor/dcc and
> spamcop.net?
> [ there is no longer dcc package in debian => I do not do dcc reporting ]

Not automatically.

I'm dumping the messages for a bunch of addresses in to one account (via
VirtUserTable) and then skimming them and manually reporting them using
the Habu extension for Thunderbird to KnujOn and SpamCop.

I may look in to having Habu report the messages elsewhere too.

> 2) Why have your sendmail accepted the messages in the first place?

Think "Honey Pot" / "Spam Trap".

I have a bunch (and I do mean a bunch, one client had 15k) of invalid
recipient addresses that messages are trying to deliver to. Seeing as
how they are invalid, I know that there are no valid messages, thus any
thing coming in to them is spam, thus extremely safe to process. :}

Grant. . . .

Andrzej Adam Filip

unread,
Nov 20, 2009, 5:15:53 PM11/20/09
to

Lucky users of more advance news readers can set message-id format :-)

--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin, 1759

0 new messages