Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Is it possible to have one more e-mail in the firewall notifications?

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 6 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SteveITS Galactic Empire @thenge
      last edited by

      @thenge I donโ€™t think so offhand but you can enter a distribution list.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote ๐Ÿ‘ helpful posts!

      T 1 Reply Last reply Reply Quote 1
      • provelsP
        provels
        last edited by

        Pretty sure I used to have 3 addresses entered there, but it stopped working. Not sure if it was from when I was still on CE or after 23.05 - 23.05.1.

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        1 Reply Last reply Reply Quote 1
        • T
          thenge @SteveITS
          last edited by

          @SteveITS Thanks! To create this list, would it be creating with aliases?
          I don't know any other way, can you guide me?

          provelsP 1 Reply Last reply Reply Quote 0
          • provelsP
            provels @thenge
            last edited by

            @thenge I was thinking about this. I would guess (if you're not on a corporate or your own public mail server) that you would need to login to the web interface of gmail.com, outlook.com, etc. and create a distribution list in your address book so when your sending account authenticates with that mail server it would then send to that distribution list, listed in the pfSense notifications. Not tested..

            Peder

            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

            T 1 Reply Last reply Reply Quote 0
            • T
              thenge @provels
              last edited by

              @provels Perfect thank you! I'll set it up and let you know if it worked.

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @thenge
                last edited by johnpoz

                @thenge you can put in more than one address just , between them. Just tested this to 3 different email addresses

                user@domain.tld, user@domain2.tld, user@domain3.tld

                I clicked save on the settings, and then clicked send test and got it on all three accounts.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                T provelsP 2 Replies Last reply Reply Quote 0
                • T
                  thenge @johnpoz
                  last edited by

                  @johnpoz Perfect! I was unable to configure, the system just returned an error:

                  errofw.png

                  johnpozJ GertjanG 2 Replies Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @thenge
                    last edited by

                    @thenge well you need to auth if your going to send emails through them.. see the last part of that error message.

                    If your just talking directly to the server for where your sending the email, its different than sending to different address not on that server.

                    I use my gmail account, and auth to it, which allows me then to send to any other address from my gmail account.

                    You would never be able to send to some email address on domainX via domainY, unless you auth to domainY email server..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    Austin 0A 1 Reply Last reply Reply Quote 1
                    • GertjanG
                      Gertjan @thenge
                      last edited by Gertjan

                      @thenge

                      Here it is :

                      0c6917c2-d3b7-40ad-a847-9977f0e99aa0-image.png

                      Your mail client = your pfSense.
                      ( the proposed "login to the IMAP/POP3 server before sending" doesn't exist anymore, that is something of the past )

                      Basically :
                      When you retrieve mail from your mail server : you have to identify yourself. probably with your 'mail address' and the password.
                      When you want to send mail via your mail server : you have to identify yourself. probably with your 'mail address' and the password.

                      Btw : free relaying : that : is : use whatever mail server to send your mail was possible in the past. Every SMTP out there was for everybody. They had to shut down that functionality, as something went very wrong ๐Ÿ˜Š

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        thenge @Gertjan
                        last edited by

                        @Gertjan I understood! It won't work out that way. I'll do it another way. Thank you all.

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @thenge
                          last edited by

                          @thenge what is your setup currently for notifications. Just auth and you should be able to send to any addresses you want. I have to assume if your sending to one of your addresses you have an account there?

                          With gmail you prob going to need to setup an app password.. I have them setup for multiple things I run that can send notifications.

                          app.jpg

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          T 1 Reply Last reply Reply Quote 0
                          • Austin 0A
                            Austin 0 @johnpoz
                            last edited by

                            @johnpoz This worked for me as well. I swear I had read somewhere that you had to use a Dirtibution list for this, and I had tried using ";" to separate the emails in the past. Thanks for the solution to something that had been bothering me for a while.

                            1 Reply Last reply Reply Quote 0
                            • T
                              thenge @johnpoz
                              last edited by

                              @johnpoz I have an account with a provider called hostgator and I am sending to two different providers. One gmail and another LocaWeb. Gmail works when alone, but when I enter the two destination emails it shows the error.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                SteveITS Galactic Empire @thenge
                                last edited by

                                @thenge To avoid ubiquitous spam, SMTP servers make you log in, before they will send out email. Email to the same server is allowed because that would be incoming email anyway. To send to a third party you need to log in.

                                https://support.google.com/a/answer/176600?hl=en
                                https://forum.netgate.com/topic/111569/howto-notifications-with-gmail-smtp

                                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                Upvote ๐Ÿ‘ helpful posts!

                                provelsP 1 Reply Last reply Reply Quote 0
                                • provelsP
                                  provels @SteveITS
                                  last edited by

                                  @SteveITS Then how do I send to my cell's txt on @txt.att.net from gmail? For that matter, how could you send to any address not on your mail server?

                                  Peder

                                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                  S 1 Reply Last reply Reply Quote 0
                                  • provelsP
                                    provels @johnpoz
                                    last edited by

                                    @johnpoz RE: Multiple addresses with comma, that's what I did for years, then it stopped working. Dunno.

                                    Peder

                                    MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                    BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • S
                                      SteveITS Galactic Empire @provels
                                      last edited by

                                      @provels said in Is it possible to have one more e-mail in the firewall notifications?:

                                      how could you send to any address not on your mail server

                                      By authenticating.
                                      https://support.google.com/a/answer/176600?hl=en

                                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                      Upvote ๐Ÿ‘ helpful posts!

                                      1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator @provels
                                        last edited by

                                        @provels said in Is it possible to have one more e-mail in the firewall notifications?:

                                        then it stopped working. Dunno.

                                        I works here, just tested it. More than happy to test it with my 2.7 or 2.6 vms..

                                        You sure your authing, you don't need to auth if your sending to the mail server the mail is sent too.

                                        @thenge hasn't shown how he has notifications setup in pfsense.

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                                        T provelsP 2 Replies Last reply Reply Quote 0
                                        • T
                                          thenge @johnpoz
                                          last edited by

                                          @johnpoz Configure it this way:

                                          configemailfw.png

                                          johnpozJ 1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @thenge
                                            last edited by johnpoz

                                            @thenge well clearly your not "authing" to it.. Since there is no password set.. So no sane email service would let you send mail to other domains without validating its you.

                                            noauth.jpg

                                            If they did that would be an open relay - and they would be sending just spam all day long, etc.

                                            edit: the only time you use to be able to get away with sending mail without auth was if you were using your isp smtp server, and the only way to talk to it was you were on the isp network. But that pretty much went away as well many moons ago. I am not aware of any isp that allows that to happen any more even.

                                            See before my gmail app passwords, the one labeled pfsense, that is the password that is here

                                            password.jpg

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                                            T 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.