baudehlo/Haraka — pull request #493 by msimerson (2014-03-15 08:34:27+00:00)
Title: Bounce

% nodeunit tests/plugins/bounce.js

bounce.js
✔ reject_invalid - valid
✔ reject_invalid - invalid
✔ bad_bounce_to - test@good.com
✔ bad_bounce_to - test@bad1.com
✔ bad_bounce_to - test@bad1.com, test@bad2.com
✔ bad_bounce_to - test@good.com, test@bad2.com
✔ multiple_recipients - test@example.com
✔ multiple_recipients - test@example.com,test2@example.com
✔ has_null_sender - <>
✔ has_null_sender -
✔ has_null_sender - user@example
✔ has_null_sender - user@example.com

OK: 12 assertions (100ms)