Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Email notify on SSH login

Email notify on SSH login

Scheduled Pinned Locked Moved Feature Requests
notificationsssh
10 Posts 4 Posters 979 Views 4 Watching
  • 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.
    • X Offline
      X Offline
      xarp
      wrote on last edited by girish
      #1

      This is easily achieved with standard postfix system packages, but Cloudron obviously uses 25 so a built-in Cloudron feature for security and observation, auditing, would be great.

      micmcM 2 Replies Last reply
      7
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        Nullmailer could be utilized for this.
        https://wiki.archlinux.org/title/Nullmailer

        using the Built-in SMTP server?

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        1
        • X xarp

          This is easily achieved with standard postfix system packages, but Cloudron obviously uses 25 so a built-in Cloudron feature for security and observation, auditing, would be great.

          micmcM Offline
          micmcM Offline
          micmc
          wrote on last edited by
          #3

          @xarp You mean at server or container level? That's a great suggestion BTW. 👍

          Ignorance is not an excuse anymore!
          https://AutomateKit.com

          BrutalBirdieB 1 Reply Last reply
          1
          • micmcM micmc

            @xarp You mean at server or container level? That's a great suggestion BTW. 👍

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #4

            @micmc Server level.

            Like my work? Consider donating a drink. Cheers!

            X 1 Reply Last reply
            2
            • X xarp

              This is easily achieved with standard postfix system packages, but Cloudron obviously uses 25 so a built-in Cloudron feature for security and observation, auditing, would be great.

              micmcM Offline
              micmcM Offline
              micmc
              wrote on last edited by
              #5

              @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

              Ignorance is not an excuse anymore!
              https://AutomateKit.com

              micmcM 1 Reply Last reply
              0
              • micmcM micmc

                @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

                micmcM Offline
                micmcM Offline
                micmc
                wrote on last edited by
                #6

                There seems to be a quite interesting discussion on this matter, with possible solutions right here
                https://askubuntu.com/questions/179889/how-do-i-set-up-an-email-alert-when-a-ssh-login-is-successful

                Ignorance is not an excuse anymore!
                https://AutomateKit.com

                1 Reply Last reply
                3
                • BrutalBirdieB BrutalBirdie

                  @micmc Server level.

                  X Offline
                  X Offline
                  xarp
                  wrote on last edited by xarp
                  #7

                  @micmc said in Email notify on SSH login:

                  @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

                  @xarp said in Email notify on SSH login:

                  but Cloudron obviously uses 25

                  mehdiM micmcM 2 Replies Last reply
                  0
                  • X xarp

                    @micmc said in Email notify on SSH login:

                    @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

                    @xarp said in Email notify on SSH login:

                    but Cloudron obviously uses 25

                    mehdiM Offline
                    mehdiM Offline
                    mehdi
                    App Dev
                    wrote on last edited by
                    #8

                    @xarp actually, Cloudron uses the inbound port 25. This does not prevent it from sending stuff.

                    However, it would make much more sense to integrate this with the cloudron emails, to take advantage of the specific email configuration, for example if there is a relay configured.

                    X 1 Reply Last reply
                    4
                    • X xarp

                      @micmc said in Email notify on SSH login:

                      @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

                      @xarp said in Email notify on SSH login:

                      but Cloudron obviously uses 25

                      micmcM Offline
                      micmcM Offline
                      micmc
                      wrote on last edited by micmc
                      #9

                      @xarp said in Email notify on SSH login:

                      @micmc said in Email notify on SSH login:

                      @xarp Postfix comes standard with Ubuntu so I'm not sure of how couldn't be implemented or what would prevent it, have you tried something already?

                      @xarp said in Email notify on SSH login:

                      but Cloudron obviously uses 25

                      Don't bother answering if it is for an 'answer' like this. Obviously that doesn't say if you tried something the way I meant, and it's kind of rude.

                      Ignorance is not an excuse anymore!
                      https://AutomateKit.com

                      1 Reply Last reply
                      0
                      • mehdiM mehdi

                        @xarp actually, Cloudron uses the inbound port 25. This does not prevent it from sending stuff.

                        However, it would make much more sense to integrate this with the cloudron emails, to take advantage of the specific email configuration, for example if there is a relay configured.

                        X Offline
                        X Offline
                        xarp
                        wrote on last edited by xarp
                        #10

                        @mehdi said in Email notify on SSH login:

                        @xarp actually, Cloudron uses the inbound port 25. This does not prevent it from sending stuff.

                        I tried the postfix/mailutils method which uses a simple bashrc method in the user/root home, however when Cloudron rebooted, the mail service couldn't start unfortunately.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search