I am using mailgun and outbound notifications seem to be working without a problem.

Responses to these emails, as well as new emails show up in mailgun as routed, received, and posted, but I'm not seeing the emails / posts anywhere on the Drupal site.

Is there some way to track down where these emails are ending up and why they aren't ending up in the appropriate OG?

Thanks. Really looking forward to when everything is working for me....

Comments

jsibley’s picture

Also, there is something called the "message validation string" under admin/og/og_mailinglist.

Is this something I need to worry about? Is it supposed to be used anywhere else?

Thanks.

jsibley’s picture

With mailgun, am I supposed to be setting up site_info.php? If so, is this documented anywhere?

Thanks.

kyle_mathews’s picture

Status: Active » Postponed (maintainer needs more info)

site_info.php and the "message validation string" aren't needed for setting up things using Mailgun.

I don't have enough information to know why things aren't working for you. The only thing I can suggest is you double-check that you've done everything in the README.txt file - http://drupalcode.org/project/og_mailinglist.git/blob/refs/heads/6.x-1.x...

jsibley’s picture

Great, so I know it's not the message validation string that is the problem.

Here is an extract from the log in mailgun

05/11/12 06:32 PM Posted: js@jonathansibley.nethttp://www.nnj-therapists.com/og_mailinglist/mailgun_callback_mime 'Simple inbound test'
05/11/12 06:32 PM Received: js@jonathansibley.nettest_playground@nnjtherapists.mailgun.org 'Simple inbound test'
05/11/12 06:32 PM Routed: js@jonathansibley.nettest_playground@nnjtherapists.mailgun.org 'Simple inbound test' Route match: og mailinglist(0): catch_all()

Do you see an error in this? I don't see anything in my watchdog table - either an error or a notice that content was added. I've checked my api and login information and have even tried creating a new domain in mailgun.

Is there anything else I could look at to troubleshoot this? Outbound is working fine, but responses and new emails to an OG group are still not working. Thanks.

jsibley’s picture

Still no luck with inbound emails. It looks like mailgun thinks it has sent the information to Drupal, but it never gets to my Drupal site. I am writing to a log using flog and nothing seems to be getting written to the log from og_mailinglist_mailgun_new_email() via mailgun.

If I type in a URL like og_mailinglist/mailgun_callback_mime 'test', I get an access denied error.

I'll keep trying, but what else should I look at? might there be a security problem? I am on shared server. Is there something I should check with my ISP?

jsibley’s picture

Title: Inbound email with mailgun not showing up in organic groups » Inbound email with mailgun not showing up in organic groups - solved
Status: Postponed (maintainer needs more info) » Fixed

This probably should have been obvious, but I believe that there has to be anonymous access to the og_mailinglist page.

I am using Commons with forced login for most of the website. So, I had to add og_mailinglist to the allowed paths.

Now, it seems to be working.

kyle_mathews’s picture

Great! Glad to hear you figured out the problem. I'll add a note about this to the INSTALL.txt file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hash6’s picture

Issue summary: View changes

I am facing the same issue mentioned above

This probably should have been obvious, but I believe that there has to be anonymous access to the og_mailinglist page.

I am using Commons with forced login for most of the website. So, I had to add og_mailinglist to the allowed paths.

Now, it seems to be working.

I found out that to create a new content when a reply is sent to group email address (from mailgun) you need to have anonymous access to the og_mailinglist page as mentioned above.
@jsibley How did you provide an anonymous access to the og_mailinglist