The documents mention to change /etc/apache/conf/vhosts/ssl.default-vhost.conf (code listing 8.2 in http://www.gentoo.org/doc/en/virt-mail-howto.xml). This appears to be the old file. In Apache2, the correct file is: /etc/apache2/conf/modules.d/41_mod_ssl.default-vhost.conf The other references to "apache" need to be changed to "apache2", but this is the only one which isn't obviously analogous. (The others should still be fixed though.) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hmm, this won't be trivial enough. The guide still says "This document uses apache-1.3.x. Apache-2 has been marked stable in portage. However there are still a number of issues with php integration. Until php support in apache-2.0.x is marked stable, this guide will continue to use the 1.3.x version.", which is not true, unfortunately. > In Apache2, the correct file is: > /etc/apache2/conf/modules.d/41_mod_ssl.default-vhost.conf /etc/apache2/modules.d/41_mod_ssl.default-vhost.conf , actually. Back to docs-team :-(.
CCing jakub for some possible help :)
I didn't forget about this, bug it needs to be half-rewritten, so not finished yet.
Updated summary.
Just looking into roadmap... The document about installing Qmail MTA is obsolete as well. Probably it would be fine to update it like the Postfix one. Guys, don't know about your staff relations (applied last year once without much success), if you would need a hand about server stuff, let me know, may have a some time...
(In reply to comment #5) > Just looking into roadmap... The document about installing Qmail MTA is > obsolete as well. Probably it would be fine to update it like the Postfix one. > Guys, don't know about your staff relations (applied last year once without > much success), if you would need a hand about server stuff, let me know, may > have a some time... The qmail doc is irrelevant to this bug. Please stay on-target; this bug is only concerned with the Virtual Mail Howto. Mail vapier@gentoo.org your suggestions/corrections for the qmail doc. In the mean time, any patches or suggestions you have for virt-mail-howto would be most welcome. We don't just hand out developer titles; we need to see a proven track record of good fixes, additions, etc.
(In reply to comment #5) > Guys, don't know about your staff relations (applied last year once without > much success), if you would need a hand about server stuff, let me know, may > have a some time... Karel, the best way to get started is probably to check bugzilla for bugs assigned to docs-team@gentoo.org or having this address in the CC list. Also feel free to hang on in #gentoo-doc on freenode. Any contributions are more than welcome, yet they don't have to mean that you'll become developer in one month, to be honest. If you contribute enough, you'll surely get noticed, though. Hope this helps...
Got a request from UberLord on IRC to edit http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap5 (code listing 5.1) and replace "nano -w CA.pl" with a command to just run "./CA.pl -newreq-nodes" instead, as he said it's a whole lot easier.
Created attachment 117814 [details] virt-mail-howto.xml.diff (for apache-2*) Find attached the necessary changes for =net-www/apache-2*. I've no clue if that will work, so I guess someone has to test it, but that ain't me :-P
*** Bug 183560 has been marked as a duplicate of this bug. ***
I'll right, I'll commit the fixes listed in this bug so far. CCing the apache team to please review the doc and comment on its current state and the patches etc. in this bug. Need some serious attention, here, especially since bug 178189 was wrongly closed despite having open blockers, like this bug. Guys, can you please review and comment, thanks.
Josh Can you hold this one for a sec? I'm performing the installation currently step by step and am editing everything for the apache2 change. There are more changes necessary than the ones listed by Christian so far. I hope to get a diff this evening or tomorrow at the latest.
Created attachment 124673 [details, diff] Switch from apache to apache2 This diff updates the guide to use apache2 as well as easier certificate creation, small update on phpmyadmin configuration, simplified user creation and use default mailman location (as intended by the ebuild).
(In reply to comment #13) > Created an attachment (id=124673) [edit] > Switch from apache to apache2 > > This diff updates the guide to use apache2 as well as easier certificate > creation, small update on phpmyadmin configuration, simplified user creation > and use default mailman location (as intended by the ebuild). > Patch looks good content-wise except for a couple of things. First, it doesn't apply cleanly: $ patch -p0 <virt-mail-howto.diff patching file virt-mail-howto.xml Hunk #4 FAILED at 312. Hunk #8 succeeded at 729 with fuzz 2. Hunk #10 FAILED at 796. Hunk #11 succeeded at 885 with fuzz 2. Hunk #14 FAILED at 954. 3 out of 16 hunks FAILED Did you base yours off some version besides the latest in CVS? Yes, I'm all synced up too. :) Second, there's a weird substitution in the code, you sure this part is accurate? -# <i>./CA.pl -newreq</i> +;;; # <i>./CA.pl -newreq</i> Prefacing the shell prompt with ;;; seems weird to me anyway. :) Also, do I still need phreak's patch on top of yours? Anyway, much thanks for this update!
Created attachment 124734 [details, diff] New patch for virt-mail-howto This is so fun... the XML target was obtained through ?passthru=1. I recreated the patch (removing the line with ';;;' in front of it - it isn't necessary) and then tried to apply it to the original XML... got the same fail results. Reason: diff'ed with -ut which switched blanks. This is a new diff without the "-t" which seems to work. Mind you, I'm at Windows now so double-check if the file doesn't have those pesky ^M characters...
Fixed in CVS. I used swift's megapatch (thanks!) as well as a bit of phreak's patch that was accidentally left out. Plus I made some other minor fixups throughout the doc. Thanks to everyone who helped out with this bug over the last two years.