courier-authlib 0.68.0-4build1 Operation not permitted

Asked by chandra sekhar

while executing authtest commond i am getting this err
marker line not found in /etc/courier/authmysqlrc (probably forgot to run sysconftool after an upgrade)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu courier-authlib Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
chandra sekhar (chandrasekhar2018) said :
#1

It is in ubuntu 18.04

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

cat -n /etc/courier/authmysqlrc

Thanks

Revision history for this message
chandra sekhar (chandrasekhar2018) said :
#4

 1 MYSQL_SERVER localhost
     2 MYSQL_USERNAME mail_admin
     3 MYSQL_PASSWORD mail_adminpassword
     4 MYSQL_PORT 0
     5 MYSQL_DATABASE mail
     6 MYSQL_USER_TABLE users
     7 MYSQL_CRYPT_PWFIELD password
     8 #MYSQL_CLEAR_PWFIELD password
     9 MYSQL_UID_FIELD 5000
    10 MYSQL_GID_FIELD 5000
    11 MYSQL_LOGIN_FIELD email
    12 MYSQL_HOME_FIELD "/vmail"
    13 MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')

Thanks in advance

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#5

It seems that you have removed all comment lines, but they are important!

The original file provided when installing the package contains among others:

# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.

You have to re-add the comment lines (or even better: restore the original file and apply your changes by modifying the lines, but not deleting anything).

Revision history for this message
chandra sekhar (chandrasekhar2018) said :
#6

Thanks Manfred Hampl, that solved my question.