1 Description: Check the parsed recipient address for validity.
2 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
4 Author: Peter Pentchev <roam@ringlet.net>
5 Last-Update: 2010-06-21
13 - add_recp(queue, addr, 1);
14 - fprintf(stderr, "parsed `%s'\n", addr);
15 + if (add_recp(queue, addr, 1) != 0)
16 + errlogx(1, "invalid recipient `%s'", addr);