Re: suddenly 'User unknown'?

Charles Bradshaw via Info-cyrus <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hi Dan, thanks for the prompt reply. Not sure if I should reply to the
list or direct to you.

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.

Sorry I don't I'm not sure about cyrus syslog configuration:

 I have this in rsyslog.conf:

# cyrus imapd
auth.*                            /var/log/auth.log

So I assume auth.log  has the log entries you ask for. Here it is:

Nov 25 11:40:07 dell2600-1 sendmail[4274]: sql auxprop plugin using
mysql engine
Nov 25 11:42:23 dell2600-1 sendmail[4296]: sql freeing memory
Nov 25 11:43:17 dell2600-1 sendmail[4340]: sql auxprop plugin using
mysql engine
Nov 25 11:49:28 dell2600-1 sendmail[4372]: sql freeing memory
Nov 25 11:58:25 dell2600-1 sendmail[3760]: sql auxprop plugin using
mysql engine
Nov 25 11:58:36 dell2600-1 sendmail[4073]: sql freeing memory
Nov 25 12:00:31 dell2600-1 sendmail[4145]: sql freeing memory
Nov 25 12:05:43 dell2600-1 sendmail[4200]: sql freeing memory
Nov 25 12:10:54 dell2600-1 sendmail[4250]: sql freeing memory
Nov 25 14:33:32 dell2600-1 seahorse-daemon[4850]: DNS-SD initialization
failed: Daemon not running
Nov 25 14:33:32 dell2600-1 seahorse-daemon[4850]: init gpgme version 1.1.8
Nov 25 14:45:04 dell2600-1 gnome-keyring-daemon[4848]: dbus failure
unregistering from session: Connection is closed
Nov 26 11:39:21 dell2600-1 seahorse-daemon[10052]: DNS-SD initialization
failed: Daemon not running
Nov 26 11:39:21 dell2600-1 seahorse-daemon[10052]: init gpgme version 1.1.8
Nov 26 13:23:09 dell2600-1 sendmail[10809]: sql auxprop plugin using
mysql engine
Nov 26 13:31:51 dell2600-1 gnome-keyring-daemon[10049]:
GVFS-RemoteVolumeMonitor: Owner :1.31 of volume monitor
org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing
drives/volumes/mounts
Nov 26 13:34:27 dell2600-1 sendmail[3741]: sql auxprop plugin using
mysql engine
Nov 26 13:34:40 dell2600-1 sendmail[4049]: sql freeing memory
Nov 26 15:12:20 dell2600-1 sendmail[4601]: sql auxprop plugin using
mysql engine
Nov 27 12:18:06 dell2600-1 sendmail[4602]: sql auxprop plugin using
mysql engine
Nov 27 13:12:15 dell2600-1 sendmail[3750]: sql auxprop plugin using
mysql engine
Nov 27 13:12:22 dell2600-1 sendmail[3837]: sql freeing memory
Nov 27 13:12:30 dell2600-1 sendmail[3986]: sql freeing memory
Nov 27 13:32:41 dell2600-1 sendmail[4240]: sql freeing memory
Nov 27 13:47:29 dell2600-1 sendmail[4292]: sql freeing memory
Nov 27 13:50:19 dell2600-1 sendmail[4307]: sql freeing memory
Nov 27 13:51:06 dell2600-1 sendmail[4315]: sql freeing memory
Nov 27 15:50:03 dell2600-1 sendmail[4971]: sql freeing memory
Nov 27 18:28:08 dell2600-1 sendmail[5493]: sql freeing memory
Nov 27 22:55:05 dell2600-1 sendmail[6234]: sql freeing memory
Nov 27 22:58:00 dell2600-1 sendmail[6244]: sql freeing memory
Nov 27 23:34:53 dell2600-1 sendmail[6352]: sql freeing memory
Nov 28 00:01:47 dell2600-1 sendmail[6446]: sql freeing memory
Nov 28 01:05:00 dell2600-1 sendmail[6612]: sql freeing memory
Nov 28 03:09:05 dell2600-1 sendmail[6943]: sql freeing memory
Nov 28 13:10:49 dell2600-1 perl: DIGEST-MD5 client step 2
Nov 28 13:12:44 dell2600-1 perl: DIGEST-MD5 client step 3
Nov 28 14:45:18 dell2600-1 perl: DIGEST-MD5 client step 2
Nov 28 14:45:48 dell2600-1 perl: DIGEST-MD5 client step 3
Nov 28 15:03:30 dell2600-1 perl: DIGEST-MD5 client step 2
Nov 28 15:03:58 dell2600-1 perl: DIGEST-MD5 client step 3
Nov 28 15:16:15 dell2600-1 sendmail[9878]: sql freeing memory
Nov 28 23:38:15 dell2600-1 perl: DIGEST-MD5 client step 2
Nov 28 23:38:35 dell2600-1 perl: DIGEST-MD5 client step 3

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|


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:
>>
>> [root@dell2600-1 brad]# cat /var/log/maillog
>> Nov 27 15:18:35 dell2600-1 sendmail[4798]: wARFIZXZ004798: from=brad,
>> size=44, class=0, nrcpts=1,
>> msgid=<[email protected]>,
>> relay=brad@localhost
>> Nov 27 15:18:35 dell2600-1 sendmail[4799]: wARFIZvh004799:
>> from=<[email protected]>, size=358, class=0, nrcpts=1,
>> msgid=<[email protected]>,
>> proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
>> Nov 27 15:18:36 dell2600-1 sendmail[4798]: wARFIZXZ004798:
>> [email protected], ctladdr=brad (500/500),
>> delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30044,
>> relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (wARFIZvh004799
>> Message accepted for delivery)
>>
>> Nov 27 15:18:36 dell2600-1 sendmail[4801]: AUTH=client,
>> relay=localhost, mech=, bits=0
>> Nov 27 15:18:36 dell2600-1 sendmail[4801]: wARFIZvh004799:
>> to=<[email protected]>, delay=00:00:01, xdelay=00:00:00,
>> mailer=cyrusv2, pri=120358, relay=localhost, dsn=5.1.1, stat=User
>> unknown
>> Nov 27 15:18:36 dell2600-1 sendmail[4801]: wARFIZvh004799:
>> wARFIavg004801: DSN: User unknown
>>
>> 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?
>
>> What cyradmin says:
>>
>> localhost.localdomain> ver
>> name       : Cyrus IMAPD
>> version    : v2.4.17-Invoca-RPM-2.4.17-7.el6 d1df8aff 2012-12-01
>>
>> localhost.localdomain> info user/[email protected]
>> {user/[email protected]}:
>>  duplicatedeliver: false
>>  lastpop: 24-Oct-2013 21:04:43 +0100
>>  lastupdate: 27-Nov-2018 04:00:00 +0000
>>  partition: default
>>  pop3newuidl: true
>>  sharedseen: false
>>  size: 8489796
>
> 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.