Postfix as a backup MX

Discussion in 'Server Operation' started by aberrio, Aug 22, 2008.

  1. aberrio

    aberrio New Member

    Hello

    On your How to setup Postfix as a backup MX you assumed that Postfix is installed and running on mx2.example.com, this means that Postfix has to have the same configuration as mx1.example.com? With same configuration I mean security, no open relay, virtual users, smtpd_recipient_restrictions etc etc or just plain postfix application


    Best regards
     
  2. falko

    falko Super Moderator Howtoforge Staff

    No, the configuration can be different.
     
  3. aberrio

    aberrio New Member

    thx, with minimun security on the mx2 is any risk or when mx1 is up and running with check for visruses and relay? is that right..
     
  4. falko

    falko Super Moderator Howtoforge Staff

    mx1 will check for viruses and spam when it's back up again.
     
  5. aberrio

    aberrio New Member

    Comming back to this, what about virtual users? Do I have to have Dovecot intalled o just Postfix to work as bx?

    Best regards

    AL
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you describe your problem in more detail?
     
  7. aberrio

    aberrio New Member

    I like to setup a mx backup box, in your how to mention that you have to have postfix already intalled on the server, My question is Do you have to have the data bases, dovecot, and all other appliation on the backup box, o just postfix by its self.

    Best regards

    AL
     
  8. falko

    falko Super Moderator Howtoforge Staff

    No, you just need Postfix.
     
  9. aberrio

    aberrio New Member

    I will try

    Best regards
     
  10. orionsune

    orionsune New Member

    Virtual Domains

    I setup my mail server using Virtual Users and Domains. My user base has grown over the last year to an extent where high availability is now desirable. I have read instructions for creating a backukp mx and another article with configuration examples.

    Both seem fairly easy to configure, and the concepts are quite clear. Although, in my configuration, postfix references a mysql database for the domains it will accept mail on. How would I apply the backup mx configuration to my current setup?

    FYI: The server I would like to use as a backup mx also has mysql configured as a master-master replication with the "mail" database on my primary mx server so the same database exists on the intended backup mx.
     
  11. sjau

    sjau Local Meanie Moderator

    well, I have set it up according to falko's guide and it works. The backup mx will just keep the mail in the spool while the primary server is not available. What you are using as backend to finally deliver the emails is of no importance. At least that's how I understood how it works.
     

Share This Page