Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed postfix on my ubuntu vps. The server is hosting

I set the MX records for to use google apps for email: ASPMX.L.GOOGLE.COM ...

I am using php's mail() function, and emails are working. Google apps has a 500 email / day limit. Am I using this limit? I'm not sure what postfix is doing exactly.


share|improve this question
up vote 1 down vote accepted

You can check your own /var/log/ logs to get a count of how many messages your vps has sent.

Your lack of information, however, suggests that postfix is delivering the message itself, independent of Google's servers. IIRC, Google will only permit relaying if you use a username + password to connect to their outbound SMTP server. Unless you tweaked postfix to use google as a smarthost, with ssl, with your username and password, your vps is probably handling delivery all by it self. (which means no daily limit applies)

share|improve this answer
Thanks, I just tested and sent out 600 emails! You were right. – moolagain May 31 '10 at 13:22

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.