Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I basically want to have two separate email servers. The first one is the GoogleApps GMail service, which is for humans to use. The second server would be for sending messages from my application (so, send them programatically).

Do I even need to reference second mail server (on the same IP as my application) in MX-records (or wherever this would have to be referenced)? I wouldn't like the emails to get flagged spam or as "suspicious."

On a side note, I might use this mail server to process some "special" types of messages (like all messages sent to support@example.com). I found a related question for this, but I am not sure it is what I am looking for.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Your application can send mail directly from its application server, provided you take some steps to ensure that your outbound mail doesn't get flagged as spam. This includes setting reverse PTR (DNS) records for the sending server's IP address. Possibly some manipulation of headers and maybe an SPF record...

Another option is to relay your application's mail through Gmail (not worth it) or through another trusted Smart Host.

Also take a look at: Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.