mamu
mamu

Reputation: 12414

Need help setup windows server 2008 SMTP server

I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong.

Below is the setup:

With above setup i am trying to redirect all email to gmail smtp. I tested connection to smtp.gmail.com from server on port 587 through telnet and it works.

I am trying to use above server from my web application also by just dropping emails in pickup directory. It get's picked up and also accepts request form web application but never sends an email.

I can see that it adds those emails in queue folder but it stays there forever.

When i try to send emails from web app to above server it rejects if To address is other than my domain.(Am i missing something in list of domains)

Upvotes: 2

Views: 30032

Answers (4)

dave wanta
dave wanta

Reputation: 7214

This souds like a DNS issue. Check your /badmail directory. It will have .bad and .bdp files in there. You can open these in notepad (there will be some binary in there).

However, it may point to the possible problem.

You may also want to try and enable logging on the SMTP service. There may be something in there.

Upvotes: 1

mamu
mamu

Reputation: 12414

Thanks for all answers, finally found solution there is a property for maximum sessions which value was 0 by default. Changed it to 100 and it send all pending emails immediately.

Upvotes: 4

TFD
TFD

Reputation: 24534

Ensure your sending domain is the same as the google apps domain

Ensure your sending address is a real address and not just an alias

IIRC you need to use STARTTLS (SSL) not basic authentication

Upvotes: 1

Prabhu R
Prabhu R

Reputation: 14222

Possible reasons are that some SMTP servers block the outgoing messages if there domain name mismatch, possible to prevent spam mails from being sent. So for example, I will not be able to send my email with an address [email protected] from my domain yourdomain.com.

Hope that helps.

Upvotes: 1

Related Questions