Sidekiq email error: 401 4.1.7 Bad sender address syntax


(@SenpaiMass) #1

Hello i am getting this error as shown in the image below


(@SenpaiMass) #2

can any one help me out with this ?


(Jens Maier) #3

What’s your site title in the settings? Does it contain any non-standard characters? Set a different title made up of plain ASCII characters (latin alphabet) as the email sender field in the email site title setting and send yourself a test mail (through Discourse, not via the command line script).


(@SenpaiMass) #4

it was

GreedGamer:Gaming Community

Now i changed it to

GreedGamer Gaming Community

Without " : "


(Jeff Atwood) #5

@neil I would like protection for this implemented on the email side (strip the problem chars). This is support requests waiting to happen.


(Neil Lalonde) #6

I can’t find a readable spec on what characters are allowed in that part of the from and reply-to fields. It’s probably in the RFC doc, but I can’t parse it. So far it has been the colon : causing the problem, so I’ll start by stripping that and a few other obvious ones.


(Jeff Atwood) #7

Closing as duplicate of

https://meta.discourse.org/t/mandrillapp-smtp-401-4-1-7-bad-sender-address-syntax-in-digest-mails/15975?source_topic_id=18586

(Jeff Atwood) #8