suddenly 'User unknown'?

Simon Matter simon.matter at invoca.ch
Thu Nov 29 12:55:44 EST 2018


> Dan
>
> I have, and have always had, an empty /var/log/imapd.log so I'm not
> going to make progress until I fix that.
>
> In n /etc/rsyslog.conf
>
> # cyrus imapd
> #local6.*                              /var/log/imapd.log   - tried this
> first.
> local6.debug                        /var/log/imapd.log
> auth.debug                          /var/log/auth.log
>
> and in /etc/imapd.conf
>
> syslog_prefix: cyrus
> syslog_facility: LOCAL6
>
> If I remove the file /etc/imapd.log then
>
> # /etc/init.d/rsyslog restart
>
> # logger local6.debug 'test log message'
>
> # cat /var/log/imapd.log
>
> Nov 29 15:06:42 dell2600-1 brad: test log message
>
> Obviously syslog is working local6. But still no messages from cyrus!
> Therefor I'm now stuck with this secondary problem.
>
> I have followed the cyrus instructions as best I can, but no go. I say
> again this has all worked for years, albeit with an always empty imapd.log
>
> There must be some missing cyrus syslog configuration.

>From README.RPM in the cyrus-imapd package:
12) Check your syslog configuration. This RPM uses the mail facility to log
    messages. On busy sites you may want to limit the mail facility to the
    info priority with something like 'mail.info    /var/log/maillog' in
    /etc/syslog.conf.

So, I guess your cyrus-imapd messages go to /var/log/maillog then, not?

Regards,
Simon



More information about the Info-cyrus mailing list