Sign inSign up

evilqubit/emailclean

By evilqubit

•Updated over 9 years ago

Markting email cleaning service ~ the spammaker

Image
1

273

evilqubit/emailclean repository overview

How to run email cleaning process on docker

List of shell commands:

⁠docker pull evilqubit/emailclean

Run container

⁠docker run -t -i evilqubit/emailclean /bin/bash

you will see command prompt

root@03d67642425d:/# restart exim /etc/init.d/exim4 restart Return to host shell (not container) Ctrl+P and Ctrl+Q combination, to exit container without shutting it down

Copy the list (list.txt or whatever you named it) with emails (to clean up) from host file system to docker container

⁠docker cp /root/list.txt 03d67642425d:/root

where 03d67642425d is container id. to get it, issue docker ps –a command go back to docker container

⁠docker attach 03d67642425d

cd /root vim sender.sh edit LIST variable, put there filename list.txt or your choice (the file uploaded before) run sender.sh script

⁠./sender.sh

wait (time depends on list size) to get response codes from remote email servers

get list of non-existent emails, run

⁠./unknown.sh > unknown.txt

open getemails.sh script and edit vars fulllist=/root/list.txt filtered=/root/unknown.txt resultlist=/root/result.txt

and then run script

⁠./getemails.sh

go to host server Ctrl+P and Ctrl+Q commands and then copy file from container to host server

⁠docker cp 03d67642425d:/root/result.txt /root

After that you can download result.txt file via scp from host server.

Tag summary

Content type

Image

Digest

Size

108 MB

Last updated

over 9 years ago

docker pull evilqubit/emailclean