Re:My Email Canary
by pavel_lishin on Thursday June 09, 2011 @12:29PM
(#2637709)
Can you share those scripts?
[ Parent
| on HN ]
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.