-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-Hosted Walkthrough #77
Comments
:-( I didn't look into the details, but I had assumed self hosting was mostly plug and play assuming you had mail server routing set up and all the other dependencies installed/configured. It seems otherwise from your post. |
Verizon doesn't give me back any information. I've been good and specified my carrier 9/10 times. I let one or two go without the carrier flag and got responses via MailerDaemon stating they wouldn't take my mail without such and such record. I've been setting them up as best I can and those messages stopped. Verizon doesn't say what it is that they want. But it would seem self hosting will work best if you have a trusted mail server setup and all the right records in place. Someone is bound to have it working right. This would help take the burden off textbelt.com as well. Share the load. |
It appears that even the official hosted text belt is having issues sending to Verizon. I'm thinking that adding remote email server connections would help (send from gmail or other very trusted email server) |
Remote email server as in a legit official/trusted one you have direct access to? Otherwise, if I'm not mistaken, a remote email server connection means you need a user account to authenticate with, although for Gmail they offer an unauthenticated option (but only for recipient destinations within gmail.com or a Google Apps domain) That would still be fine for self hosting (one that isn't exposed publicly). May not help much for a public service including the officially hosted one. High usage and spammers may just end up blacklisting the trusted mail server and email account used to authenticate the server. |
@daluu In theory you could also use a service like send grid to handle the sending of the emails. |
@daluu maybe you can help me. |
@warren8r sorry I don't have any writeup nor have I tried self hosting myself. So I myself would say +1 to this issue. Hopefully @typpo or someone else will write up the walkthrough. As for GMail, the info is available online if you search for how to send emails with GMail (SMTP), you then just use the connection details with your preferred mail client. I haven't looked at the textbelt codebase, but what you could do here is, swap out the code/config that sends the mail (via mutt, sendmail, or pointed to localhost for SMTP) and set it to use the GMail settings/server (to which you would have to add your account info for authentication). This would be a direct SMTP send, so simpler (to understand) than routing through something like mutt, and sendmail if you're accustomed to email "clients" rather than servers. Mutt worked for me on OS X with a default install via brew, but it was weird as it left a local copy in my Mac terminal inbox (not the Mac Mail app) while sending out the email to the destination (which was a Google apps domain, but that got flagged into Spam folder), though I wasn't using mutt for textbelt but rather stuff at work. I'd say the missing walkthrough should cover (the basic) mail (server) setup for those not familiar with mail setup, (especially in a *nix environment). |
Thank you, @daluu! |
Here is a pointer to the mutt endpoint in the textbelt code, for posterity: https://github.com/typpo/textbelt/blob/master/lib/text.js#L67 Thanks @warren8r for sticking with it :) |
Just a thought I had recently with the work required to set up textbelt for self hosting: if we have this writeup done (or even if not, though that would be more work to figure things out), I (or anyone) can look into building a docker image of textbelt. Then one would have an option of simply deploying an almost fully configured textbelt server - the only customization one would need to do would the the little things like sender email address, etc. or specific customizations (nginx, domains, mail routing) if needed. It would be intended to work out of the box with little configuration. |
Great idea, @daluu ! |
FYI, I took a stab at the docker image, haven't gotten it fully working. See #88. In a way, the docker image specification is partly a self hosting walkthrough as it contains steps to install textbelt and dependencies from scratch and configure things on an Ubuntu based system. I could certainly use help in flushing out any missed or improper config steps in the docker image spec. |
I will help! Matt
|
I came across these recently, if they're of any help: lowendbox.com/blog/how-to-send-sms-messages-from-your-vps-using-textbelt |
I ended up buying a piece of software called NowSMS. A junk android phone and an unlimited texting only plan from a MVNO (cricket).
A PC hosts a web app which supports many different API calls. There is an app on the android phone that takes over the built in text client. API Calls come in and get routed to the phone for sending via SMS/MMS. No need to worry about gateways as it works just like a regular phone.
Unfortunately it’s not open source or free but it solved the problem. My client wasn’t afraid to spend some money to make it work. Probably not a great solution for a self-hosted DIYer solution. It’s a little bit pricey to get started.
|
This got me going…https://lowendbox.com/blog/how-to-send-sms-messages-from-your-vps-using-textbelt/ It works but I get errors back in response from all these other messaging gateways. [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] |
@namomitk I know this is an old thread; I chanced on it while researching sms api's. Any chance you're still around and available to discuss? |
I'm working on a self hosted server. I'm able to send to Sprint and AT&T right now. I was able to send to Verizon for awhile, but I think they might have greylisted me for a bit.
Trying to get all the nice proper mail server records setup right. But, I'm struggling as I'm a little out of my comfort zone here.
I think I've got, MX and PTR/rDNS right. I might have the SPF record right, but it needs a bit of time since I just set it. Not exactly sure if I can get DKIM setup properly without some pointers.
Has anyone self-hosted successfully? Would you be willing to write-up a quick guide on the Wiki of this repo?
The text was updated successfully, but these errors were encountered: