Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can the verbosity of logging be increased for SASL authentication failures? To be more precise, to include the failing user name in a log file on Mac OS X 10.7 (Lion) Server?

Linux hosts have logging like:

Oct  1 18:36:56 megatron postfix/smtpd[7671]: warning: unknown[220.249.207.143]: 
                SASL LOGIN authentication failed: generic failure
Oct  1 18:37:02 megatron saslauthd[4691]: do_auth         : auth failure:
                [user=academia] [service=smtp] [realm=www.MyServerDomain.com] [mech=shadow] [reason=Unknown]

Where Mac OS X Lion (10.7) Server it's logging granularity is no deeper than:

Apr  2 16:43:41 nl3 postfix/smtpd[23753]: warning: unknown[76.230.122.201]: 
                SASL LOGIN authentication failed

How can the user name be logged too?

Help on how /usr/sbin/saslauthd is invoked by postfix/smtpd is also welcome and/or where its configuration is stored.

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.