On Tue, 11 Aug 2015, Alexander Dalloz wrote:> Am 11.08.2015 um 21:47 schrieb Dr J Austin: >>> >>> What does cyrus-imapd log? >>> >>> Alexander >>> >>> >> >> Where should I be looking ? > > /var/log/maillog is the default log file for the MAIL facility. Else check > your syslog() daemon configuration. > > Alexander > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosHi Alexander [root at maui:/var/log]$ watch 'tail -n40 maillog does not quiver when I try to connect In coming mail can be seen but nothing about evo connections as far as I can see There do seem to be some warnings/errors - they don't look relavant?? Many thanks for your help John>Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_check: <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> user.ja 0 Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_check: <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> user.ja 0 Aug 11 21:17:29 maui lmtpunix[10038]: Delivered: <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> to mailbox: user.ja Aug 11 21:17:29 maui lmtpunix[10038]: mystore: starting txn 2147483715 Aug 11 21:17:29 maui lmtpunix[10038]: mystore: committing txn 2147483715 Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_mark: <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> user.ja 1439324249 441771 Aug 11 21:17:29 maui lmtpunix[10048]: executed Aug 11 21:17:43 maui lmtpunix[10038]: accepted connection Aug 11 21:17:43 maui lmtpunix[10038]: lmtp connection preauth'd as postman Aug 11 21:17:43 maui lmtpunix[10038]: IOERROR: fstating sieve script /var/lib/imap/sieve/j/ja/defaultbc: No such file or directory Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_check: <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> user.ja 0 Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_check: <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> user.ja 0 Aug 11 21:17:43 maui lmtpunix[10038]: Delivered: <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> to mailbox: user.ja Aug 11 21:17:43 maui lmtpunix[10038]: mystore: starting txn 2147483717 Aug 11 21:17:43 maui lmtpunix[10038]: mystore: committing txn 2147483717 Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_mark: <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> user.ja 1439324263 441772 Aug 11 21:18:08 maui lmtpunix[10048]: accepted connection Aug 11 21:18:08 maui lmtpunix[10048]: lmtp connection preauth'd as postman Aug 11 21:18:08 maui lmtpunix[10048]: IOERROR: fstating sieve script /var/lib/imap/sieve/j/ja/defaultbc: No such file or directory Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_check: <55CA5873.7090007 at htt-consult.com> user.ja 0 Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_check: <55CA5873.7090007 at htt-consult.com> user.ja 0 Aug 11 21:18:08 maui lmtpunix[10048]: Delivered: <55CA5873.7090007 at htt-consult.com> to mailbox: user.ja Aug 11 21:18:08 maui lmtpunix[10048]: mystore: starting txn 2147483718 Aug 11 21:18:08 maui lmtpunix[10048]: mystore: committing txn 2147483718 Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_mark: <55CA5873.7090007 at htt-consult.com> user.ja 1439324288 441773 Aug 11 21:19:03 maui master[2515]: process 10038 exited, status 0 Aug 11 21:19:13 maui master[2515]: process 10048 exited, status 0 Aug 11 21:19:13 maui master[10160]: about to exec /usr/lib/cyrus-imapd/lmtpd Aug 11 21:19:13 maui lmtpunix[10160]: executed
Dr J Austin wrote:> On Tue, 11 Aug 2015, Alexander Dalloz wrote: >> Am 11.08.2015 um 21:47 schrieb Dr J Austin: >>>> >>>> What does cyrus-imapd log?<snip>> > There do seem to be some warnings/errors - they don't look relavant??<snip>> Aug 11 21:17:43 maui lmtpunix[10038]: IOERROR: fstating sieve script > /var/lib/imap/sieve/j/ja/defaultbc: No such file or directory > 441773<snip>> Aug 11 21:19:03 maui master[2515]: process 10038 exited, status 0 > Aug 11 21:19:13 maui master[2515]: process 10048 exited, status 0Not sure about these last two, but what's that sieve script doing? mark
Am 11.08.2015 um 22:28 schrieb Dr J Austin:> > Hi Alexander > > [root at maui:/var/log]$ watch 'tail -n40 maillog > > does not quiver when I try to connectThat's suspicious. Let's exclude it is the client which causes the problem: Connect directly to the IMAPS server on CLI. openssl s_client -connect <server ip>:993 You hopefully see a greeting message from the IMAP server. Then issue a1 LOGIN username password If you see a success message that you logged in, then everything is fine with your cyrus-imapd. Logout by entering a2 LOGOUT If you got that far, the troublemaker is Evolution. Can't help you with that one as I am not using it. Validate all the account settings to be valid.> In coming mail can be seen but nothing about evo connections as far as I > can see > > There do seem to be some warnings/errors - they don't look relavant??Right, irrelevant for your isse.> Many thanks for your help > > John > >> > Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_check: > <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> user.ja 0 > Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_check: > <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> user.ja 0 > Aug 11 21:17:29 maui lmtpunix[10038]: Delivered: > <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> to > mailbox: user.ja > Aug 11 21:17:29 maui lmtpunix[10038]: mystore: starting txn 2147483715 > Aug 11 21:17:29 maui lmtpunix[10038]: mystore: committing txn 2147483715 > Aug 11 21:17:29 maui lmtpunix[10038]: duplicate_mark: > <2601564684-JVVYITYRHUOROMKSRSWVQKEO at mzdrthfhs35.com-internet.us> > user.ja 1439324249 441771 > Aug 11 21:17:29 maui lmtpunix[10048]: executed > Aug 11 21:17:43 maui lmtpunix[10038]: accepted connection > Aug 11 21:17:43 maui lmtpunix[10038]: lmtp connection preauth'd as postman > Aug 11 21:17:43 maui lmtpunix[10038]: IOERROR: fstating sieve script > /var/lib/imap/sieve/j/ja/defaultbc: No such file or directoryCyrus-IMAPd tries to execute the default sieve but there is no sieve filter defined for the mailbox. You can ignore that or just configure your syslog to not log these debug messages.> Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_check: > <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> > user.ja 0 > Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_check: > <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> > user.ja 0 > Aug 11 21:17:43 maui lmtpunix[10038]: Delivered: > <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> to > mailbox: user.ja > Aug 11 21:17:43 maui lmtpunix[10038]: mystore: starting txn 2147483717 > Aug 11 21:17:43 maui lmtpunix[10038]: mystore: committing txn 2147483717 > Aug 11 21:17:43 maui lmtpunix[10038]: duplicate_mark: > <CAJCQCtQ+aNqM8SKkH8etmjG6nFzPyLBXtiQ2uanMNPVq-wFioQ at mail.gmail.com> > user.ja 1439324263 441772 > Aug 11 21:18:08 maui lmtpunix[10048]: accepted connection > Aug 11 21:18:08 maui lmtpunix[10048]: lmtp connection preauth'd as postman > Aug 11 21:18:08 maui lmtpunix[10048]: IOERROR: fstating sieve script > /var/lib/imap/sieve/j/ja/defaultbc: No such file or directorySame as above.> Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_check: > <55CA5873.7090007 at htt-consult.com> user.ja 0 > Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_check: > <55CA5873.7090007 at htt-consult.com> user.ja 0 > Aug 11 21:18:08 maui lmtpunix[10048]: Delivered: > <55CA5873.7090007 at htt-consult.com> to mailbox: user.ja > Aug 11 21:18:08 maui lmtpunix[10048]: mystore: starting txn 2147483718 > Aug 11 21:18:08 maui lmtpunix[10048]: mystore: committing txn 2147483718 > Aug 11 21:18:08 maui lmtpunix[10048]: duplicate_mark: > <55CA5873.7090007 at htt-consult.com> user.ja 1439324288 > 441773So far just activity of the LMTP processes to deliver mail into the mailbox.> Aug 11 21:19:03 maui master[2515]: process 10038 exited, status 0 > Aug 11 21:19:13 maui master[2515]: process 10048 exited, status 0Processes get terminated. That's fine.> Aug 11 21:19:13 maui master[10160]: about to exec > /usr/lib/cyrus-imapd/lmtpd > Aug 11 21:19:13 maui lmtpunix[10160]: executedYou really should see your user login in this log file. Alexander
On Tue, 11 Aug 2015, Alexander Dalloz wrote:> Am 11.08.2015 um 22:28 schrieb Dr J Austin: >> >> Hi Alexander >> >> [root at maui:/var/log]$ watch 'tail -n40 maillog >> >> does not quiver when I try to connect > > That's suspicious. > > Let's exclude it is the client which causes the problem: Connect directly to > the IMAPS server on CLI. > > openssl s_client -connect <server ip>:993 > > You hopefully see a greeting message from the IMAP server. Then issue > > a1 LOGIN username password > > If you see a success message that you logged in, then everything is fine with > your cyrus-imapd. > > Logout by entering > > a2 LOGOUT > > If you got that far, the troublemaker is Evolution. Can't help you with that > one as I am not using it. Validate all the account settings to be valid. > >> In coming mail can be seen but nothing about evo connections as far as I >> can see >> >> There do seem to be some warnings/errors - they don't look relavant?? > > Right, irrelevant for your isse. > >> Many thanks for your help >> >> John >> >> >You really should see your user login in this log file. > > Alexander >Hmmm Summary On the server maui itself Failure when using IP address but works with name maui for root and fred On a separate machine paxos Failure for both IP address and name maui and maui.jaa.org.uk for both root and ja However the error messages are different between maui and paxos John ------------------------------------------------------------------------- As user fred on the server maui itself [fred at maui ~]$ openssl s_client -connect 148.197.29.5:993 socket: Connection refused connect:errno=111 As root on the server maui itself [root at maui:/var/log]$ openssl s_client -connect 148.197.29.5:993 socket: Connection refused connect:errno=111 ------------------------------------------------------------------------ As root on maui using "name" [root at maui:/var/log]$ openssl s_client -connect maui:993 CONNECTED(00000003) depth=0 C = UK, ST = Hampshire, L = Fareham, CN = maui.jaa.org.uk, emailAddress = ja at jaa.org.uk verify error:num=18:self signed certificate verify return:1 depth=0 C = UK, ST = Hampshire, L = Fareham, CN = maui.jaa.org.uk, emailAddress = ja at jaa.org.uk verify return:1 --- Certificate chain 0 s:/C=UK/ST=Hampshire/L=Fareham/CN=maui.jaa.org.uk/emailAddress=ja at jaa.org.uk i:/C=UK/ST=Hampshire/L=Fareham/CN=maui.jaa.org.uk/emailAddress=ja at jaa.org.uk --- Server certificate ... * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] maui.jaa.org.uk Cyrus IMAP v2.3.16-Fedora-RPM-2.3.16-13.el6_6 server ready a1 LOGIN username password al OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED AUTH=PLAIN COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in a2 LOGOUT * BYE LOGOUT received a2 OK Completed read:errno=0 These also work OK [ja at maui ~]$ openssl s_client -connect maui:993 ja at maui ~ 4$ openssl s_client -connect maui.jaa.org.uk:9 --------------------------------------------------------------------- On a separate machine paxos - always fails As user ja on a separate machine paxos ja at paxos ~ 1$ openssl s_client -connect 148.197.29.5:993 socket: Bad file descriptor connect:errno=9 As root on a separate machine paxos [root at paxos:~]$ openssl s_client -connect 148.197.29.5:993 socket: Bad file descriptor connect:errno=9 [root at paxos:~]$ openssl s_client -connect maui:993 socket: Bad file descriptor connect:errno=9 [root at paxos:~]$ openssl s_client -connect maui.jaa.org.uk:993 socket: Bad file descriptor connect:errno=9 [root at paxos:~]$ exit logout ja at paxos ~ 3$ openssl s_client -connect maui:993 socket: Bad file descriptor connect:errno=9 ja at paxos ~ 4$ openssl s_client -connect maui.jaa.org.uk:993 socket: Bad file descriptor connect:errno=9
On Tue, Aug 11, 2015 at 11:05:38PM +0200, Alexander Dalloz wrote:> openssl s_client -connect <server ip>:993 > > You hopefully see a greeting message from the IMAP server. Then issueI know I'm late to this thread, but a useful tool for testing your Cyrus IMAP service is the 'imtest' command, which is in the cyrus-imapd-utils package. imtest -v -s <serverip|hostname> (I used to manage a cyrus murder, a long time ago, and imtest is a great tool for debugging) However, your issue sounds more like a network-level problem than a IMAPd problem. -- Jonathan Billings <billings at negate.org>