Posts by ashahid

This forum was archived to /woltlab and is now in read-only mode.


    After a lot of tweaking and modifications on my postfix config file, I was able to send out emails.

    pillbug22, thank you for the tip on the Director part. Got that working as well.


    If I want to update the notifications through the CLI, what is the location for it? I am getting the basic notifications for now, i.e. Host up or down. But, I want to make it even more detailed.

    I will appreciate if anyone can let me know where are the notification settings stored in the config file as i would like to dig deeper.

    Thanks much!


    I appologize fore not giving out enough information. I have an update, after going through multiple forums and videos I configured the postfix mail SMTP. the output is stated below:

    Output from vim /etc/postfix/

    myhostname =

    relayhost = []:25

    smtp_use_tls = yes

    smtp_sasl_auth_enable = yes

    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

    smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt

    smtp_sasl_security_options = noanonymous

    smtp_sasl_tls_security_options = noanonymous

    I replaced my company’s domain with “contoso” for security purposes.

    However, I receive a bounce back whenever I try to send an email through cli. Results below:

    Output from vim /var/spool/mail/root

    The mail system

    <>: unknown user: "ashahid"


    Content-Description: Delivery report

    Content-Type: message/delivery-status

    Reporting-MTA: dns;

    X-Postfix-Queue-ID: 2CAE4EC2EB

    X-Postfix-Sender: rfc822;

    Arrival-Date: Tue, 31 Oct 2017 08:48:48 -0500 (CDT)

    Final-Recipient: rfc822;

    Action: failed

    Status: 5.1.1

    Diagnostic-Code: X-Postfix; unknown user: "ashahid"


    Content-Description: Undelivered Message

    Content-Type: message/rfc822

    Return-Path: <>

    Received: by (Postfix, from userid 0)

    id 2CAE4EC2EB; Tue, 31 Oct 2017 08:48:48 -0500 (CDT)

    Date: Tue, 31 Oct 2017 08:48:48 -0500


    Subject: Test Mail

    User-Agent: Heirloom mailx 12.5 7/5/10

    MIME-Version: 1.0

    Content-Type: text/plain; charset=us-ascii

    Content-Transfer-Encoding: 7bit

    Message-Id: <>

    From: (root)

    icinga test


    Similarly, I replaced my company’s domain with for security purposes.

    I added the smtp user settings in the sasl_passwd file and the output is shown below:

    Output from vim /etc/postfix/sasl_passwd


    Is there any thing I am missing here? Also, do I have to do something to integrate postfix with icinga? (I have already setup notifications)

    I have attached a snapshot of the About page of my Icinga Host.



    Edit: I am using CentOS 7


    I have completed the setup of Icinga Web 2 with Director. I can connect to hosts and monitor their status through the icinga portal. However, I would like to receive email notifications when any of my Host is down, etc. I read through multiple forums but am still not able to get notifications when the host goes down. I will highly appreciate if any one can help me in setting up the SMTP/MTA service to send out the notifications when any host goes down, preferably through the director. I will also appreciate if you can give me a step by step guidance.

    Thanks in advance.