Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I successful set up my Server with froxlor, etc. but now I get errros with my mail delivery Agent because I use a '#' in my mysql-pw. I tried to escape it with a '\' but it doens't seem to work. :(

How can I change the /etc/dovecot/covecot-sql.conf.ext to make it working with my password with the special character (lets take as example pw "test#this)?

Mycurrent config:

driver = mysql
connect = host=127.0.0.1 dbname=froxlor user=froxlor password=test#test
default_pass_scheme = CRYPT

This is the error message:

dovecot: auth: Warning: Configuration file /etc/dovecot/dovecot-sql.conf.ext line 2: Ambiguous '#' character in line, treating it as comment. Add a space before it to remove this warning.
share|improve this question

migrated from stackoverflow.com Mar 25 '14 at 23:25

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

Dovecot wiki

# Use "host= ... pass=foo#bar" if your password has '#' character

so your /etc/dovecot/dovecot-sql.conf.ext should be

driver = mysql
connect = "host=127.0.0.1 dbname=froxlor user=froxlor password=test#test"
default_pass_scheme = CRYPT
share|improve this answer
    
Thanks, you're the best. ;) – Gamerboy59 Mar 8 '14 at 20:53
    
btw: how to mark a question as answered? – Gamerboy59 Mar 8 '14 at 20:56

Your Answer

 
discard

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