Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm. so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
TIA
Mark Quitoriano wrote:
Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm. so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
The postfix.spec file that you feed to rpmbuild.
Add a definition for a postfix-mysql package.
Then add a files section for the files under the postfix-mysql package.
Feizhou wrote:
Mark Quitoriano wrote:
Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm. so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
The postfix.spec file that you feed to rpmbuild.
Whoops..you can edit the Release version...postfix-2.x.x.mysql
Add a definition for a postfix-mysql package.
Then add a files section for the files under the postfix-mysql package.
Please ignore these two, postfix compiles the table support in and does not have loadable modules per table type so you won't be able to get a postfix-mysql package.
Hi, Change the .spec file. Change the release line.
Regards, Marc Picornell de Louvigny On 8/5/05, Mark Quitoriano markquitoriano@gmail.com wrote:
Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm. so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
TIA
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
ok tnx guys!
On 8/6/05, Marc Picornell marc.picornell@gmail.com wrote:
Hi,
Change the .spec file. Change the release line.
Regards, Marc Picornell de Louvigny
On 8/5/05, Mark Quitoriano markquitoriano@gmail.com wrote:
Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm . so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
TIA
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Mark Quitoriano wrote:
ok tnx guys!
On 8/6/05, Marc Picornell marc.picornell@gmail.com wrote:
Hi,
Change the .spec file. Change the release line.
Regards, Marc Picornell de Louvigny
On 8/5/05, Mark Quitoriano markquitoriano@gmail.com wrote:
Hi!
i compiled rpms like postfix with mysql support. My problem is when i compile programs i can't distinguish the difference between postfix w/o mysql and postfix w/ mysql because they have the same filename(postfix-2.x.x.i386.rpm), what i like to happen is when i compile postfix w/ mysql support it will show something like postfix-mysql-2.x.x.i386.rpm . so when i install and try to query it, it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file should i edit to make this happen?
TIA
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
may i ask what you use mysql for with postfix?
StarQuake wrote:
may i ask what you use mysql for with postfix?
A LOT of people use MySQL with Postfix. I am one of those many. In particular, my e-mail handling solution employs 4 distinct servers, each with Postfix. MySQL (running on a dedicated server of its own) is necessary to manage them, especially because I host many virtual domains with many users and because each domain owner has control of their own e-mail accounts and aliases.
At present, I have to compile MySQL support into Postfix myself with CentOS 4 pointing at the default yum repository(ies). I don't mind doing this, but it would be nice to have a postfix-mysql RPM available.
At present, I have to compile MySQL support into Postfix myself with CentOS 4 pointing at the default yum repository(ies). I don't mind doing this, but it would be nice to have a postfix-mysql RPM available.
impossible. mysql_table support is not external to the binaries so you cannot create a postfix-mysql rpm that just holds the mysql_table support binaries like say cyrus-sasl
You will need a repository that holds a postfix rpm that has mysql support compiled in.
Feizhou wrote:
impossible. mysql_table support is not external to the binaries so you cannot create a postfix-mysql rpm that just holds the mysql_table support binaries like say cyrus-sasl
You will need a repository that holds a postfix rpm that has mysql support compiled in.
There is some confusion here. I'll try to clarify, if the error was on my part.
I don't change the yum configuration on my CentOS 4 servers. Consequently, they remain pointed at whatever repository(ies) come stock with the OS. Consequently, I don't see a postfix-mysql package available to yum. Consequently, I have to compile MySQL support into Postfix myself from source. :)
William wrote:
Feizhou wrote:
impossible. mysql_table support is not external to the binaries so you cannot create a postfix-mysql rpm that just holds the mysql_table support binaries like say cyrus-sasl
You will need a repository that holds a postfix rpm that has mysql support compiled in.
There is some confusion here. I'll try to clarify, if the error was on my part.
are you thinking of a rpm that just holds postfix mysql_table support or a rpm that has the full blown postfix with mysql enabled?
I don't change the yum configuration on my CentOS 4 servers. Consequently, they remain pointed at whatever repository(ies) come stock with the OS. Consequently, I don't see a postfix-mysql package available to yum. Consequently, I have to compile MySQL support into Postfix myself from source. :)
anyway, as Johnny has said, you can get one from Centos Plus.
Feizhou wrote:
are you thinking of a rpm that just holds postfix mysql_table support or a rpm that has the full blown postfix with mysql enabled?
Full-blown Postfix with MySQL enabled. :)
anyway, as Johnny has said, you can get one from Centos Plus.
I noticed; I'm not familiar with CentOS Plus; I'll look into it. The fact is, all my servers (except the Dell PowerEdge 2300 that needs the driver disk I'm trying to create in another thread) are already running CentOS 4.0 just fine and I've already done all the compiling I need. But, in case I need to add more servers, I'll be checking into CentOS Plus.
Thanks!
hmmm... thats great they now have postfix with mysql so i won't compile everytime i upgrade my server. anyway i use postfix w/ mysql for users and domain management, it's quite easy and very clean to use mysql with postfix.
see postfixadmin.com for more info.
On 8/10/05, William wlist-centos@kimballstuff.com wrote:
Feizhou wrote:
are you thinking of a rpm that just holds postfix mysql_table support or a rpm that has the full blown postfix with mysql enabled?
Full-blown Postfix with MySQL enabled. :)
anyway, as Johnny has said, you can get one from Centos Plus.
I noticed; I'm not familiar with CentOS Plus; I'll look into it. The fact is, all my servers (except the Dell PowerEdge 2300 that needs the driver disk I'm trying to create in another thread) are already running CentOS 4.0 just fine and I've already done all the compiling I need. But, in case I need to add more servers, I'll be checking into CentOS Plus.
Thanks! _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
William wrote:
Feizhou wrote:
are you thinking of a rpm that just holds postfix mysql_table support or a rpm that has the full blown postfix with mysql enabled?
Full-blown Postfix with MySQL enabled. :)
that cannot be called postfix-mysql...it would break system-switch-mail iirc. postfix-2.x.x.mysql is possible though. Not sure what CentosPlus has.
On Wed, 2005-08-10 at 23:25 +0800, Feizhou wrote:
William wrote:
Feizhou wrote:
are you thinking of a rpm that just holds postfix mysql_table support or a rpm that has the full blown postfix with mysql enabled?
Full-blown Postfix with MySQL enabled. :)
that cannot be called postfix-mysql...it would break system-switch-mail iirc. postfix-2.x.x.mysql is possible though. Not sure what CentosPlus has.
postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm
On Wed, 2005-08-10 at 22:43 +0800, Feizhou wrote:
At present, I have to compile MySQL support into Postfix myself with CentOS 4 pointing at the default yum repository(ies). I don't mind doing this, but it would be nice to have a postfix-mysql RPM available.
impossible. mysql_table support is not external to the binaries so you cannot create a postfix-mysql rpm that just holds the mysql_table support binaries like say cyrus-sasl
You will need a repository that holds a postfix rpm that has mysql support compiled in.
BTW ... there is a postfix with mysql support in the CentOSPlus repo for CentOS-4:
may i ask what you use mysql for with postfix?
valid user addresses lookup, routing lookup, domains lookup or anything postfix looks up via a table. mysql support allow for tables stored in mysql databases, so anything possible via a table lookup goes.
user, domain, any check_xxx_access rule (xxx = sender,client,recipient,helo), transport, aliases, mailboxes, whatever.
So, it is left to your imagination.