File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -578,6 +578,8 @@ in `/etc/sasl-xoauth2.conf`. Set them when setting the initial access token:
578
578
579
579
## Debugging
580
580
581
+ ### Increasing Verbosity
582
+
581
583
By default, sasl-xoauth2 will write to syslog if authentication fails. To
582
584
disable this, set ` log_to_syslog_on_failure ` to ` no ` in
583
585
` /etc/sasl-xoauth2.conf ` :
@@ -593,6 +595,17 @@ disable this, set `log_to_syslog_on_failure` to `no` in
593
595
Conversely, to get more verbose logging when authentication fails, set
594
596
` log_full_trace_on_failure ` to ` yes ` .
595
597
598
+ To get * even more* logging, set ` always_log_to_syslog ` to ` yes ` to have
599
+ sasl-xoauth2 immediately and unconditionally write logs to syslog .
600
+
601
+ ### Postfix Logging
602
+
603
+ It can be useful (thanks [ @kpedro88 ] ( https://github.com/kpedro88 ) !) to increase
604
+ Postfix's logging level, following the instructions
605
+ [ here] ( https://www.postfix.org/DEBUG_README.html#verbose ) .
606
+
607
+ ### SASL Mechanisms
608
+
596
609
If Postfix complains about not finding a SASL mechanism (along the lines of
597
610
` warning: SASL authentication failure: No worthy mechs found ` ), it's possible
598
611
that either ` make install ` or the pre-built package put libsasl-xoauth2.so in
You can’t perform that action at this time.
0 commit comments