View previous topic :: View next topic |
Author |
Message |
mach.82 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Oct 2003 Posts: 75 Location: 43°N/79°W
|
Posted: Tue May 23, 2006 7:05 am Post subject: emerge mailman with USE flags courier & postfix? [Resolv |
|
|
Hi, I want to emerge mailman but unsure what USE flags to enable? If I issue the bash command emerge mailman pv I get the following:
Quote: | [ebuild N ] net-mail/mailman-2.1.8_rc1 +apache2 -courier -exim -postfix -qmail -sendmail -xmail 6,695 kB |
And the Gentoo Linux Use Variable Descriptions from http://www.gentoo.org/dyn/use-index.xml does not provide any explanation for the USE flags courier and postfix.
Question1: I have setup my MTA using the Virtual Mailhosting System with Postfix Guide at http://www.gentoo.org/doc/en/virt-mail-howto.xml, should I emerge mailman with the courier and postfix flags? Like this:
Code: | USE=courier postfix emerge mailman |
Question2: What do these two USE flags (courier and postfix) do within mailman?
Thanks!
Last edited by mach.82 on Tue May 23, 2006 11:31 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simeli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5458094245b483fb66b76.jpg)
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Tue May 23, 2006 3:19 pm Post subject: |
|
|
net-mail/mailman:courier - Build with delivery options for courier
net-mail/mailman:postfix - Build with delivery options for postfix
what this exactly means I don't know. I guess the postfix flag has something to do with the aliases used by mailman. don't have my gentoo box up at the moment so i can't check. _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nixnut Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/29856733845fd04c0f3d8c.gif)
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue May 23, 2006 6:48 pm Post subject: |
|
|
Moved from Installing Gentoo to Networking & Security.
Networking stuff, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mach.82 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Oct 2003 Posts: 75 Location: 43°N/79°W
|
Posted: Tue May 23, 2006 11:30 pm Post subject: |
|
|
Hi, simeli, I found the answer (I think?)! It is in the mailman-2.1.8_rc1.ebuild between line 25 and line 39 as follows:
Quote: | if use postfix; then
MAILGID="280"
elif use sendmail; then
MAILGID=daemon
elif use qmail; then
MAILGID=qmail
elif use courier; then
MAILGID=mail
elif use exim; then
MAILGID=mail
elif use xmail; then
MAILGID=xmail
else
MAILGID="280"
fi |
It appears that the variable is used to set the compile option --with-mail-gid= ${MAILGID} on line 62 of the ebuild and that the variable defaults to postfix with GID=280. Therefore if you are using postfix, one can ignore all the (MTA) flags (aka postfix, sendmail, qmail, courier, exim and xmail) or alternatively change to one of the supported MTA so that the group user is compiled in correctly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simeli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5458094245b483fb66b76.jpg)
Joined: 15 Jun 2005 Posts: 193 Location: Switzerland, Zurich
|
Posted: Wed May 24, 2006 6:49 am Post subject: |
|
|
ah good, that seems to make sense. however, if i have postfix as my mta and courier as my imapd and popd, what do you think would be correct? _________________ Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180
Husaberg FS650e Force Edition [http://www.husaberg.se] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mach.82 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Oct 2003 Posts: 75 Location: 43°N/79°W
|
Posted: Fri May 26, 2006 9:28 am Post subject: |
|
|
Hi, simeli, postfix would be the one you want to include in your USE flag but since postfix is the default, so in this case, it doesn't matter! But if you use mail-mta/courier as your "MTA" then you would:
Code: | emerge -C mail-mta/postfix
USE="courier" emerge mail-mta/courier |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|