# Please help: ar\_sendmail not sending emails

**URL:** <https://www.ruby-forum.com/t/please-help-ar-sendmail-not-sending-emails/148082>\
**Category:** Rails\
**Created:** [September 9, 2008, 2:15am UTC](https://www.ruby-forum.com/t/please-help-ar-sendmail-not-sending-emails/148082 "2008-09-09T02:15:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [September 9, 2008, 2:15am UTC](https://www.ruby-forum.com/t/please-help-ar-sendmail-not-sending-emails/148082/1 "2008-09-09T02:15:50Z")

</div>

Hello! I’m using ar\_mailer 1.3.1. I had everything working in my  
last hosting environment, ar\_sendmail would run and send the messages  
out of the emails table. I just changed servers and on the new server  
ar\_sendmail is not working. It runs, and says there are messages in  
the queue, but it does not send these messages.

[]$ ar\_sendmail -o -v  
expired 0 emails from the queue  
found 52 emails to send

None of the 52 messages are sent. I can send mail from the command  
line of this server via SMTP, mail command. Our local MTA is postfix,  
its not the firewall, as outbound SMTP traffic works just fine. What  
else could it be??

Here’s my environment file:

HOST = ‘[http://domain.com](http://domain.com)’  
require ‘action\_mailer/ar\_mailer’  
ActionMailer::Base.delivery\_method = :activerecord  
ActionMailer::Base.perform\_deliveries = true  
ActionMailer::Base.raise\_delivery\_errors = true  
ActionMailer::Base.default\_charset = “utf-8”

Any help or ideas would be HUGELY appreciated!!!

Thanks!  
LAB

---

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [September 9, 2008, 2:32am UTC](https://www.ruby-forum.com/t/please-help-ar-sendmail-not-sending-emails/148082/2 "2008-09-09T02:32:48Z")

</div>

Found it!! It was iptables on the local machine. Hope this helps  
someone else!!

LAB
