LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Alpine configuration for Maildir format (https://www.linuxquestions.org/questions/linux-software-2/alpine-configuration-for-maildir-format-815947/)

CNBarnes 06-23-2010 12:18 PM

Alpine configuration for Maildir format
 
Running Debian 5 - clean install.

I see at http://staff.washington.edu/chappa/a...o/maildir.html that Alpine supports the Maildir format. But the only instructions I have seen thus far are on a per-user basis (ie. edit the ~/.pinerc file).

Thus I have 2 questions:

(1) where do I download (then install) this Maildir patch for Alpine? I see it talked about, but I for the life of my poor google skills, I can't find it.

(2) where is the alpine SYSTEM configuration file? Pine had one in /etc/pine.conf. But after doing an
Code:

apt-get install alpine
(which worked), there doesn't appear to be one.

bathory 06-23-2010 01:20 PM

Hi,

Never used alpine, but I'try to help

1. Links to the patches are in the 2nd line of the url you've posted:
Quote:

Maildir patch for Alpine
Patch is available for version: alpine 1.00 alpine 1.10 alpine 1.99 alpine 1.999 alpine 2.00
2. Since you have to patch the sources, the deb package you installed is useless. Download the source, patch it to support Maildir and compile it using the instructions here. If you don't specify a prefix, the config file should be located at /usr/local/lib/pine.conf.

Hope that helps
Regards

CNBarnes 06-23-2010 02:39 PM

That is helpful. I removed the apt-get version and have downloaded the source and the patch.
Unfortunately, the directions on that website don't say HOW to apply the patch.

Do I run it before making alpine? Is it applied as an option to the make?


And last question: should I ask the Mod to move this thread to the systems forum?

bathory 06-23-2010 04:40 PM

Before anything else you must download the appropriate patch for the specific version of alpine you've downloaded. E.g, if you got alpine-2.0.0, you'll need the alpine 2.0.0 patch:
Then here is what you have to do:

1. Extract alpine.tar.gz
Code:

tar jxvf alpine.tar.bz2
2. Gunzip the patch :
Code:

gunzip maildir.patch.gz
3. Apply the patch:
Code:

patch -p0 < maildir.patch
4. Configure, build, install:
Code:

cd alpine-2.00/
./configure --<use your preferred options>
make
sudo make install

***EDIT***
Mod has locked your other thread. So this can stay here, I guess

CNBarnes 06-24-2010 12:00 PM

[QUOTE=bathory;4013097]
Code:

./configure --<use your preferred options>
Thank you - we're making progress. But I am stuck at the step above.... I don't know what my "preferred options" might be. Basically all I'm wanting is for it to be globally configured to

(a) look in their ~/Maildir folder for the inbox as well as all the other folders (in ".folder" format).

(b) default folders are:
Inbox - typical cur & new folders
.Drafts
.Sent
.Trash


Quote:

***EDIT***Mod has locked your other thread. So this can stay here, I guess
Yeah - that's cool. I'm getting answers here, so this works.

bathory 06-24-2010 12:33 PM

You can run
Code:

./configure --help
to see the available options and select those you want to use.
Read this for more info

Regards


All times are GMT -5. The time now is 05:07 AM.