I have yet to get mail2og to work for any user but user 1/site admin. I just retrieved the latest version from CVS (I think - via the "CVS Instructions" tab) and here is what is happening. I've tried alot of stuff but it's not working for me.

1) I have set up mail2og as per readme.txt, and set up a mailbox in mailhandler called eg mail2og@foo.com.

2) I've created a test group and saved it without editing the mail2og CCK field, and get the "Automatically generated a email address: test_group_for_tobias@foo.com for this group." notification.

3) I've turned on the mail2og block, and weirdly it displays this text, minus the domain: "You can post to this group by sending an email to test_group_for_tobias@" - this may not be related to this problem.

4) I send a message to group_name@foo.com from user 1/site admin and click "retrieve" in mailhandler. The message is received and posted correctly - yay!

5) I send a message to group_name@foo.com from a different user with "send to group" permissions - and actually the owner of the group in question - and click "retrieve" in mailhandler. I get the "1 message retrieved for mail2og@foo.com." notification, but no encouraging notifications about blog posts being created etc. Sure enough, when I go into the group there is no new post. No error sent back to me by email. In the log it says "User Tobias Eigen did not have sufficient permissions to create blog content".

Any hints on where to look next?

Thanks,

Tobias

Comments

tobias’s picture

Hi Arthur - any thoughts on this? It's the weekend again and I'm eager to help troubleshoot this module.

Thanks!

Tobias

xurizaemon’s picture

Does the user associated with the email address you sent from in (5) have the permission to create blog posts?

That user should need to have permissions both for (1) creating the content type in question (2) creating nodes in the OG group in question.

You may find that the second restriction there is not in effect unless you have resolved #559524: Making Mailhandler reject post to OG if author is a not member of OG somehow on your site.

tobias’s picture

Hi Xurizaemon - thanks for the reply. Yes, the person sending the email to the group does have permission for creating the content type and creating nodes in the OG group. But can't

Or rather I should say couldn't, because I have uninstalled this module because it doesn't work yet - it is also interfering it seems with mail2web and the email address info displayed in the block is incomplete. http://drupal.org/node/587688

I'm not sure I need your og_mailhandler module, since mail2web is already working properly on my site and has been working properly for many months.

Cheers,

Tobias

chrowe’s picture

Status: Fixed » Reviewed & tested by the community

Post via email permissions:

  1. Mail2og has it's its own set of permission on admin/user/permissions
  2. Under "mail2og module" you have to make sure all user roles that should be able to post via email are checked in the "send to group" column.
  3. I have tested this and it works on our site running Drupal 6.13, Mailhandler 6.x-1.8, 6.x-1.0-alpha2, and Mail to Web 6.x-1.0-beta2

Other Issues:

  1. I will start a new ticket for (3) #612040: domain missing from mail2og block.
  2. The Mail2Web issue already has a ticket #587688: mail2og seems to interfere with mailcomment (formally mail2web)
chrowe’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha2
Status: Active » Fixed
tobias’s picture

Status: Reviewed & tested by the community » Fixed

Great! Glad to have someone else paying attention to this module, which I am eager to get working.

I am using Drupal 6.14, Mailhandler 6.x-1.8, Mail to Web 6.x-1.0-beta2, MailSave 6.x-1.3, Mail2og 6.x-1.x-dev (from CVS).

I will try to turn everything on and work with you to get to the bottom of the issues.

-T

tobias’s picture

I'm glad to see you are able to do it - what might be different about our setup? I was using Drupal 6.13 when we first started, but upgraded since then. Otherwise it seems out setup is the same.

I'm back again at the point I was when I submitted this ticket - getting all the same behavior I was getting when I first submitted it.

Only user 1 is able to post successfully to the email address for a group. All others silently fail - no bounce message, no notification on mailhandler except "1 message retrieved for foo@bar.", nothing in the log.

I have turned on permissions for all relevant roles in admin/user/permissions and have tried adding admin permissions for another user - no luck. Still only user 1 is able to post.

(Thanks for adding the ticket re #3 block)

Cheers,

Tobias

Status: Fixed » Closed (fixed)

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