tags 270334 +patch thanks Simplest possible fix:
--- ssmtp.c.orig 2006-05-30 14:34:43.071399405 +0200 +++ ssmtp.c 2006-05-30 14:37:00.291503306 +0200 @@ -708,6 +708,10 @@ else if(strncasecmp(ht->string, "Bcc:", 4) == 0) { p = (ht->string + 4); rcpt_parse(p); + /* Undo adding the header to the list: */ + free(ht->string); + ht->string = NULL; + return; } else if(strncasecmp(ht->string, "CC:", 3) == 0) { p = (ht->string + 3); (I would probably have strduped str afterwards instead.) This makes ssmtp behave like Exim, i.e. not removing Bcc: headers if -t isn't used. -- Magnus Holmgren [EMAIL PROTECTED] (No Cc of list mail needed, thanks)
pgpI9fcAcswZy.pgp
Description: PGP signature