OK, thanks to everyone for a great module. :-) With the help of killes and others, [thank you, thank you] I've got something on my system that's really close to working... Awesome stuff. You guys rock.
So, here's the little glitch, and it's one of those weird things that's kinda hard to track down, 'cause it doesn't happen across the board, but...
_The Problem_
***For selected users, email sent from my dedicated box appears to get *rejected* with a "rejected RCPT" error.***
Here's the actual logs from my mainlog file. You can see that most of the messages get sent out ok, but some of them get rejected.
2006-08-24 10:42:00 1GGHLE-000IMU-Iy <= improv+mythafsaneh=yahoo.com@ithou.org U
=og2list P=local S=714 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMW-Jg <= improv+ey=elizabethyochim.com@ithou.org
U=og2list P=local S=716 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMY-KN <= improv+theo2012=aol.com@ithou.org U=og2l
ist P=local S=704 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMa-LB <= improv+razzz=mindspring.com@ithou.org U=
og2list P=local S=712 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMd-Lx <= improv+heartseed=sbcglobal.net@ithou.org
U=og2list P=local S=718 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMf-Me <= improv+f.kahane1=verizon.net@ithou.org U
=og2list P=local S=714 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMh-NM <= improv+jo=movinground.com@ithou.org U=og
2list P=local S=708 id=1156433936.527928406@ithou.org
2006-08-24 10:42:00 1GGHLE-000IMj-O3 <= improv+jugree=aol.com@ithou.org U=og2lis
t P=local S=700 id=1156433936.527928406@ithou.org
**HERE'S THE WEIRD PART: BEGIN WEIRD***
2006-08-24 10:42:01 H=sv10pub.verizon.net [206.46.252.146] F=<> rejected RCPT <i
mprov+f.kahane1=verizon.net@ithou.org>: Unrouteable address
2006-08-24 10:42:01 H=sv10pub.verizon.net [206.46.252.146] F=<antispam445943@wes
t.verizon.net> rejected RCPT <improv+f.kahane1=verizon.net@ithou.org>: Unrouteab
le address
2006-08-24 10:42:01 unexpected disconnection while reading SMTP command from sv1
0pub.verizon.net [206.46.252.146]
2006-08-24 10:42:01 1GGHLE-000IMf-Me ** f.kahane1@verizon.net R=dnslookup T=remo
te_smtp: SMTP error from remote mail server after MAIL FROM:<improv+f.kahane1=ve
rizon.net@ithou.org> SIZE=1755: host relay.verizon.net [206.46.232.11]: 550 You
are not allowed to send mail:sv10pub.verizon.net
** END WEIRD **
2006-08-24 10:42:01 1GGHLF-000IMp-1X <= <> R=1GGHLE-000IMf-Me U=mailnull P=local
S=1760
2006-08-24 10:42:01 1GGHLE-000IMf-Me Completed
2006-08-24 10:42:01 1GGHLF-000IMp-1X ** improv+f.kahane1=verizon.net@ithou.org:
Unrouteable address
2006-08-24 10:42:01 1GGHLF-000IMp-1X Frozen (delivery error message)
2006-08-24 10:42:02 1GGHLE-000IMh-NM => jo@movinground.com R=dnslookup T=remote_
smtp H=mx2.balanced.swarthy.mail.dreamhost.com [208.97.132.58] X=TLSv1:DHE-RSA-A
ES256-SHA:256
2006-08-24 10:42:02 1GGHLE-000IMh-NM Completed
2006-08-24 10:42:04 1GGHLE-000IMU-Iy => mythafsaneh@yahoo.com R=dnslookup T=remo
te_smtp H=mx2.mail.yahoo.com [67.28.113.72]
2006-08-24 10:42:04 1GGHLE-000IMU-Iy Completed
****AND THIS IS ALSO WEIRD ***
2006-08-24 10:42:05 H=sv22pub.verizon.net [206.46.252.158] F=<> rejected RCPT <i
mprov+jo=movinground.com@ithou.org>: Unrouteable address
2006-08-24 10:42:05 H=sv22pub.verizon.net [206.46.252.158] F=<antispam471203@wes
t.verizon.net> rejected RCPT <improv+jo=movinground.com@ithou.org>: Unrouteable
address
2006-08-24 10:42:05 unexpected disconnection while reading SMTP command from sv2
2pub.verizon.net [206.46.252.158]
** END WEIRD **
2006-08-24 10:42:05 1GGHLE-000IMW-Jg => ey@elizabethyochim.com R=dnslookup T=rem
ote_smtp H=q1.netfirms.com [64.34.66.80]
2006-08-24 10:42:05 1GGHLE-000IMW-Jg Completed
2006-08-24 10:42:06 1GGHLE-000IMa-LB => razzz@mindspring.com R=dnslookup T=remot
e_smtp H=mx09.mindspring.com [207.69.200.36]
2006-08-24 10:42:06 1GGHLE-000IMa-LB Completed
2006-08-24 10:42:06 1GGHLE-000IMY-KN => theo2012@aol.com R=dnslookup T=remote_sm
tp H=mailin-03.mx.aol.com [64.12.138.120]
2006-08-24 10:42:06 1GGHLE-000IMY-KN Completed
2006-08-24 10:42:06 1GGHLE-000IMj-O3 => jugree@aol.com R=dnslookup T=remote_smtp
H=mailin-02.mx.aol.com [205.188.157.25]
2006-08-24 10:42:06 1GGHLE-000IMj-O3 Completed
** WEIRD AGAIN
2006-08-24 10:42:09 H=sd-green-bigip-60.dreamhost.com (swarthymail-mx1.dreamhost
.com) [208.97.132.60] F=<> rejected RCPT <improv+jo=movinground.com@ithou.org>:
Unrouteable address
** END WEIRD
2006-08-24 10:42:11 1GGHLE-000IMd-Lx => heartseed@sbcglobal.net R=dnslookup T=re
mote_smtp H=sbcmx5.prodigy.net [207.115.20.21]
2006-08-24 10:42:11 1GGHLE-000IMd-Lx Completed
If anyone has any thoughts or ideas about what is going on, it would be muchos appreciated. Thanks!
Albert
www.ithou.org
Comments
Comment #1
ajwwong commentedWell, I've narrowed it down (with some help from the exim list and Bill Hacker)...
He tells me that part of the problem is here:
If anyone has any ideas about how to fix this with og2list, that'd be great!
Thanks
Albert
www.ithou.org
Comment #2
ajwwong commentedComment #3
killes@www.drop.org commentedIt seems to me that the bug is with the incomig mail, can you confirm this? Does it make sense to have the charset declared utf-8 and the Content-transfer-encoding to be 7bit? IMHO not.
Comment #4
ajwwong commentedHi killes, :-) and thanks for your thoughts here...
I don't think the difficulty is with incoming mail directed *to* og2list. [Currently, incoming mail gets posted to the group forum, just fine on my system, AFAIK.]
I think it is with mail that is being sent *by* og2list that is problematic.
So, heres' the actual breakdown of my actions and the subsequent behavior of og2list.
_Sample Action_
(1) Go to the website [for example www.ithou.org].
(2) Go to the organic group [for example "test group"]
(3) Click "create forum topic"
(4) Enter the Title, Body, Text of the message. Click "Submit".
_Resulting Behavior_
(1) After about 2 minutes, the og2list cronjob sends the new forum message to all of the members of the organic group ["test group"].
(2) Approximately 80% of the messages sent are successfully sent.
(3) However, 20% of the messages are bounced, with various "rejected RCPT" messages as shown in the original posting above.
(4****) An analysis of the "Message Headers" from all the emails sent *out* by the og2list shows that the mail that is being sent *out* by og2list to have "charset: utf-8", but with encoding usually set such that "content transfer encoding: 7bit" or occasionally "content transfer encoding: quoted printable".
_WHAT I THINK IS THE BUG_
I'm told that 7bit encoding with a utf-8 charset creates a "red flag" for some spam filtering agents? And that this might be a contributing factor in the "rejected RCPT" errors messages in Behavior item (3) above.
_WHAT I THINK SHOULD BE THE FIX_
I've tried to track this down and I think it might be involved in the mail-out.pl file, which has the section:
I think the line about "Encoding" => "-SUGGEST" might be the culprit. It defaults to "7bit" when in fact this might be incompatible with a "utf-8" charset. However, I've tried to change this to what I think should be a fix, but the Encoding in the mail messages that og2list sends out doesn't seem to change.
[In particular, I've experimented with changing mail-out.pl as follows:]
Note: even with this change in the mail-out.pl file, the Encoding stays at mostly "7bit" or occasionally "quoted printable" -- and "base64" is no where to be found. [I've attempted to clear cache both with drupal and mozilla. Additionally, I've tried a graceful restart of apache.] [And I'm only trying "base64" because I think it's compatible with utf-8, if I'm not mistaken.]
Thanks for any ideas, and I hope this is helpful to some else too! :-)
All the best,
Albert
www.ithou.org
Comment #5
bengen commentedAlbert,
From looking at the logs it seems that your Exim installation does not know how to deal with VERP-modified messages. This is what's apparently happening:
1. SMTP connection (to Verizon in this case) is established, HELO sent, etc.
2. Exim sends (VERP-modified) sender and recipient.
3. Verizon's mail server tries to verify the sender address
3.1. Verizon's mail server opens up a callback connection to the MX of your mail domain, sends HELO, etc.
3.2. Verizon sends its own (dynamically generated) sender and the sender of the original message as recipient
3.3. Your MX gives a 5xx code because it doesn't know how to handle the address.
4. Verizon decides that it couldn't verify the sender address and rejects your message.
Comment #6
ajwwong commentedThanks, bengen! :-) Awesome!
That makes a lot of sense....
I'll look into that and see if I can figure out how to get my install of Exim to accept Verp's! :-)
Thanks, again...
Comment #7
ajwwong commentedFor those reading at home, this is a description of what might be going on... :-)
http://forums.serverwatch.com/showthread.php?t=18009
How to fix it? Well... I'm workin' on it... :-) It has something to do with changing the ACL's in exim so that "bounce messages" are received, I think.
I guess there might be some variation of joshk's ACL command [see http://drupal.org/node/74736] that allows bounce messages to be received. [I believe his ACL command only allows the non-VERP version of the emails to be received.]
Or possibly, there's something in valid-recipient.pl which could help those recipients be seen as valid.
All ideas are welcome! :-)
Thanks,
Albert
www.ithou.org
Comment #8
Amazon commentedI'd like to see this turned into some debugging steps for the Exim installation instructions.
Kieran
Comment #9
ajwwong commentedHi Amazon, :-)
I'd be absolutely glad to do that... once I figure out what the correct debugging steps are :-) !
BTW, there's a small patch I wrote for the EXIM install instructions for some small typographical stuff located in the last comment here:
http://drupal.org/node/74736
I think this patch probably should be added to the exim.install file at some point in time.
Thanks for all your help :-)
Albert
Esalen Alumni Group
Comment #10
ajwwong commentedOK, two days straight.... whew... and little bits of progress.... [it's tough in those salt mines! :-) ]....
Tough to find much info on the web re: how to handle VERP bounces. Anyhow, for those of you watching at home :-)... you can check how your exim box would respond if a "verify sender" request was sent to it, by using the command:
For example, in my case,
Anyhow, looks like adding an additional router to the ACL at the very end solves *at least part* of the problem.... :
Add this to the end of your ACL router in the exim.configure file. [This is a total hack and I'm not sure really if / how it works... so ymmv. I think it also causes some troubles with the transport, but at least the mail of those people who are doing an SMTP call on you is getting sent out, now!]
Good luck, all...
Albert
www.ithou.org/Esalen
Comment #11
killes@www.drop.org commentedI mark this won't fix as this has apparently nothing to do with og2list, but with a strange mail setup.
Comment #12
killes@www.drop.org commentedComment #13
ajwwong commentedHi everyone...
I've been away from this for a while... just 'cause I had to make some other pieces for my site... but I was wondering if anyone might be available to help me install this (properly! :-)... and what it might cost... I'm running a small personal site that's is trying to help support others who need emotional support, so I don't have much in the way of funds... but could probably pay $60 dollars or so for this to get done right... [I know that's not that much, it's just what i can afford]....
I'd prefer to give this money to one of the great civicspace people who've been helping me, like killes or bengen, just kinda as a way of thanking them for their help so far, in case they wanted to take this on.
Anyhow, if anyone's gotten this working right let me know.... I've gotten *almost* everything working except there's just one or two email address that strangely bounce rather than receive the mail properly. Most of the problems are documented here in this thread. I kinda set up one of the VERP bounce permissions ok, but the other email address, just doesn't seem to want to take.... I don't think it has to do with the og2list setup, so much as my EXIM or my DNS or some other kind of thing I don't really understand. It's a little beyond me, so thanks for considering...
Thanks for your time and help...
Best,
Albert
Comment #14
ajwwong commentedComment #15
Amazon commentedLooks like there are no takers. I'll let you know as soon as we get some free time or more folks show up to get this configured. In the meantime look for support in the core technologies.