MailCatcher not catching email

Hi,
So i have set up squirrel mail and dovecot and i can send and receive emails but when i go to configure it for discourse like the picture i don’t receive the activation email.

COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dhclient   1099     root    6u  IPv4  11804      0t0  UDP *:68
mysqld     3853    mysql   20u  IPv4 908088      0t0  TCP 127.0.0.1:3306 (LISTEN)
postgres   4277 postgres    6u  IPv4 220874      0t0  TCP 127.0.0.1:5432 (LISTEN)
postgres   4277 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
postgres   4279 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
postgres   4280 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
postgres   4281 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
postgres   4282 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
postgres   4283 postgres   10u  IPv4 220880      0t0  UDP 127.0.0.1:38329->127.0.0.1:38329
redis-ser  5914    redis    4u  IPv4 224119      0t0  TCP 127.0.0.1:6379 (LISTEN)
sshd       7388     root    3u  IPv4 865834      0t0  TCP 51.68.172.7:22->109.154.67.144:49837 (ESTABLISHED)
ts3server 10781     root   29u  IPv4  64699      0t0  UDP 51.68.172.7:2011->51.68.181.92:2010
ts3server 10781     root   40u  IPv4  64576      0t0  TCP *:30033 (LISTEN)
ts3server 10781     root   41u  IPv6  64577      0t0  TCP *:30033 (LISTEN)
ts3server 10781     root   42u  IPv4  64582      0t0  UDP 51.68.172.7:44119->51.68.181.92:2010
ts3server 10781     root   52u  IPv4  64587      0t0  UDP *:9987
ts3server 10781     root   53u  IPv6  64588      0t0  UDP *:9987
ts3server 10781     root   55u  IPv4  64590      0t0  TCP *:10011 (LISTEN)
ts3server 10781     root   56u  IPv6  64591      0t0  TCP *:10011 (LISTEN)
ts3server 10781     root   57u  IPv4  64594      0t0  TCP *:10022 (LISTEN)
ts3server 10781     root   58u  IPv6  64595      0t0  TCP *:10022 (LISTEN)
mailcatch 10952     root    7u  IPv4 463781      0t0  TCP 127.0.0.1:1025 (LISTEN)
mailcatch 10952     root    8u  IPv4 463782      0t0  TCP *:1080 (LISTEN)
mailcatch 10952     root   10u  IPv4 557611      0t0  TCP 51.68.172.7:1080->109.154.66.146:60104 (ESTABLISHED)
mailcatch 10952     root   11u  IPv4 544315      0t0  TCP 51.68.172.7:1080->109.154.66.146:56585 (ESTABLISHED)
mailcatch 10952     root   12u  IPv4 575707      0t0  TCP 51.68.172.7:1080->109.154.66.146:62597 (ESTABLISHED)
mailcatch 10952     root   13u  IPv4 978160      0t0  TCP 51.68.172.7:1080->109.154.67.144:58818 (ESTABLISHED)
docker-pr 11841     root    4u  IPv6 978767      0t0  TCP *:1004 (LISTEN)
docker-pr 11861     root    4u  IPv6 978794      0t0  TCP *:1003 (LISTEN)
nginx     13193     root    6u  IPv4 922494      0t0  TCP *:443 (LISTEN)
nginx     13193     root    7u  IPv4 922495      0t0  TCP *:80 (LISTEN)
nginx     13193     root    8u  IPv6 922496      0t0  TCP *:80 (LISTEN)
nginx     13193     root    9u  IPv6 922497      0t0  TCP *:443 (LISTEN)
nginx     13194 www-data    6u  IPv4 922494      0t0  TCP *:443 (LISTEN)
nginx     13194 www-data    7u  IPv4 922495      0t0  TCP *:80 (LISTEN)
nginx     13194 www-data    8u  IPv6 922496      0t0  TCP *:80 (LISTEN)
nginx     13194 www-data    9u  IPv6 922497      0t0  TCP *:443 (LISTEN)
nginx     13195 www-data    6u  IPv4 922494      0t0  TCP *:443 (LISTEN)
nginx     13195 www-data    7u  IPv4 922495      0t0  TCP *:80 (LISTEN)
nginx     13195 www-data    8u  IPv6 922496      0t0  TCP *:80 (LISTEN)
nginx     13195 www-data    9u  IPv6 922497      0t0  TCP *:443 (LISTEN)
smtpd     13298  postfix    6u  IPv4  78075      0t0  TCP *:25 (LISTEN)
smtpd     13298  postfix    7u  IPv6  78076      0t0  TCP *:25 (LISTEN)
master    13813     root   12u  IPv4  78075      0t0  TCP *:25 (LISTEN)
master    13813     root   13u  IPv6  78076      0t0  TCP *:25 (LISTEN)
sshd      18396     root    3u  IPv4 880785      0t0  TCP 51.68.172.7:22->109.154.67.144:49218 (ESTABLISHED)
dovecot   20870     root   24u  IPv4 884622      0t0  TCP *:110 (LISTEN)
dovecot   20870     root   25u  IPv6 884623      0t0  TCP *:110 (LISTEN)
dovecot   20870     root   36u  IPv4 884648      0t0  TCP *:143 (LISTEN)
dovecot   20870     root   37u  IPv6 884649      0t0  TCP *:143 (LISTEN)
sshd      21551     root    3u  IPv4 320538      0t0  TCP *:22 (LISTEN)
sshd      21551     root    4u  IPv6 320547      0t0  TCP *:22 (LISTEN)
sshd      22731     root    3u  IPv4 842590      0t0  TCP 51.68.172.7:22->80.212.25.155:64838 (ESTABLISHED)
ld-musl-x 30572     root   18u  IPv4 900632      0t0  TCP *:30120 (LISTEN)
ld-musl-x 30572     root   20u  IPv6 900633      0t0  UDP *:30120
ld-musl-x 30572     root   26u  IPv4 965798      0t0  TCP 51.68.172.7:45676->151.101.112.133:443 (CLOSE_WAIT)
ld-musl-x 30572     root   28u  IPv4 900655      0t0  TCP *:30121 (LISTEN)
ld-musl-x 30572     root   29u  IPv4 961171      0t0  TCP 51.68.172.7:30120->138.229.21.184:61047 (ESTABLISHED)
ld-musl-x 30572     root   31u  IPv4 981018      0t0  TCP 51.68.172.7:30120->24.102.158.169:50440 (ESTABLISHED)
ld-musl-x 30572     root   32u  IPv4 965587      0t0  TCP 51.68.172.7:30120->85.53.249.150:53489 (ESTABLISHED)
ld-musl-x 30572     root   35u  IPv4 933366      0t0  TCP 51.68.172.7:30120->188.32.187.18:57616 (ESTABLISHED)
ld-musl-x 30572     root   36u  IPv4 935807      0t0  TCP 51.68.172.7:30120->125.164.26.93:55447 (ESTABLISHED)
ld-musl-x 30572     root   37u  IPv4 978276      0t0  TCP 51.68.172.7:30120->173.169.199.237:51552 (ESTABLISHED)
ld-musl-x 30572     root   38u  IPv4 961493      0t0  TCP 51.68.172.7:30120->185.178.142.122:59446 (ESTABLISHED)
ld-musl-x 30572     root   39u  IPv4 961499      0t0  TCP 51.68.172.7:30120->139.193.160.191:60206 (ESTABLISHED)
ld-musl-x 30572     root   40u  IPv4 963082      0t0  TCP 51.68.172.7:30120->178.155.248.84:53134 (ESTABLISHED)
ld-musl-x 30572     root   41u  IPv4 982237      0t0  TCP 51.68.172.7:30120->90.224.118.69:49219 (ESTABLISHED)
ld-musl-x 30572     root   42u  IPv4 981169      0t0  TCP 51.68.172.7:30120->89.64.43.106:33641 (ESTABLISHED)
ld-musl-x 30572     root   43u  IPv4 981189      0t0  TCP 51.68.172.7:30120->178.32.9.96:41590 (ESTABLISHED)
ld-musl-x 30572     root   44u  IPv4 980727      0t0  TCP 51.68.172.7:30120->94.112.91.100:64183 (ESTABLISHED)
ld-musl-x 30572     root   45u  IPv4 980729      0t0  TCP 51.68.172.7:30120->87.105.113.21:62446 (ESTABLISHED)
ld-musl-x 30572     root   46u  IPv4 980924      0t0  TCP 51.68.172.7:30120->82.26.62.214:50150 (ESTABLISHED)
ld-musl-x 30572     root   47u  IPv4 982404      0t0  TCP 51.68.172.7:30120->98.29.36.232:51452 (ESTABLISHED)

Is this a development install, or a live instance?

2 Likes

i its a live instance

Take a read of the email setup guide. Those are the providers we can help you configure here.

I you insist on running your own mail server, it’s done so on the provisio that you have the requisite knowledge to configure it.

1 Like

sorry its development

Ok, then why are you trying to configure a mail server?

Mailcatcher will work if you configure it correctly.

so ive set mail catcher i can go to the web interface

do i configer it like this
image

That’s a public IP, where is MailCatcher installed? is this development instance local, or remote?

If you’ve got an app.yml are you sure you followed the guide you linked? the app.yml is part of docker-based installs.

its installed on the local but if i point it to 0.0.0.0 it goes to the docker container

Right, and as I said above Docker isn’t a part of the installation process you linked.

Are you sure you’ve done a development install? Because it sounds a lot like you’ve done a docker install and are just trying to bypass email.

thats how i launch it with the ./launcher start app

Right, so that’s not built using the installation guide you linked. This is the development docker installation guide:

1 Like

sorry ive found the guide i followed as i was having problems with the rails dev install it was giving me some weird error about gem files or something:

That’s a production install process, and not even the official one at that.

We can’t really help you twist and contort that into a development install. I would recommend either following the docker installation guide I linked, or re-attempting the one you initially shared.

ok will do ill try and get it tow work

is their a production version of discourse

There’s a production install method, yes, which is the standard install guide. But the outcome is going to be similar to the guide you followed, an installation which is designed for live use and not suited to development.

Email is central to discourse, we’re not going to be able to help you if your intention is to set up a live discourse instance without email.

If you’re looking to install Discourse for development purposes though then the two guides linked further up are what you need to be looking at.

so yeh i must have got the production and dev ones mixed when making the server

That’s the beauty of the development install, you can put it on your own computer, no server required.