Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2007, 18:51
acoghlan acoghlan is offline
Junior Member
 
Join Date: Jan 2007
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default Virtual Users And Domains With Postfix, Courier And MySQL Secondary MX

I have set up a FC5 postfix mail server using the guide "Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)"

I want to set up a secondary mail server using a MySQL database replicated from my primary mail server.

I have two boxes; mail01 and mail02 (for the sake of arguement). MySQL is replicating properly between both, so all updates to email addresses, domains, forwards (etc..etc..) are happening on mail02 (this is where some websites are stored, along with a basic web based control pannel we have written) and syncing to mail01 which is my primary mail server - this works great because the queries from postfix are read only.

My intention is to make mail02 the backup MX server in the event mail01 is down.

I am wanting the backup MX on mail02 to query the MySQL database to identify the domains / email addresses for which it can relay email - this would be the domains table used in the article (I assume). The result would be that when we have created new email addresses or aliases via our control pannel, it would automagically update (via MySQL replication) both the primary and secondary mail servers with the changes - this MUST be a good thing!

Any help would be appreciated.

Last edited by acoghlan; 2nd January 2007 at 19:04.
Reply With Quote
Sponsored Links
  #2  
Old 8th March 2008, 05:02
browngb browngb is offline
Member
 
Join Date: Dec 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm wondering about the same thing. I believe this should be accomplished by creating relay_domains, relay_recipients, and transports tables, but I'm unclear on how it would be configured. Any help or guidance would be greatly appreciated.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 29th June 2006 23:20
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41


All times are GMT +2. The time now is 21:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.