...which I suppose just ensures that postfix is installed.
Now, as of right now I don't have ActionMailer explicitly configured in production.rb (or environment.rb for that matter) -- and emails *were* going out. Now they're not. /var/log/mail.log tells me this:
Nov 18 02:38:28 app1 postfix/smtp[18833]: B1B7CC00AD: to=<
josh.m...@gmail.com>, relay=alt1.
gmail-
smtp-in.l.google.com[209.85.221.86]:25, delay=3284, delays=3222/0.02/30/32, dsn=4.7.0, status=deferred (host alt1.
gmail-
smtp-in.l.google.com[209.85.221.86] said: 421-4.7.0 [174.143.240.136] Our system has detected an unusual amount of 421-4.7.0 unsolicited mail originating from your IP address. To protect our 421-4.7.0 users from spam, mail sent from your IP address has been temporarily 421-4.7.0 blocked. Please visit
http://www.google.com/mail/help/bulk_mail.html 421 4.7.0 to review our Bulk Email Senders Guidelines. 26si13611183qyk.106 (in reply to end of DATA command))
I get that it's saying I'm getting throttled all of a sudden. Fine, whatever -- what's more important is why is it running through gmail's SMTP servers to begin with? I haven't defined/configured anything related to gmail smtp servers except in config/environments/development.rb. greping my app for 'smtp', 'google', 'gmail' confirms this.
I'm certain I don't fully understand the relation between postfix/smtp. Is postfix a smtp server? Does postfix need an smtp server to send stuff to?
I realize this is kind of off-topic, but my server hasn't been modified except by moonshine, and especially not since this problem started happening. Any help you guys can provide would be appreciated! Thanks!
As an aside: Is there a doc out there that explains how to properly configure Moonshine/ActionMailer/postfix/anything_else in order to send emails out from a moonshine-deployed server?