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. . . .
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
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. . . .
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
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. . . .
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