Bug 185196

Summary: Postfix: MySQL support
Product: [Fedora] Fedora Reporter: Jim Bolino <bugzilla.redhat.com>
Component: postfixAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-13 09:48:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jim Bolino 2006-03-11 16:42:28 UTC
Description of problem:
Postfix (in its current configuration) lacks mysql support. 

Version-Release number of selected component (if applicable):
2.2.2-2

How reproducible:
Always

Steps to Reproduce:
1. Yum install postfix
2. edit main.cf -> alias_maps = mysql:/etc/postfix/mysql-aliases.cf
3. restart
  
Actual results:
- postfix/smtpd[1422]: fatal: unsupported dictionary type: mysql

Expected results:
- no errors

Additional info:
When i download the src.rpm and edit the postfix.spec -> %define MYSQL 1
It all works fine. I was wondering why you choose to disable it in the first 
place?

Comment 1 Thomas Woerner 2006-03-13 09:48:27 UTC
Mysql support is disabled in postfix, because it would require to install mysql
for all users even in minimal installs, if the user decided to use postfix. 
The option is in there to make it easier for me or others to activate mysql
support later on.

I am sorry for this, but it is not possible to build mysql support as a module
for postfix right now; therefore it has to be disabled.

Comment 2 Jim Bolino 2006-03-14 01:52:58 UTC
I'm not really familair with the policy about dependicies, but i was wondering 
why one package has mysql support enabled by default, and an other hasn't.

for example: Dovecot, has mysql support enabled by default, so in your eyes 
that would also be a unnecessary dependency.

And I donĂ¢t think you should install Postfix if you are trying to do a small 
install, because sendmail is already installed, and is much smaller.

In my opinion, most people who choose to install postfix as their MTA, do that 
because there is much more and better documentation available for postfix. 
Especially things like: connecting with sql databases.

If it was possible to compare the amount of people running postfix/sendmail 
with sql, you would see that postfix+sql is the winner.