Re: suddenly 'User unknown'?

Charles Bradshaw via Info-cyrus <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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.


On 29/11/2018 14:39, Dan White wrote:
> On 11/29/18 00:46 +0000, Charles Bradshaw wrote:
>>
>> lm user/[email protected]                      
>> user/[email protected] (\HasChildren)
>>
>> and the directory
>> /var/spool/imap/domain/b/bradcan.homelinux.com/b/user/brad exists and is
>> intact.
>
>> Perhaps I should change my rsyslog configuration.
>> https://cyrusimap.org/imap/installing.html has some alternative
>> instructions.
>>
>> Will the following be more helpful?
>>
>>    |local6.*        /var/log/imapd.log|
>>
>>    |auth.debug      /var/log/auth.log|
>
> Yes that should hopefully get you something useful from Cyrus to work
> with.
> Some OS packages, like Debian, modifiy the syslog facility, so you may
> need
> to consult your system documentation if that doesn't give appropriate
> output.
>
>> On 28/11/2018 16:12, Dan White wrote:
>>> On 11/28/18 15:21 +0000, Charles Bradshaw via Info-cyrus wrote:
>>>> My tests while logged in to the server as brad:
>>>>
>>>> Nov 27 15:18:36 dell2600-1 sendmail[4801]: wARFIavg004801:
>>>> to=<[email protected]>, delay=00:00:00, xdelay=00:00:00,
>>>> mailer=cyrusv2, pri=31677, relay=localhost [[UNIX:
>>>> /var/lib/imap/socket/lmtp]], dsn=5.1.1, stat=User unknown
>>>
>>> What do your cyrus syslog entries say?
>>>
>>> Does the output of 'lm' look correct?
>>>
>>>> and /etc/imapd.conf
>>>> [root@dell2600-1 brad]# cat /etc/imapd.conf
>>>> configdirectory: /var/lib/imap
>>>> partition-default: /var/spool/imap
>>>> admins: cyrus
>>>> sievedir: /var/lib/imap/sieve
>>>> sendmail: /usr/sbin/sendmail
>>>> hashimapspool: true
>>>> sasl_pwcheck_method: auxprop
>>>> #
>>>> sasl_auxprop_plugin:sql
>>>> #
>>>> allowplaintext: no
>>>> unixhierarchysep: yes
>>>> virtdomains: userid
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.