Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vpopmail + courier-imapd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Fri Dec 13, 2002 10:53 pm    Post subject: vpopmail + courier-imapd Reply with quote

No idea whether anyone needs this info or not, but it may help someone out sometime :)

after a successful installation of vpopmail you can easily install courier's IMAPD on the system with only 2 minor modifications

Step 1: "emerge net-mail/courier-imap -p" - note the version number
Step 2: "cd /usr/portage/net-mail/courier-imap"
Step 3: do a "ls" to find the .ebuild file with the same version number
Step 4: edit that file, replacing "--without-vchkpw" with "--with-vchkpw"
Step 6: "emerge net-mail/courier-imap"

... after the emerge has completed successfuly ...

Step 7: edit /etc/courier-imap/imapd, and change the line "MAILDIR=.maildir" to read "MAILDIR=Maildir"
Step 8: (optional) "rc-update add courier-imapd default"
Step 9: (optional) "/etc/init.d/courier-imapd start"

... you should now have a working IMAP installation for your vpop domain/users (great for use with IMAP clients both web-based and otherwise e.g: squirrelmail)


Cheers!
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Sun Apr 27, 2003 1:59 pm    Post subject: Reply with quote

just a question .. this is all over qmail correct?

i am having a huge problem understanding it all ..
Back to top
View user's profile Send private message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Sun Apr 27, 2003 3:34 pm    Post subject: Reply with quote

this is for qmail and vpopmail (the virtual domain system http://www.inter7.com/) but could be easily adapted for a normal non-virtual-qmail-install
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Fri Jul 11, 2003 7:27 pm    Post subject: What about this kind of setup .. Reply with quote

Here is what my courier-imapd 7.0 ebuild looks like ..

Code:
VPOPMAIL_DIR=`cat /etc/passwd | grep ^vpopmail | cut -d: -f6`
        if [ -f ${VPOPMAIL_DIR}/etc/lib_deps ]; then     
                myconf="${myconf} --with-authvchkpw"
        else
                myconf="${myconf} --without-authvchkpw"


how should i edit this to get the same results .. and must i have msql installed?

I am running qmail, courier-imap & and squirrelmail .. right now vpopmail is installed, however; when i send mail, i am not able to receive it ...
Back to top
View user's profile Send private message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Fri Jul 11, 2003 8:07 pm    Post subject: Reply with quote

you shouldnt need mysql installed to use the imapd. and the newer ebuilds DO detect vpopmail, so you really dont have to worry about it anymore. just make sure you do follow step 7
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Fri Jul 11, 2003 11:45 pm    Post subject: Answer Reply with quote

You didnt answer my question :?

Code:
Here is what my courier-imapd 7.0 ebuild looks like ..

Code:
VPOPMAIL_DIR=`cat /etc/passwd | grep ^vpopmail | cut -d: -f6`
        if [ -f ${VPOPMAIL_DIR}/etc/lib_deps ]; then     
                myconf="${myconf} --with-authvchkpw"
        else
                myconf="${myconf} --without-authvchkpw"


how should i edit this to get the same results


So i took it upon myself to make it
Code:
Here is what my courier-imapd 7.0 ebuild looks like ..

VPOPMAIL_DIR=`cat /etc/passwd | grep ^vpopmail | cut -d: -f6`
        if [ -f ${VPOPMAIL_DIR}/etc/lib_deps ]; then     
                myconf="${myconf} --with-[b]vchkpw[/b]"
        else
                myconf="${myconf} --without-[b]vchkpw[/b]"

and then proceeded with ..
Code:
Step 6: "emerge net-mail/courier-imap"

... after the emerge has completed successfuly ...

Step 7: edit /etc/courier-imap/imapd, and change the line "MAILDIR=.maildir" to read "MAILDIR=Maildir"
Step 8: (optional) "rc-update add courier-imapd default"
Step 9: (optional) "/etc/init.d/courier-imapd start"


The bottom line? i have vpopmail running, works fine and works with squirrelmail ..

think i damaged something?
Back to top
View user's profile Send private message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Sat Jul 12, 2003 1:05 am    Post subject: Reply with quote

you dont need to. if you have emerged vpopmail it will automatically detect it, and configured the courier-imapd package to use it. it's good to go as is
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Sat Jul 12, 2003 2:23 am    Post subject: YIKES Reply with quote

:(

Its already done ..

wonder if i broke anything ..

it all works fine though ..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum