News for hackers. Stuff that matters.
Re:My Email Canary by guelo on Thursday June 09, 2011 @08:43AM (#2636906)
Lol, I'm sorry but you called this guy's process over the top but the more you explain your process it sounds way more over the top.
Re:My Email Canary by akkartik on Thursday June 09, 2011 @01:05PM (#2637823)
As I understood it the criticism wasn't of the process but that you had to stare at the canary email every single time you look at your inbox.
Re:My Email Canary by chrisjsmith on Thursday June 09, 2011 @01:55PM (#2638047)
That is precisely it.
Re:My Email Canary by chrisjsmith on Thursday June 09, 2011 @09:10AM (#2636982)
Why? I have two scripts "new-alias" and "kill-alias" that do all the work that took about 5 minutes each to write.

I automate everything.

Re:My Email Canary by pavel_lishin on Thursday June 09, 2011 @12:29PM (#2637709)
Can you share those scripts?
Re:My Email Canary by chrisjsmith on Thursday June 09, 2011 @01:55PM (#2638044)
I'd be embarrased if I posted them (they are crap) however here is how they work...

My mail comes directly into a Debian box running postfix on the end of my ADSL line.

new-alias: Echoes the alias onto the end of /etc/aliases, then runs newaliases.

kill-alias: Use sed to remove the line that matches the alias and run newaliases.

Dead simple.