mailimage

command module
v0.0.0-...-b8f7a86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2019 License: MIT Imports: 8 Imported by: 0

README

Mailimage

An image block, where the images are posted via mail.

Install

Run

$ go get github.com/ostcar/mailimage

to install the program.

Dependencies

To run mailimage, you have to install redis.

Also you have to install and configure a mail transfer agend, that can redirect an incomming mail to a programm. You can use Postfix for example.

Postfix

To configure postfix you have to put a line like

mailimage: |"/path/to/mailimage insert"

To the file /etc/aliases and run newaliases.

After this you can use the file /etc/postfix/virtual to send mails to the fictive user mailimage.

Webserver

To start the mailimage webserver call

mailimage serve

You can use an webserver like nginx as a proxy. For example with this configuration:

server {
  server_name  mailimage.baarfood.de;

    include include/plain;

    location / {
        proxy_pass http://localhost:5000;
    }

}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
mailimage
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL