Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Dovecot 2.4 USE flag - SOLVED

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
jankom
Guru
Guru
Posts: 545
Joined: Mon Aug 30, 2021 4:18 pm
Location: USA
Contact:
Contact jankom
Website

Dovecot 2.4 USE flag - SOLVED

  • Quote

Post by jankom » Wed Jan 28, 2026 11:13 pm

I had a working mail server, but with dovecot update ferm 2.3.x to 2.4.2-r2 I need to make serious configuration adjustments. I follow https://wiki.gentoo.org/wiki/Complete_V ... d_Packages
My dovecot was compiled without USE flag either for mysql or postgres. Presently I have sqlite in my system.
My question is should I use a global use flag configured in make.conf as instructed or just set the USE flag specific for dovecot? I could ask why the instruction suggests the make.conf change? I'm concerned about potential conflict between sqlite and postgres.

jankom
Last edited by jankom on Fri Jan 30, 2026 5:12 pm, edited 1 time in total.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Thu Jan 29, 2026 6:47 pm

There shouldn't really be any conflict, since you still have to configure your servers to actually use your database of choice. This said, if you only need it for mail, then by all means enable it only for dovecot and postfix. They both need it.

And the suggestion to change make.conf is probably just old, it used to be the default way of customizing our systems. I personally still like it, because "if I already have it as a dependency, I might as well use it as much as possible". There's nothing inherently wrong with the new approach though, do whichever makes the most sense at the moment.
Make Pipewire a system service
Top
jankom
Guru
Guru
Posts: 545
Joined: Mon Aug 30, 2021 4:18 pm
Location: USA
Contact:
Contact jankom
Website

Thanks, szatox

  • Quote

Post by jankom » Thu Jan 29, 2026 11:29 pm

I understand. I installed Gentoo 5 years ago, and my original make.conf file was very basic, quoted here:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

I since made adjustments, but apply USE flags in the package.use file. But I understand your point. Still debugging my mail server following Gentoo instructions. Will close this topic when I succeed.

jankom
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic