diff --git a/mail_message.go b/mail_message.go index 3094a9c..8a8d1b7 100644 --- a/mail_message.go +++ b/mail_message.go @@ -525,6 +525,11 @@ func (message *MailMessage) handleReplyForwarding() bool { return false } + if strings.Contains(strings.ToLower(message.subject), "automatic reply") { + // Do not forward automatic replies + return true + } + log.Printf("Decoded reply-to addresses: %v", replyAddresses) data := struct { From *mail.Address