Skip to content

gschlager/docker-fakepop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

docker-fakepop

Docker image for fakepop.

fakepop is a fake pop3 daemon. It returns always the same messages to all users, it does not care about usernames and passwords. All user/pass combinations are accepted.

How to use

  • Create a directory which will contain the emails that fakepop should serve.

    mkdir ~/fake_emails
  • Put all messages that you want fakepop to deliver in the ~/fake_emails directory.
    Some filenames are not considered as messages:

    • filenames begining with '.' (hidden files)
    • filenames begining with 'readme' (case insensitive)
    • filenames ending in '~' (backup files)
  • Run fakepop by mounting your email directory. It will run as daemon in the background.

    docker run --rm -d --name fakepop -v ${PWD}:/etc/fakepop -p 127.0.0.1:110:110 gschlager/fakepop
  • You can stop the daemon with

    docker stop fakepop

Connecting to the POP3 server

  • Hostname: localhost
  • Port: 110
  • Username: whatever you want
  • Password: whatever you want
  • Connection security: None

Connecting from Discourse

You can connect from Discourse by changing the following site settings:

  • disable pop3_polling_ssl
  • disable pop3_polling_openssl_verify
  • pop3_polling_host: localhost
  • pop3_polling_port: 110
  • pop3 polling username: whatever you want
  • pop3 polling password: whatever you want
  • enable pop3_polling_enabled
  • enable email_in

Then create a group or category and configure an email address for it.

Releases

No releases published

Packages

No packages published