smtpd

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

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

Go to latest
Published: Aug 9, 2018 License: MIT Imports: 15 Imported by: 0

README

smtpd + imapd + pop3d

Testing POP3

  • Open mail client such as Thunderbird, or Mobile Phone Email App
  • Click "Continue" when it say can't verify account. Mail client setup
  • It tested successfully (receive & send) on Thuderbird and Samsung Email App

Testing SMTP

Testing IMAP

  • Open mail client such as Thunderbird
  • Add new email account, don't use autodetect setting, then click "Done" button. Mail client setup

SMPTPD -> Postfix connection diagram

Features

  • Pop3
  • Send email using Mail Transfer Agent
  • ESMTP server implementing RFC5321
  • Support for SMTP AUTH (RFC4954) and PIPELINING (RFC2920)
  • Multipart MIME support
  • UTF8 support for subject and message
  • Web interface to view messages (plain text, HTML or source)
  • Html sanitizer for html mail in web interface
  • Real-time updates using websocket
  • Download individual attachments
  • MongoDB storage for message persistence
  • Lightweight and portable
  • No installation required

Development Status

SMTPD + IMAPD + POP3 is currently development phase.

TODO

  • Rest API
  • Inline resources in Web interface
  • Per user/domain mailbox in web interface

Building from Source

You will need a functioning [Go installation][Golang] for this to work.

Grab the Smtpd source code and compile the daemon:

go get -v github.com/shidec/smtpd

Edit etc/mail.conf and tailor to your environment. Launch the daemon:

$GOPATH/bin/smtpd -config=$GOPATH/src/github.com/shidec/smtpd/etc/mail.conf

By default the SMTP server will be listening port 25, IMAP server will be listening port 143 and the web interface will be available at [domain:10025]

This will place smtpd in the background and continue running

/usr/bin/nohup /home/shidec/smtpd -config=/home/shidec/mail.conf -logfile=smtpd.log 2>&1 &

You may also put another process to watch your smtpd process and re-start it if something goes wrong.

Credits

Licence

Copyright ©‎ 2014, Gleez Technologies (http://www.gleeztech.com).

Released under MIT license, see LICENSE for details.

Documentation

Overview

This is the smtpd daemon launcher ./smtpd -config=etc/smtpd.conf -logfile=smtpd.log &

Directories

Path Synopsis
Package xsrftoken provides methods for generating and validating secure XSRF tokens.
Package xsrftoken provides methods for generating and validating secure XSRF tokens.

Jump to

Keyboard shortcuts

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