Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix emerge question
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
Ward
n00b
n00b


Joined: 06 Oct 2006
Posts: 74

PostPosted: Thu Nov 16, 2006 2:27 pm    Post subject: Postfix emerge question Reply with quote

I've installed postfix and configured it but I forgot to enable mysql support.
Is it possible to add the support without re-emerging it, or losing my configs ???

Thanks
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Nov 16, 2006 2:28 pm    Post subject: Reply with quote

You will need to re-emerge it with USE="mysql" - you won't mess any of your configs up with the re-emerge alone - it will take you extra steps to mess them up :)
Back to top
View user's profile Send private message
Ward
n00b
n00b


Joined: 06 Oct 2006
Posts: 74

PostPosted: Thu Nov 16, 2006 2:30 pm    Post subject: Reply with quote

I have the mysql flag in my make.conf now, do i need to reload that?

Just to re-emerge -> emerge postfix ?
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Nov 16, 2006 2:31 pm    Post subject: Reply with quote

if you added the USE flag in make,conf yes, just emerge postfix again. 'emerge -av postfix' should now show you the new flag being used.
Back to top
View user's profile Send private message
Ward
n00b
n00b


Joined: 06 Oct 2006
Posts: 74

PostPosted: Thu Nov 16, 2006 2:35 pm    Post subject: Reply with quote

Code:
Calculating dependencies... done!
[ebuild   R   ] mail-mta/postfix-2.2.10  USE="ipv6 pam ssl -cdb -hardened -ldap -mailwrapper -mbox -mysql -nis -postgres -sasl (-selinux) -vda" 0 kB




Weird --> -mysql?


my make.conf
Code:

USE=" apache2 authdaemond fam innodb jpeg mysql php png sasl xml"
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Nov 16, 2006 2:37 pm    Post subject: Reply with quote

try taking out the leading whitespace from your USE portion in the make.conf - if it still doesn't fix it then the ebuild creator or package maintainer disabled mysql on purpose - that's a whole 'nuther issue in itself.
Back to top
View user's profile Send private message
Ward
n00b
n00b


Joined: 06 Oct 2006
Posts: 74

PostPosted: Thu Nov 16, 2006 2:40 pm    Post subject: Reply with quote

does nothing still the same :s


can i just use

Code:
use="mysql" emerge postfix
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Thu Nov 16, 2006 2:42 pm    Post subject: Reply with quote

The ebuild will still overwrite it - do an 'USE="mysql" emerge -av postfix' to verify.
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