Disclaimer: I have barely any infrastructure knowledge, so maybe the obivous already works.
I am trying to setup sandstorm.io on my local machine for testing purposes. It needs an SMTP server to send mails from. Google SMTP for example wont work, since it needs to change the
During the setup, it prompts me to enter an SMTP host and it's port number. Well, I don't have any. My solution to resolve this: Install postfix to work on the local network (or just my machine at first) and let sandstorm use that smtp server to send emails.
My problem: In the setup process, I have to enter a domain name, same goes for all the tutorials. Well, I do not have a domain name? I just want to test it locally, so how do I proceed?
I thought I could just let it be mail.example.com but when I run telnet mail.example.com 25 it responds with telnet: could not resolve mail.example.com/25: Name or service not known So yeah, that's that. Any hints/tips/ideas/solutions are appreciated. Edit to clarify: I setup postfix following this guide and stopped after the basic configuration, since I just need the most basic setup for this.
To wrap it up: One app needs an SMTP to send mails from. I want to test this locally, so just on my machine/my local network. Therfore, no DNS (since there is no domain to look for), no Firewall bypassing etc. Is there any simple way to do this?
Update. This is what I have done so far:
curl https://install.sandstorm.io | bash
- install postfix with
apt-get install postfix
- reconfigure postfix by
sudo dpkg-reconfigure postfixadd exampleDomain.org as domain
- change the
sandstorm.conf: BASE_URL=http://localhost and WILDCARD_HOST=*.localhost and remove HTTPS_PORT
What to enter now in step 3) of setting up the E-Mail so that I actually receive the test-mail?