Re: [courier-users] How to test imap idle
On Fri, 02 Dec 2016 19:15:14 -0500 Sam Varshavchik wrote: > David Niklas writes: > > > On Tue, 15 Nov 2016 20:02:03 -0500 > > Sam Varshavchik wrote: > > > David Niklas writes: > > > > > > Finally, running imapd from the test account it seems that I'm > > > > already logged in: > > > > > > > > % imapd > > > > * PREAUTH Ready. > > > > INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP > > > > Z SELECT INBOX > > > > Z NO UNABLE TO OPEN THIS MAILBOX. > > > > > > No, it means that imapd is not started correctly, or from the wrong > > > directory. imapd must be started from the account's maildir, not its > > > home directory. > > > > > > My default user, who is aliased to root and postmaster, has recently > > gotten mail which was deposited into an Mbox named Maildir. > > > > > > After creating three folder in Maildir/, cur/, new/, and tmp/ , I can > > get mail. I'm now getting: > > * 0 EXISTS > > as opposed to 2 as stated in the man page when running "Z SELECT > > INBOX". famd is started, but I'm getting "entering idle mode", that > > is, without the "Enhanced" part and the imapd processes are not > > communicating the changes. > > What do I do now? How do I diagnose? > > If you're starting from the commandline, you have to set the same > environment variables that get specified in the imapd configuration > file. > > For example, the imapd configuration file explains that > IMAP_ENHANCEDIDLE must be set to 1, so if imapd is invoked from the > command line: > > IMAP_ENHANCEDIDLE=1 ./imapd > > IT WORKS! THANK YOU!!! -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
David Niklas writes: On Tue, 15 Nov 2016 20:02:03 -0500 Sam Varshavchik wrote: > David Niklas writes: > > Finally, running imapd from the test account it seems that I'm already > > logged in: > > > > % imapd > > * PREAUTH Ready. > > INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP > > Z SELECT INBOX > > Z NO UNABLE TO OPEN THIS MAILBOX. > > No, it means that imapd is not started correctly, or from the wrong > directory. imapd must be started from the account's maildir, not its > home directory. My default user, who is aliased to root and postmaster, has recently gotten mail which was deposited into an Mbox named Maildir. After creating three folder in Maildir/, cur/, new/, and tmp/ , I can get mail. I'm now getting: * 0 EXISTS as opposed to 2 as stated in the man page when running "Z SELECT INBOX". famd is started, but I'm getting "entering idle mode", that is, without the "Enhanced" part and the imapd processes are not communicating the changes. What do I do now? How do I diagnose? If you're starting from the commandline, you have to set the same environment variables that get specified in the imapd configuration file. For example, the imapd configuration file explains that IMAP_ENHANCEDIDLE must be set to 1, so if imapd is invoked from the command line: IMAP_ENHANCEDIDLE=1 ./imapd pgpBuqcUzk2m4.pgp Description: PGP signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On Tue, 15 Nov 2016 20:02:03 -0500 Sam Varshavchik wrote: > David Niklas writes: > > Finally, running imapd from the test account it seems that I'm already > > logged in: > > > > % imapd > > * PREAUTH Ready. > > INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP > > Z SELECT INBOX > > Z NO UNABLE TO OPEN THIS MAILBOX. > > No, it means that imapd is not started correctly, or from the wrong > directory. imapd must be started from the account's maildir, not its > home directory. My default user, who is aliased to root and postmaster, has recently gotten mail which was deposited into an Mbox named Maildir. After creating three folder in Maildir/, cur/, new/, and tmp/ , I can get mail. I'm now getting: * 0 EXISTS as opposed to 2 as stated in the man page when running "Z SELECT INBOX". famd is started, but I'm getting "entering idle mode", that is, without the "Enhanced" part and the imapd processes are not communicating the changes. What do I do now? How do I diagnose? Thanks, David -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On Fri, 18 Nov 2016 11:27:35 -0800 Gordon Messmer wrote: > On 11/16/2016 05:05 PM, David Niklas wrote: > > There is a read, write and execute bit what is the t bit? > > > As explained in the chmod(1) man page, the t bit is the restricted > deletion flag. More information is available in the man page. David -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
>On 11/16/2016 05:05 PM, David Niklas wrote: >> There is a read, write and execute bit what is the t bit? https://en.wikipedia.org/wiki/Sticky_bit On 18.11.16 11:27, Gordon Messmer wrote: >As explained in the chmod(1) man page, the t bit is the restricted >deletion flag. More information is available in the man page. it has other use for maildrop, as specified in maildrop manual page: http://www.courier-mta.org/maildrop/maildrop.html -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. On the other hand, you have different fingers. -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On 11/16/2016 05:05 PM, David Niklas wrote: > There is a read, write and execute bit what is the t bit? As explained in the chmod(1) man page, the t bit is the restricted deletion flag. More information is available in the man page. -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On 11/15/2016(Tue) 20:02 Sam Varshavchik wrote: > David Niklas writes: > > > I tried using ./Maildir, but then root does not have a Maildir so > > connecting from my test account returns "no such file or...". > > Changing the path to an absolute one, I set -user and -group to test > > (changing owner to match and I get: > > * BYE Your account is temporarily unavailable (+t bit set on home > > directory) > > What part of this error message is unclear? > There is a read, write and execute bit what is the t bit? > > And couriertcpd says that the dir is locked. > > And what's unclear about that? > > > Finally, running imapd from the test account it seems that I'm already > > logged in: > > > > % imapd > > * PREAUTH Ready. > > INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP > > Z SELECT INBOX > > Z NO UNABLE TO OPEN THIS MAILBOX. > > No, it means that imapd is not started correctly, or from the wrong > directory. imapd must be started from the account's maildir, not its > home directory. -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On 11/15/2016(Tue) 20:02 Sam Varshavchik wrote: > David Niklas writes: > > > I tried using ./Maildir, but then root does not have a Maildir so > > connecting from my test account returns "no such file or...". > > Changing the path to an absolute one, I set -user and -group to test > > (changing owner to match and I get: > > * BYE Your account is temporarily unavailable (+t bit set on home > > directory) > > What part of this error message is unclear? > There is a read, write and execute bit what is t? > > And couriertcpd says that the dir is locked. > > And what's unclear about that? > > > Finally, running imapd from the test account it seems that I'm already > > logged in: > > > > % imapd > > * PREAUTH Ready. > > INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP > > Z SELECT INBOX > > Z NO UNABLE TO OPEN THIS MAILBOX. > > No, it means that imapd is not started correctly, or from the wrong > directory. imapd must be started from the account's maildir, not its > home directory. > Thanks, David -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
David Niklas writes: I tried using ./Maildir, but then root does not have a Maildir so connecting from my test account returns "no such file or...". Changing the path to an absolute one, I set -user and -group to test (changing owner to match and I get: * BYE Your account is temporarily unavailable (+t bit set on home directory) What part of this error message is unclear? And couriertcpd says that the dir is locked. And what's unclear about that? Finally, running imapd from the test account it seems that I'm already logged in: % imapd * PREAUTH Ready. INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP Z SELECT INBOX Z NO UNABLE TO OPEN THIS MAILBOX. No, it means that imapd is not started correctly, or from the wrong directory. imapd must be started from the account's maildir, not its home directory. pgpu21yW2dMaI.pgp Description: PGP signature -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
On Tue, 06 Sep 2016 06:47:14 Sam Varshavchik wrote: > David Niklas writes: > > > Hello, > > I've been following the imap man page (this is a fresh install), and I > > su'ed into my test account and netcat to 127.0.0.1 143. I then > > entered: C: login test 1234 > > S: login NO Error in IMAP command received by server. > > > > Now, there may be no error, but it sure is strange to get that message > > no-matter what command I enter. > > I figure that maybe there's a database I need to fill in with names > > and passwords. > > What do I do? > > Each IMAP command starts with a command identifier, which is an > arbitrary label. The letter "a" will be sufficient. > > a login userid password > Did this, I'm still getting the same result. Here's more info: I start couriertcpd: root # couriertcpd -address=127.0.0.1 -nodnslookup -noidentlookup 143 /usr/bin/imapd /home/test/Maildir I tried using ./Maildir, but then root does not have a Maildir so connecting from my test account returns "no such file or...". Changing the path to an absolute one, I set -user and -group to test (changing owner to match and I get: * BYE Your account is temporarily unavailable (+t bit set on home directory) And couriertcpd says that the dir is locked. ). If the dir is set so that the user is test and the group is mail and I start couriertcpd with -user and -group set to mail I get the same result. Changing the user to root returns that the dir is not owned by the correct user. Finally, running imapd from the test account it seems that I'm already logged in: % imapd * PREAUTH Ready. INFO: LOGIN, user=test ip=[127.0.0.1], port=[0], protocol=IMAP Z SELECT INBOX Z NO UNABLE TO OPEN THIS MAILBOX. I created three folders inside Maildir named Inbox, INBOX, and inbox then tried again without success. Thanks, David -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to test imap idle
David Niklas writes: Hello, I've been following the imap man page (this is a fresh install), and I su'ed into my test account and netcat to 127.0.0.1 143. I then entered: C: login test 1234 S: login NO Error in IMAP command received by server. Now, there may be no error, but it sure is strange to get that message no-matter what command I enter. I figure that maybe there's a database I need to fill in with names and passwords. What do I do? Each IMAP command starts with a command identifier, which is an arbitrary label. The letter "a" will be sufficient. a login userid password pgpzejCAGGztp.pgp Description: PGP signature -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users