Stopped receiving emails

9 views
Skip to first unread message

Adam Cigánek

unread,
Aug 4, 2009, 5:32:58 AM8/4/09
to Cerberus
Hi there,

One day Cerberus suddenly stopped sending emails. It seems the builds
are still taking place, just no notification is sent. I found this in
the ~/.cerberus/errors.log file:

Fri, 31 Jul 2009 12:10:19 [system] -- Net::SMTPFatalError
555 5.5.2 Syntax error. e17sm749629fke.48
/usr/lib/ruby/1.8/net/smtp.rb:930:in `check_response'
/usr/lib/ruby/1.8/net/smtp.rb:899:in `getok'
/usr/lib/ruby/1.8/net/smtp.rb:828:in `mailfrom'
/usr/lib/ruby/1.8/net/smtp.rb:653:in `sendmail'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.3/lib/action_mailer/
base.rb:683:in `perform_delivery_smtp'
/usr/lib/ruby/1.8/net/smtp.rb:526:in `start'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.3/lib/action_mailer/
base.rb:681:in `perform_delivery_smtp'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.3/lib/action_mailer/
base.rb:523:in `__send__'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.3/lib/action_mailer/
base.rb:523:in `deliver!'
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.3/lib/action_mailer/
base.rb:395:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/publisher/
mail.rb:16:in `publish'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
138:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
132:in `each'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
132:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/latch.rb:
21:in `lock'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
112:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
198:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
198:in `initialize'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
198:in `new'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
198:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
193:in `each'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/manager.rb:
193:in `run'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/lib/cerberus/cli.rb:
31:in `initialize'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/bin/cerberus:5:in `new'
/usr/lib/ruby/gems/1.8/gems/cerberus-0.6/bin/cerberus:5
/usr/bin/cerberus:19:in `load'
/usr/bin/cerberus:19

I don't know what caused this. It probably started after some gem
update, but not sure. Anyone has any clue?

Craig Jolicoeur

unread,
Aug 4, 2009, 9:39:48 AM8/4/09
to cerbe...@googlegroups.com
Interesting.

I wonder if its an issue with the new 2.3.3 version of ActionMailer.
I'm only running 2.3.2 here on my dev machine and haven't tested with
2.3.3 yet.

Can you do a few things? First remove the 2.3.3 version and try with
the 2.3.2 version and see if that "fixes" it. If so I know that is
the issue and can get a fix in. If not, can you tell me what version
of the cerberus gem you are running.

Also, could you copy and paste your config.yml file and your
project.yml config files. (Blank out the passwords of course).

Thanks

- Craig

Adam Cigánek

unread,
Aug 4, 2009, 10:14:24 AM8/4/09
to Cerberus
Hey, thanks for a quick answer! I uninstalled actionmailer 2.3.3, but
I'm still getting no emails. However, it could be because the build
was successful, and the previous one also. Is there a way how to force
the message sending, even if the build is successful?

On Aug 4, 3:39 pm, Craig Jolicoeur <cpjolico...@gmail.com> wrote:
> Interesting.
>
> I wonder if its an issue with the new 2.3.3 version of ActionMailer.
> I'm only running 2.3.2 here on my dev machine and haven't tested with
> 2.3.3 yet.
>
> Can you do a few things?  First remove the 2.3.3 version and try with
> the 2.3.2 version and see if that "fixes" it.  If so I know that is
> the issue and can get a fix in.  If not,  can you tell me what version
> of the cerberus gem you are running.
>
> Also, could you copy and paste your config.yml file and your
> project.yml config files.  (Blank out the passwords of course).
>
> Thanks
>
> - Craig
>

Craig Jolicoeur

unread,
Aug 4, 2009, 10:16:50 AM8/4/09
to cerbe...@googlegroups.com
Yes,

just pass the "--force" option to the build command

cerberus buildall --force

Adam Cigánek

unread,
Aug 4, 2009, 11:20:03 AM8/4/09
to Cerberus
Hi,

The --force option does not work. It causes the rebuild, but if it is
successful (and the previous one was also successful), the message is
still not send. However, I created a deliberate test failure and run
the build and then the message was finally delivered! So you were
right, the problem is with the new actionmailer.

By the way, I'm using cerberus 0.6, which I believe is the latest.

Thanks for your help!

On Aug 4, 4:16 pm, Craig Jolicoeur <cpjolico...@gmail.com> wrote:
> Yes,
>
> just pass the "--force" option to the build command
>
> cerberus buildall --force
>

Craig Jolicoeur

unread,
Aug 4, 2009, 11:21:53 AM8/4/09
to cerbe...@googlegroups.com
Ok, sounds good.

I'll look into the issue with the new version of actionmailer.

Thanks for the help with this and sorry for the problems you had.

- Craig

Craig Jolicoeur

unread,
Aug 4, 2009, 12:27:05 PM8/4/09
to cerbe...@googlegroups.com
Adam,

I think I know what the problem is with the new actionmailer library
but I just want to confirm.

Can you send me your cerberus config settings for the mail publisher
(again, I dont need your password). I just want to see exactly what
your config options look like to verify that I have found the problem.

Thanks

- Craig

Adam Cigánek

unread,
Aug 4, 2009, 12:48:04 PM8/4/09
to Cerberus
Hey Craig,

Sure, this is my ~/.cerberus/config.yml

publisher:
active: mail
mail:
address: smtp.gmail.com
port: 587
domain: 3scale.net
authentication: plain
user_name: ****
password: ****

And this is the project config:

publisher:
mail:
recipients: [****, ****, ****]
scm:
url: g...@github.com:3scale/system.git
type: git
builder:
type: rake
rake:
task: integrate

Hope it helps.


On Aug 4, 6:27 pm, Craig Jolicoeur <cpjolico...@gmail.com> wrote:
> Adam,
>
> I think I know what the problem is with the new actionmailer library
> but I just want to confirm.
>
> Can you send me your cerberus config settings for the mail publisher
> (again, I dont need your password).  I just want to see exactly what
> your config options look like to verify that I have found the problem.
>
> Thanks
>
> - Craig
>

Craig Jolicoeur

unread,
Aug 4, 2009, 1:22:59 PM8/4/09
to cerbe...@googlegroups.com
Adam,

Your recipients array is really what I"m most interested in.

Which format are your entries in?

[ "User 1 <us...@foo.com>", "User 2 <us...@foo.com>" ]

or

[ "us...@foo.com", "us...@foo.com" ]

- Craig

Adam Cigánek

unread,
Aug 4, 2009, 2:15:42 PM8/4/09
to cerbe...@googlegroups.com
Ah, sorry :)

It's just email addresses:

["us...@foo.com", "us...@foo.com", ... ]



2009/8/4 Craig Jolicoeur <cpjol...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages