Mailgun Setup - Initial Failure/Hiccup

mcs3ss2

Active Member
Sep 8, 2020
313
37
28
AU
Hi All,

Is there a step by step tutorial to setup mailgun account and connect mailgun with FSPBX

Everytime I try to setup route in mailgun account I get below error

1785503754826.png

I have domain verified

1785503817201.png 1785503850550.png 1785503895840.png 1785503919407.png


in the route part of mailgun account I am using

match_recipient(".*@fax.mydomain.com.au")

and in the forward section of the add route I am typing as below


when I browse the above URL directly in browser I get the following

1785504129180.png

Any insight will be appriciated. It is probably just a simple solution but I am new to FSPBX
Testing

Thanks

ATT: @pbxgeek
Documentation is not clear about error
 
The URL giving you an error is correct. It's not supposed to be a URL you can open in the browser.

This is how I have it set up for my test server. It looks like you did everything correctly. But please double-check your setup. Did you pass the verification for your domain in Mailgun?

match_recipient("(.*)@fax.domain.com")
forward("https://pbx.domain.com/webhook/mailgun")
 
Last edited: