0

How do you get exim on centos to debug?

option "debug_print" unknown ("driver" must be specified before any private options)

remote_login:
  debug_print = "This is a test"
  driver = plaintext
  public_name = LOGIN
  client_send = : user : password

sudo service exim restart

Starting exim: 2017-03-29 11:13:41 Exim configuration error in line 2 of /etc/exim/remote_login_auth: option "debug_print" unknown ("driver" must be specified before any private options)

or

sudo exim -d

LOG: PANIC DIE Exim configuration error in line 2 of /etc/exim/remote_login_auth: option "debug_print" unknown ("driver" must be specified before any private options)

1
  • I added some tips for debugging exim in my answer
    – Jim U
    Mar 29 '17 at 16:00
1

You are getting the error because debug_print is not a valid option for an authenticator, which appears to be what you are configuring. debug_print is a transport option.


Tips for debugging exim

  • Test your configuration without restarting exim: exim -bV
  • Test how exim will route a given address: exim -bh 192.168.254.170
  • Trace a pretend SMTP transaction: exim -bt alias@localdomain.com

Ref: Exim Cheatsheet

0

"driver" must be specified before any private options

i.e.

remote_login:
  driver = plaintext
  debug_print = "This is a test"
  public_name = LOGIN
  client_send = : user : password

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.