[Gllug] Spam
ccooke
ccooke-gllug at gkhs.net
Fri Oct 14 12:04:16 UTC 2005
On Fri, Oct 14, 2005 at 11:50:26AM +0100, Rev Simon Rumble wrote:
>
> On 14/10/2005, "Mike Leigh" <mike.leigh at hornbill.com> wrote:
>
> >Yes that's true. However I think I would have a hard time really
> >proving that it was them that did this. Say a prominent company gave
> >out the address that I had given to them and told them not to give this
> >to anyone else. The new spam mail that I receive from the new company
> >will just be like any other spam that I may receive. I can't be 100%
> >sure that the company got my address from someone that gave it to them
> >or that they mass mailed me from somewhere. Chances are that it was
> >from that source but the proof would be hard to get I think.
>
> Actually, incredibly easy to do. Sign up to www.sneakemail.com and get a
> unique email address every time you have to give an email address for
> anything. I do this for everything that asks for an email address
> online.
If you run Exim for your mail server and you receive any mail sent to a
domain, you can try this router:
aggregate:
driver = redirect
headers_add = X-Original-To: $local_part
allow_fail
data = ${if match{$local_part}{^(.*)(\\+|-)(.*)\$}{${if exists{/home/$1/.redirect_tags}{${lookup{$3}lsearch{/home/$1/.redirect_tags}{$value}{$1}}}{$1}}}{$0}}
Which I wrote for my home mail server.
What it does:
Any mail to validuser-anytag at domain (or validuser+anytag at domain, which was for
compatability with a nasty thing I had to use for an old job) is
redirected to validuser at domain.
In addition, if a file called '.redirect_tags' exists in validuser's
home directory, it will be used as an alias file, so you can redirect
any tag to any mailbox you like. The format is:
# make this tag bounce
tagname: :FAIL: Sorry, I don't deal with spammers
# /dev/null
tagname2: :BLACKHOLE:
# redirect to another mailbox
tagname3: user at domain
It would be pretty easy to make the tags time-dependant, too. I've never
bothered, though. This provides enough control.
--
for((P=10**8,Q=P/100,X=320*Q/(`tput cols`-1),Y=210*Q/`tput lines`,y=-105*Q,v=\
-220*Q,x=v;y<105*Q;x=v,y+=Y));do for((;x<P;a=b=i=k=c=0,x+=X));do for((;a*a+b*\
b<2*P*P&&i++<99;a=((c=a)*a-b*b)/P+x,b=2*c*b/P+y));do :;done;(((j=(i<99?i%16:0\
)+30)>37?k=1,j-=8:0));echo -ne "\E[$k;$j"mE;done;echo -e \\E[0m;done # ccooke
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list