Setting up mail notifications

Follow

Comments

10 comments

  • Avatar
    Anastasios Gryponisiotis

    Cluster Configurator scripts install postfix, however sendmail is apparently required to send mail? Why is postfix installed instead of sendmail? Postfix could also be used as an SMTP using localhost, but it does not appear to work. 

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    I am not 100 why postfix is installed. It must be installed as an dependency.

    what do you get in /var/log/mail.log  ?

     

    BR

    johan

     

    0
    Comment actions Permalink
  • Avatar
    Anastasios Gryponisiotis

    Yes Johan, it appears that postfix is installed as dependency of the clustercontrol-controller package.

    Unfortunately mail.log gets nothing when I try to send a test email, be it using mail or SMTP server (localhost:25) from UI

    I have tried using mail on the command line and it works fine, as expected.

    Frankly, I am more familiar with postfix, but still I would install sendmail in a heartbeat if that's all it took. I will just feel horible if I have a production server with postfix and sendmail on it!

    Any ideas?

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    I will check with my colleagues, but it sounds like the postfix is not setup correctly to be a SMTP server (maybe you can set it up to relay the email from localhost to a real SMTP server).

    However, if:

    echo "test message" | mail -s "test subject" user@example.com 

    works (replace user@example.com with the real user) then i suggest you tell ClusterControl to use the "mail" program as the method, by going into Settings -> General Settings -> Configure Mailserver:

     

    Screen_Shot_2015-07-14_at_19.30.20.png

    So you tick "Option 1", and then also set the mail sender (maybe needed to avoid delivery problems).

    Let me know if this works.

     

    BR

    johan

    0
    Comment actions Permalink
  • Avatar
    Anastasios Gryponisiotis

    Dear Johan,

    If it wasn't clear, sending from UI using both "mail" and "SMTP" are not working. They are simply poping up a confirmation dialog and adding a "Job" in the list. Nothing ever reaches the mail.log.

    In regards to system setup, I can send emails using "mail" from the command line, as well as by "talking" to the localhost SMTP via telnet.

    Is there any log I could check, because nothing gets logged in cmon.log when sending notifications.

    BR,

    Anastasis

    0
    Comment actions Permalink
  • Avatar
    bileha8859

    The troubleshooting steps provided are really helpful in case of any issues. It's great to have the commands for both Ubuntu/Debian and Redhat/Centos systems. The link to the external forum for further discussion is also a good addition for additional support time calculator

    0
    Comment actions Permalink
  • Avatar
    Churchillson Priddy

    subway prices adelaide offers customers a convenient way to manage their electricity bills. These centers are strategically located to provide easy access for making payments, discussing account details, and resolving billing inquiries. 

     
    0
    Comment actions Permalink
  • Avatar
    Halex Utrex

    The troubleshooting steps provided are really helpful in case of any issues. It's great to have the commands for both Ubuntu/Debian and Redhat/Centos systems. The link to the external forum for further discussion is also a good addition for additional support see more

     
    0
    Comment actions Permalink
  • Avatar
    Donnellyson Scaife

    Hi,

    Thank you for contacting us. Regarding your issue for stick war legacy, can you create a ticket and generate the error report from the UI > pick the cluster > Reports > Create error report for both clusters? Then attach the reports to the ticket so that we can take a look further.

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Vat Calculator

    Very helpful guide for setting up mail notifications. The step-by-step instructions make it much easier for administrators to configure alerts correctly and monitor systems more efficiently. Email notifications are really important for keeping track of server status, backups, and database performance issues in real time.

    I also appreciate online tools that simplify technical and financial tasks. Recently I found <a href="https://vatcalculatorrireland.com/">VAT Calculator Ireland</a> very useful for quickly calculating VAT-inclusive and exclusive amounts without manual calculations. Great documentation and easy-to-follow explanation overall!

     
     
    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk