Site icon Osclass Documentation & Knowledge Base

Setting up a mail server

With Osclass you could configure your email server. Some shared hosting has limited mail servers, you should always check with your hosting company about it before. If you own your own dedicated server you probably know how to set up one, if not, you should perform some searches on the internet (on a linux machine it’s enough to install postfix and courier packages).


Configuring Osclass to use your mail server is very easy, we also offer a pre-filled configuration to use with Google mail servers, you should notice Google offers a limited service and your emails could get marked as spam.

Want to see it in action? Check out our video tutorial on How to set up your mail server.

Mail server settings are located on Mail server option, under General Settings

Custom mail server

Google mail server

You need a Google Mail account, assume yours’ john.doe@gmail.com

Note: In some hostings option “SMTP Authentication” may not work (depends if hosting supports that), make sure to try with & without this setting.

Troubleshooting – common problems

I’m not receiving any emails – Check your configuration on the Osclass admin panel. Maybe you have misspelled some detail. If everything looks correct, then check your mail server is working properly. Contact you hosting company or check the mail server’s log to know what is happening.

It was working correctly but suddenly it stopped and I don’t receive anything – Your mail server has stopped for some reason or you’re getting your emails marked as spam. Check your mail server is running and revise its log. If they are being marked as spam, you probably have sent too many emails in a very short time interval.

I have other problems not listed here Feel free to contact us on our support forums. We will be glad to help you. When posting your question, please, give us as much information as you can, so we could offer you a solution soon.

Admin email & Site contact email use different domain then mail server – This is common issue when migrating site from old domain to new domain and forgetting to update site contact email and admin contact email. We’ve noticed that if these use different domain, in many cases mail server will not send any emails, as “from” email address domain is different.

Example: You run Osclass on domain1.com and decide to move site to domain2.net. Everything is moved, but contact email stays on info@domain1.com and admin use email admin@domain1.com. Mail server configuration was updated to use domain2.net SMTP and will try to send mail with “from mail” as info@domain1.com. This will fail as it looks like spam attempt