Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mailman with USE flags courier & postfix? [Resolved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mach.82
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 75
Location: 43°N/79°W

PostPosted: Tue May 23, 2006 7:05 am    Post subject: emerge mailman with USE flags courier & postfix? [Resolv Reply with quote

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
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Tue May 23, 2006 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue May 23, 2006 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
mach.82
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 75
Location: 43°N/79°W

PostPosted: Tue May 23, 2006 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Wed May 24, 2006 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
mach.82
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 75
Location: 43°N/79°W

PostPosted: Fri May 26, 2006 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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