{"id":16944455,"url":"https://github.com/jmkim/bootmail","last_synced_at":"2026-05-18T02:31:44.723Z","repository":{"id":18041942,"uuid":"21086741","full_name":"jmkim/bootmail","owner":"jmkim","description":"Email you when the system goes on boot process, Init and shutdown","archived":false,"fork":false,"pushed_at":"2015-08-02T06:36:57.000Z","size":436,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T17:05:11.334Z","etag":null,"topics":["initscript","mailer","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmkim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-22T05:53:11.000Z","updated_at":"2024-10-22T04:21:21.000Z","dependencies_parsed_at":"2022-08-25T13:50:45.509Z","dependency_job_id":null,"html_url":"https://github.com/jmkim/bootmail","commit_stats":null,"previous_names":["kdzlvaids/bootmail"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmkim/bootmail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmkim%2Fbootmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmkim%2Fbootmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmkim%2Fbootmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmkim%2Fbootmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmkim","download_url":"https://codeload.github.com/jmkim/bootmail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmkim%2Fbootmail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["initscript","mailer","shell"],"created_at":"2024-10-13T21:18:12.692Z","updated_at":"2026-05-18T02:31:44.707Z","avatar_url":"https://github.com/jmkim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\nbootmail: A Linux Bash script made for sending a mail about system boot.\n```\n## Requirements\n\n```\nType           Package name    Description\n===========    ============    ===========\nmail client    mail\n               mailx\n               mutt\nsmtp server    sendmail        *optional  (required when you sending out from localhost)\nboot logger    bootlogd        *optional  (only works with mutt)\n```\n\n## Installation\n\n#### Run [AutoInstaller](https://raw.githubusercontent.com/kdzlvaids/bootmail/master/install.sh)\n\n```bash\n$ wget https://raw.githubusercontent.com/kdzlvaids/bootmail/master/install.sh\n$ chmod 755 install.sh\n$ sudo ./install.sh\n```\n\n#### or more hard way\n\n```bash\n# Download script\n$ git clone git@github.com:kdzlvaids/bootmail.git\n# or\n$ git clone https://github.com/kdzlvaids/bootmail.git\n\n# Install script\n$ chmod 755 bootmail/bin/bootmail\n$ sudo cp bootmail/bin/bootmail /etc/init.d/\n$ sudo update-rc.d bootmail start 99 2 . stop 99 0 1 6 .\n\n# optional: Install mutt mail client\n$ sudo apt-get install mutt\n\n# optional: Install bootlogd (Debian boot logger)\n$ sudo apt-get install bootlogd\n$ sudo echo \"BOOTLOGD_ENABLE=yes\" \u003e\u003e/etc/default/bootlogd\n$ sudo echo \"ENABLE_BOOTLOG=yes\" \u003e\u003e/etc/default/bootmail\n```\n```bash\n# optional: Make /etc/default/bootmail\nMAILTO=\"root\"                         # \"To:\" mail address (Default is 'root' in your local machine)\nMAILFROM=\"$(id -n -u)@$(hostname -f)\" # \"From:\" mail address\nMAILCLIENT=\"mailx\"                    # Mail client: mutt/mail/mailx\nLOGDIR=\"/var/log\"                     # Log directory\nLOGFILE=\"$LOGDIR/bootmail.log\"        # Log file location\nENABLE_BOOTLOG=\"no\"                   # Attach a boot record into the boot up mail\nBOOTLOGFILE=\"/var/log/boot\"           # Bootlog attachment location\n```\n\n## Usage\n\n```bash\n# Method 1: Run as InitScript\n$ sudo service bootmail {start|stop}\n\n# Method 2: Run manually\n# bootmail will send an email automatically, so do not run manually.\nbootmail [-h] {start|stop} [email address]\n\nArguments:\n    start      system boot up alert.\n    stop       system halt/reboot alert.\n    bootlogd   print colorful boot record. *bootlogd required\nOptions:\n-h, --help     print this help.\n```\n\n\n## License\n\n```\n    Copyright (C) 2015  Jongmin Kim / kdzlvaids@gmail.com\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmkim%2Fbootmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmkim%2Fbootmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmkim%2Fbootmail/lists"}