small pixel drawing of a pufferfish clist

Send mailing list replies to e.From
j3s j3s@c3f.net
Wed, 20 Nov 2019 19:09:49 -0600
commit

52a3709e30f019d4aa479024958331cde120c15e

parent

eab7f8b1fea472b44402f4390fa95942fb267a9f

1 files changed, 0 insertions(+), 6 deletions(-)

jump to
M main.gomain.go

@@ -287,13 +287,7 @@

func badAddress(recipient string, e *email.Email) bool { // From + all lists should never be recipients (loop prevention) badAddresses := []string{} - m, err := mail.ParseAddress(e.From) - if err != nil { - log.Println("badAddress: Error parsing address") - log.Println(m) - } - badAddresses = append(badAddresses, m.Address) for _, list := range gConfig.Lists { badAddresses = append(badAddresses, list.Address) }