Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

smtp issue #2

Closed
alekm opened this issue Jul 21, 2009 · 2 comments
Closed

smtp issue #2

alekm opened this issue Jul 21, 2009 · 2 comments

Comments

@alekm
Copy link

alekm commented Jul 21, 2009

Not sure if i'm missing something. In email.yml, I've tried "authentication: none" and "authentication: plain". My smtp server does not require any authentication, it doesn't relay non-local addresses.

with ":authentication: plain" set:

/usr/src/Snorby/script/runner -e production "Event.run_daily_report"

output:
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48: /usr/lib/ruby/1.8/net/smtp.rb:577:in auth_plain': 504 5.7.4 Unrecognized authentication type. (Net::SMTPAuthenticationError) from /usr/lib/ruby/1.8/net/smtp.rb:571:insend'
from /usr/lib/ruby/1.8/net/smtp.rb:571:in authenticate' from /usr/lib/ruby/gems/1.8/gems/ambethia-smtp-tls-1.1.2/lib/smtp-tls.rb:32:indo_start'
from /usr/lib/ruby/1.8/net/smtp.rb:378:in start' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:681:inperform_delivery_smtp'
from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:523:in __send__' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:523:indeliver!'
from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:395:in method_missing' from /usr/src/Snorby/app/models/event.rb:37:inrun_daily_report'
from (eval):1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in eval' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/src/Snorby/script/runner:3

with "authentication: none"

/usr/src/Snorby/script/runner -e production "Event.run_daily_report"

output:
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48: /usr/lib/ruby/1.8/net/smtp.rb:566:in check_auth_args': wrong auth type none (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/ambethia-smtp-tls-1.1.2/lib/smtp-tls.rb:12:indo_start'
from /usr/lib/ruby/1.8/net/smtp.rb:378:in start' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:681:inperform_delivery_smtp'
from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:523:in __send__' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:523:indeliver!'
from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/base.rb:395:in method_missing' from /usr/src/Snorby/app/models/event.rb:37:inrun_daily_report'
from (eval):1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in eval' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/src/Snorby/script/runner:3

@djcas9
Copy link
Owner

djcas9 commented Jul 21, 2009

just remove the authentication line. Make sure you have

:domain: something

@alekm
Copy link
Author

alekm commented Jul 21, 2009

worked beautifully. thanks.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants