Hello, I am trying to configure pine.conf for all users and running into an issue. In this setup, Mailbox format is Maildir and Maildir location is /Mail/Username/{new,cur,..etc} First thing required in alpine was patch for maildir and this has already been done. After that I have tried setting up folder-collection Mail #md ../../Mail/username and also tried using #mc (not sure which one is correct #md or #mc). Nothing worked. If maildir support in alpine does not work like it does for mbox then I'll have to configure IMAP setings in pine.conf for alpine users. I must say that alpine is installed on mail server :). Although IMAP setting may work fine, it will prompt user for password initially when checking email and while sending first email. I'd like to avoid this by using #md or #mc. If anyone has any useful inputs please let me know. Thank you! UG.
W dniu 2011-05-05 23:43, upen pisze:> Hello, > > I am trying to configure pine.conf for all users and running into an > issue. In this setup, Mailbox format is Maildir and Maildir location > is /Mail/Username/{new,cur,..etc} > > First thing required in alpine was patch for maildir and this has > already been done. After that I have tried setting up > folder-collection Mail #md ../../Mail/username and also tried using > #mc (not sure which one is correct #md or #mc). Nothing worked. > > If maildir support in alpine does not work like it does for mbox then > I'll have to configure IMAP setings in pine.conf for alpine users. I > must say that alpine is installed on mail server :). Although IMAP > setting may work fine, it will prompt user for password initially when > checking email and while sending first email. I'd like to avoid this > by using #md or #mc. > > If anyone has any useful inputs please let me know.on my alpine in pine.conf we have settings: inbox-path=#md//var/spool/mail/$USER and alpine is: oceanic:~# rpm -qa alpine alpine-2.02-1.fc14.x86_64 and it works.> Thank you! > UG.-- Bart?omiej Solarz-Nies?uchowski, Administrator WSISiZ e-mail: Bartlomiej.Solarz-Niesluchowski at wit.edu.pl tel. 223486547, fax 223486501 JID: solarz at jabber.wit.edu.pl 01-447 Warszawa, ul. Newelska 6, pok?j 404, pon.-pt. 8-16 Motto - Jak sobie po?cielisz tak sie wy?pisz -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6020 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20110506/ccb0e0ee/attachment-0002.bin>
On 5.5.2011, at 23.43, upen wrote:> If maildir support in alpine does not work like it does for mbox then > I'll have to configure IMAP setings in pine.conf for alpine users. I > must say that alpine is installed on mail server :). Although IMAP > setting may work fine, it will prompt user for password initially when > checking email and while sending first email. I'd like to avoid this > by using #md or #mc.You can configure Alpine to execute Dovecot's imap binary and talk to it. That makes it work nicely with Dovecot and won't prompt the user for a password. If you're using v1.x you can run "dovecot --exec-mail imap" and with v2.0 you just need to run "imap". I don't know specifically what this setting in Alpine is called.
> on my alpine in pine.conf we have settings: > inbox-path=#md//var/spool/mail/$USER > > and alpine is: > oceanic:~# rpm -qa alpine > alpine-2.02-1.fc14.x86_64 > > and it works.Thanks for helping out. Just want to confirm. Is /var/spool/mail/$USER maildir format or mbox I have read that mailbox location generally used for mbox format. If it is maildir format, then one more question, are you able to see all folders in the maildir or just INBOX using that setting? Thanks, UG 2011/5/6 Bart?omiej Solarz-Nies?uchowski <Bartlomiej.Solarz-Niesluchowski at wit.edu.pl>:> W dniu 2011-05-05 23:43, upen pisze: >> >> Hello, >> >> I am trying to configure pine.conf for all users and running into an >> issue. In this setup, Mailbox format is Maildir and Maildir location >> is /Mail/Username/{new,cur,..etc} >> >> First thing required in alpine was patch for maildir and this has >> already been done. After that I have tried setting up >> folder-collection Mail ?#md ../../Mail/username and also tried using >> #mc (not sure which one is correct #md or #mc). Nothing worked. >> >> If maildir support in alpine does not work like it does for mbox then >> I'll have to configure IMAP setings in pine.conf for alpine users. I >> must say that alpine is installed on mail server :). Although IMAP >> setting may work fine, it will prompt user for password initially when >> checking email and while sending first email. I'd like to avoid this >> by using #md or #mc. >> >> If anyone has any useful inputs please let me know. > > on my alpine in pine.conf we have settings: > inbox-path=#md//var/spool/mail/$USER > > and alpine is: > oceanic:~# rpm -qa alpine > alpine-2.02-1.fc14.x86_64 > > and it works. >> >> Thank you! >> UG. > > > -- > Bart?omiej Solarz-Nies?uchowski, Administrator WSISiZ > e-mail: Bartlomiej.Solarz-Niesluchowski at wit.edu.pl > tel. 223486547, fax 223486501 > JID: solarz at jabber.wit.edu.pl > 01-447 Warszawa, ul. Newelska 6, pok?j 404, pon.-pt. 8-16 > Motto - Jak sobie po?cielisz tak sie wy?pisz > > >-- upen, emerge -uD life (Upgrade Life with dependencies)
On Mon, May 9, 2011 at 10:01 AM, upen <upendra.gandhi at gmail.com> wrote:>> >> This is what I am doing right now. >> >> http://www.asheesh.org/note/sysop/passwordless-alpine.html says a little >> more. I strongly recommend this. >> >> In fact, I think I should someday talk to the re-alpine team and figure out >> how to make this easier to configure. It's already reasonably easy, but it >> can require some fiddling. >Hi Asheesh, Excellent, that is a very very useful information. I am going to try and use this method if #md doesn't work at all. Thanks very much for helping me out. Thanks, UG
On Mon, May 9, 2011 at 10:16 AM, upen <upendra.gandhi at gmail.com> wrote:>>> >> What you are probably looking for is in the alpine configuration (setup -> >> configure) the 'Hide Empty Directories' option which you have to turn on. >> >> It corresponds to the 'quell-empty-directory' in pinerc >> >> Hope it helps. >>Hi Wolfgang, You are right, that option should have taken care of [/] directory after each folder , however for some reason it doesn't and I don't understand why. One update however with #md implementation is that I just tried one more thing in my alpine configuration and [/] has vanished after that so probably I don't have to configure for password-less alpine on the email server. Here is the specific configuration from my /etc/pine.conf or .pinerc 1. maildir-location=../../Mail/${LOGNAME} #folder-collections=Mail {localhost/novalidate-cert/ssl/user=${LOGNAME}}[] <---- Commented. 2. folder-collections=Mail #md/../../Mail/${LOGNAME}/.[] With this configuration, all folders appear fine. Folders : INBOX sent-mail saved-messages ABC PINE_FOLDER Queue Sent Trash sent-mail-apr-2011 In addition, I am going to change sent messages and saved messages setting as below so that when users are migrated from ~/mail to /Mail/user/ (maildir) format then their newly sent emails and saved messages also continue to go into /Mail/user/.sent-mail and /Mail/user/.saved-messages folder respectively. default-fcc=sent-mail default-saved-msg-folder=saved-messages Thank you everyone for their inputs. Appreciate it. UG