email server primary/secondary

1 reply [Last post]
branislavt's picture
branislavt
User offline. Last seen 1 year 16 weeks ago. Offline
Opsview Sensei - 4th DanOpsview Sensei - 3rd DanOpsview Sensei - 2nd DanOpsview Sensei - 1st Dan
Joined: 05 Apr 2012
Posts:
Points: 230

Hello,

 

Is there option to set 2 email servers in Opsview Core:

 

1) for backup option so if in some case postfix die another one is used

2) for option to send some emails to via (primary postfix) and to send some email using alternative email server ie company one.(this can be used for example for sms2email regarding this to work i must send emailSMS using gateway as mail server).

 

tnx in advance

Regards

 

0
Your rating: None
awijntje's picture
awijntje
User offline. Last seen 4 weeks 6 days ago. Offline
Certified Opsview AdministratorOpsview Enterprise SubscriberOpsview Sensei - 5th DanOpsview Sensei - 4th DanOpsview Sensei - 3rd DanOpsview Sensei - 2nd DanOpsview Sensei - 1st Dan
Joined: 27 Jun 2010
Posts:
Points: 8700

he there,

These are not really Opsview related question, but more on how e-mail and MTA's work.

First off an MTA (like postfix) uses MX-records to forward mail, so if you set smtp.company.com as smarthost, and have an MX record (with preference settings) postfix will just switch over when the first (lowest preference) becomes unavailable.

For your second question you can set up your postfix to relay mail for domain A to smarthost A and domain B to smarthost A.

This is handled (I believe) by the postfix transport mechanimse (but I'm sure there's quite a lot of instructions on the internet about settings this up).

hope this helps,

Alan

Your rating: None
Rq
Rq

Call us for a quote

866·662·4160

International numbers