Code Monkey home page Code Monkey logo

himalayas's Introduction

Himalayas: An email alias manager for Cpanel (Create Aliases from Anywhere!)

Why?

Well in essence because I've been tired of suffering with spam mail for 25 years, the logic that I use is:

You're asked for an email address, let's say by any ecommerce merchant/airline/bank/you name it!.

The merchant might:

  • Suffer from a leak of your email address (typical) and then falls into the wrong hands.

  • Have unethical practices and their unsubscribe button on their emails either won't work or they simply won't stop.

Me on the other hand would like to:

  • Be able to stop the spamming on its tracks, no more regex editing.
  • Be able to tell who leaked my info (and potentially decide to do something about it)
  • Integrate with CPANEL (because it is easy to setup your own email)
  • Have the ability to cross compile and install in my Mac, in my Linux Box and on my mobile phone (I have it working on a Mac and on an Android Phone)
  • and most important of all, be able to create a custom email address (an alias) that I can create on the fly and not give away my real email address.
  • Bonus tip, what I usually do is create an email address with the name of the [email protected] and let the forwarder send it to [email protected]

To Compile/Run

go build .

to Execute the binary

./emailalias

To configure it to work with your domain:

rename config/config.json.example to config/config.json then edit the values accordingly:

{ "cpanelAPIKey": "USERNAME:SOMEKEY", "cpanelHost": "cpanel.yourDOMAIN.com:2083", "defaultForwardersDomain": "domain1.com", "yourRealEmail":"[email protected]", "domains": ["domain1.com", "domain2.com"] }

Where the USERNAME:SOMEKEY are your cpanel username and the api key. You need to get those out of your cpanel admin console.

to package for Mac OS

fyne package -os darwin -icon iconAlias.png

Then

Drag and drop to your Applications folder

I have cross compiled and created a Fyne Android App for my mobile phone.

Please refer to Fyne's Guide on packaging the App for Mobile.

https://developer.fyne.io/started/mobile

himalayas's People

Contributors

ximbal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.