4

I have a password for an SMTP relay server with a dollar sign in it. How to enter this into main.cf without postfix thinking it's a variable?

I see nothing here about escaping dollar signs. I randomly tried putting a backslash in front of the dollar sign and double quotes around it to no avail.

Any ideas?

9

Specify "$$" to produce a single "$" character.

http://www.postfix.org/postconf.5.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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