email delivery over external server

36 views
Skip to first unread message

Markus Pfaffinger

unread,
May 16, 2013, 3:13:08 AM5/16/13
to jobs...@googlegroups.com
Hello,

I just set up an new jobsworth installation (v3.1) and now ran into the problem, that the app don't send emails over the configured smtp server (config/environment.local.rb). The emails are always send over the local installed sendmail instance. I also tried to add the action_mailer config to config/environments/production.rb and set the delivery_method to :smtp, but nothing fixed the issue.

Thanks in advance for your support and suggestions.

Greets Markus

Vikrant Chaudhary

unread,
May 16, 2013, 3:18:22 AM5/16/13
to jobs...@googlegroups.com
Are you sure you are using the 3.1 version? In master branch,
environment.local.rb is deprecated and replaced with application.yml.

On 16 May 2013 12:43, Markus Pfaffinger
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jobsworth" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jobsworth+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Markus Pfaffinger

unread,
May 16, 2013, 3:42:38 AM5/16/13
to jobs...@googlegroups.com
I cloned the repo and checked out a new branch from the v3.1 tag, so I am quite sure to use this version. The README.rdoc also says to configure the Mailer through environment.local.rb.

Markus Pfaffinger

unread,
May 16, 2013, 3:59:33 AM5/16/13
to jobs...@googlegroups.com
I now tried to use the gmail server and this one is used correctly. Are the settings for address, port and domain enough or are there some more needed. I use an internal mail server which accept all messages for the local domains.

Vikrant Chaudhary

unread,
May 16, 2013, 4:09:56 AM5/16/13
to jobs...@googlegroups.com

Markus Pfaffinger

unread,
May 16, 2013, 4:18:38 AM5/16/13
to jobs...@googlegroups.com
I fixed the issue...I just added the enable_starttls_auto line and set the delivery_method to smtp and now it works.

Thanks for your support.
Reply all
Reply to author
Forward
0 new messages