Skip to content

paihu/scan2mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mail's attachmentfile to Slack

Email's domain section and const domain must be equal.

Email's local section and Slack Display name must be equal.

usage

  • Put config file(config.toml) to binary exist dir.
  • /path/to/binary < raw_email_data

docker

  • docker build -t scan_mail -f docker/Dockerfile .
  • docker run --rm -d -e DOMAIN= -e TOKEN= -e USER=<user:password[,user:password,...] for smtp auth> scan_mail
  • set mailer smtpauth user@domain, password and send attached email

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published