sendmail: don't add To: header if it already exists
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 24 Feb 2013 22:45:11 +0000 (00:45 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 18 Mar 2013 17:45:15 +0000 (18:45 +0100)
commit4a732220e907bfed95e87be38cea6e15253a9ad8
treeab9e20e598241ff9afb025725cf8366ca5e9a9ad
parent236f222cde03b2594732dacdfe031c7c16e20f4a
sendmail: don't add To: header if it already exists

If the message we are sending already has To: header, don't add a new one.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mailutils/sendmail.c