Hello! I'm having some difficulties with the mailhandler module. I don't know if this is the appropriate place to post my problem or not. If it isn't, could somebody please point me in the right direction?

Sometimes the mailhandler module works fine and passes the messages to the listhandler which then posts them in the appropriate place. However, sometimes it errors out and does not post the message. The user that submitted the email is sent back an automated email, and an error message is posted to the administrative messages queue. The message says "The e-mail address 'abc@xyz.com' may not create blog items."

Anyone have any ideas what might be causing this?

Thanks!

Comments

killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org

1) I think it is ok to use "support request" for support requests...
2) I am surprised that listhandler works with 4.3 did you make any changes?
3) I think that one of the following scenarios do happen:
a) the user does not get correctly identified. He might have been using an email address that is unknown to Drupal. You may want to use mailalias.module
b) You did not set the correct permissions for that user's role. "maintain personal blog" is the one you are looking for.

Please close the issue if one of my gueeses was right.

jessman1128’s picture

It's been some time now since I set this up, so I honestly don't remember definitely if I had to make changes to listhandler or not. I remember I originally had some difficulties getting listhandler and mailhandler to work together, but that was with mailhandler 4.2.0 (mailhandler 4.3.0 wasn't yet available when I first setup my site). I think once mailhandler 4.3.0 became available most of my problems cleared up on their own. I'm fairly certain that I did not make any modifications to listhandler.

-The user is getting correctly identified. I had checked this before, but I just double-checked and confirmed it.
-The user does not have blog permissions, and is not supposed to. The blog module is disabled on my site.

I should have been a little clearer in my original post. The problem I'm trying to figure out isn't why it can't create blog items. I'm assuming that it can't create them because I have blogs disabled. What I'm trying to figure out is why it is even attempting to create a blog item. All it is supposed to do is post the message to one of my forums - nothing else. I'm confused as to why blogs are even entering the picture at all.

I just spent some time going through the listhandler module code trying to find something in there that would give me any clues. I noticed in the messages section of my site that listhandler is searching for a parent message sometimes. When the blog error occurs it appears to be a result of listhandler finding a parent message, although I cannot tell for certain if the error occurs every time it finds a parent. I'm not interested in parent items for these forums, so I just commented out the line that causes listhandler to search for a parent item. I'll give this a shot and see how it goes. Hopefully it will prevent it from reaching the point where it throws the blog error, without causing any other problems.

I'll post again as soon as I have more info.

Thanks for your help!

killes@www.drop.org’s picture

As I said: I don't think listhandler works with 4.3. It should also not be needed if you only want to post topics and no comments. Try switching it off.

killes@www.drop.org’s picture

No more response.

cyberchucktx’s picture

I have the same problem.

I am using CIVICSPACE 0.81 on Drupal 4.6 (the SVN of everything).

If I could get around this particular problem I could implement my addition of having an "anonymous author" for forum postings.

Basiclaly I have a moderated MailMan list and do not want to have all the Mailman subscribers be users on my Civicspace/DRUPAL CMS. But I DO want users on the MailMan list to be able to post via EMAIL so I can use CS / Drupal as my archiver for mail lists.

Anyone tried this yet?

Charlie

moshe weitzman’s picture

at this point, i am only maintaining the CVS version of this module which is only compatible with CVS Drupal. This version is now so different from 4.6 that maintaining both is a burden. Sorry.