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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Email notify on SSH login

Scheduled Pinned Locked Moved Feature Requests
notificationsssh
10 Posts 4 Posters 472 Views
    • 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 Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    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 drink. Cheers!

    1 Reply Last reply
    1
  • micmcM Offline
    micmcM Offline
    micmc
    replied to xarp on last edited by
    #3

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


    https://marketingtechnology.agency
    For cutting edge web technologies

    BrutalBirdieB 1 Reply Last reply
    1
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    replied to micmc on last edited by
    #4

    @micmc Server level.

    Like my work? Consider donating a drink drink. Cheers!

    X 1 Reply Last reply
    2
  • micmcM Offline
    micmcM Offline
    micmc
    replied to xarp 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?


    https://marketingtechnology.agency
    For cutting edge web technologies

    micmcM 1 Reply Last reply
    0
  • micmcM Offline
    micmcM Offline
    micmc
    replied to micmc 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


    https://marketingtechnology.agency
    For cutting edge web technologies

    1 Reply Last reply
    3
  • X Offline
    X Offline
    xarp
    replied to BrutalBirdie 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
  • mehdiM Offline
    mehdiM Offline
    mehdi App Dev
    replied to xarp 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
  • micmcM Offline
    micmcM Offline
    micmc
    replied to xarp 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.


    https://marketingtechnology.agency
    For cutting edge web technologies

    1 Reply Last reply
    0
  • X Offline
    X Offline
    xarp
    replied to mehdi 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.