Trying to get DNN4.3.4 setup for SMTP but can’t seem to get it to send emails from the Jodohost hosted site. Works fine on our local test server. What should be used for the SMTOP setting?
Are you using authentication? The location of the button to save the configuration is quite confusing, I had to assist another user with this once, but I think you know DNN well enough to know where it is ![]()
Are you getting an error when trying to send, if so, what error?
I’ve set it up fine many a time, works fine for local server and other DSNN sites on Jodohost when left blank but for this one 4.3.4 install for this one domain it doesn’t seem to be working. Have the smtp set to be mail.mydomain.com and anonymous.
ok anonymous wont work if pointing to mail.domain.com, it needs to have a valid email address and password, as it is getting a “Unable to relay” error.
I would recommend making an email address for this purpose that discards all incoming mail.
Ok I’ll try that. The test message works but not the auto email from when creating the user accounts. Odd.
Still doesn’t work. The admin address gets all the emails fine but not the users.
If you can send me a PM with the url, and if you don’t mind, the host login, I’ll be glad to check it for you, I need it pretty quick, have only slept a wink or two (as you can probably see from my forum posts here last night and this morning)
I made a test user with the same domain email address and it receives the user level emaisl fine, however if the user email address is not the same as the domain it is not received. Is there possibly an issue with the mai lserver blocking emails?
domain is qsstudios.ca
I Can send email fine to other users from the webmail itself, only from the webserver do external emaisl seem to not go through, only those to the same domain.
[QUOTE=Stephen]
If you can send me a PM with the url, and if you don’t mind, the host login, I’ll be glad to check it for you, I need it pretty quick, have only slept a wink or two (as you can probably see from my forum posts here last night and this morning)
[/QUOTE]
Stephen see my last message, it works fine if the user email is same as domain but if its another one that is beign sent to then it isn’t working. Never had this issue before, looks like email server is not sendign external emails or something.
I am being forgetful right now, does DNN have an option there to have SMTP username, AND a FROM: address? With mail5 they have to match, we enabled a new anti-spam measure to make sure smtpauth login and from address match on mail5, we had one other user that had a minor issue with this.
The from address is based on the admin account user address I believe. As I said I can send to any email that is the same as the domain but any external email doesn’t work. For my opther DNN sites it all works fine even with the smtp left blank so I assume it is something on this newer server.
Currently I do have the admin account email set to a valid email address anyway and still no go.
Think I Managed to get it with setting the SMTP email address/user to that of the admin account, as you say it seems they must match now.
This could be an issue with DNN as if you host multipel sites under one install there will be cases where the host SMTP will not match the domain and user of a child site admin. This will be a major issue with this current setup, any chance of changing it otherwise you may want to warn DNN users.
PS - This will also probably cause issues with other modules as well, as they may use their own from address, that differs from the smtp one.
This needs to be reviewed ASAP.
schooner, it is for preventing spam and blacklistings, it forces the user to have a matching name. We are working on a workaround by making localhost on the windows servers go via a special server with rDNS and anti-spam logging(so we can catch spammers and stop them). (smarthost is the technical name for those that know windows IIS/SMTP/Exchange)
This will have many benefits:
- rDNS means more mail gets to more servers.
- spammers get stopped in their tracks
- mail delievery happens from a controlled IP address, where currently windows smtp just picks IPs out of the air, and this can cause some issues as well
- better mail delivery makes everyone happy!
Ok thanks I’ll try and work around this but I can see this being a major issue. It will break anything that allows emails to be sent from a website that doesn’t use a single from email address. I can seen this impacting far more than DNN as well as it is very common to do. ![]()
I can appreciate the spam issues but this is a problem.
That is why we will implement the improved localhost/smarthost as I mentioned before, it will not be an issue then.
[QUOTE=Stephen]
That is why we will implement the improved localhost/smarthost as I mentioned before, it will not be an issue then.
[/QUOTE]
Any timeline on when? We have a production site on there now goign live any day. That is what I was testing today and noticed none of the emails worked. I can try and work around it for the short term as is now but need to knwo when it may be corrected.
Tanmaya is working on the other portion, it will be ready in done hopefully in the next 24 hours, but for sure within 48.
Just for an update, we have the new system up and running on win17 and win18, we will be testing it here for the next 48 hours before making an decision to put on other servers.