Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have + and = characters in my gmail password. How can I configure ssmtp to avoid authorization error?

My /etc/ssmtp/ssmtp.conf:

How do I run ssmtp:

$ echo "email content" | mail -s "email subject"
send-mail: Authorization failed (535 5.7.1
share|improve this question
What program does the error occur in? Please give us some context. Brevity is good, but this is little to work on. – user 99572 is fine Jun 1 '12 at 17:54
I've attach some more information to the question. – Jofsey Jun 1 '12 at 19:45

The answer highly depends on the context in which you are entering or submitting the password. In some formats, you can surround your password in ""'s, in others you would need to escape the offending characters. This escape character, differs between programs, shells, Operating systems, etc. In Windows batch scripts the escape is ^ while in certain Linux or terminal situations, the escape is \.

share|improve this answer
I tryed to store my password in 1234\+\=5678 form, but got the same error. – Jofsey Jun 1 '12 at 19:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.