Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Where to correct this AR bug?

Quote Reply
Where to correct this AR bug?
Gossamer Mail : V 2.2.4
AR Bug

The bug is causing the mail to be going to wrong address because of Return-path and From being different and it's defaulting to Return-path while sending out AR. Where to correct this? Yes it seems to be taken care of in upcoming GMail V3 but we have no plans of upgrading in 2006.

Mail Me If Contacting Privately Is That Necessary.

Last edited by:

HyperTherm: Dec 18, 2005, 6:19 AM
Quote Reply
Re: [HyperTherm] Where to correct this AR bug? In reply to
Here's a patch:
--- incoming.pl 4 Nov 2004 02:15:35 -0000
+++ incoming.pl 20 Dec 2005 02:15:09 -0000
@@ -966,6 +966,9 @@
GMail->debug("Not sending autoreply: $error") if $CFG->{debug};
return 1;
+# Use Return-Path to check if the e-mail was a bounce/etc, but if an auto-reply
+# is going to be sent, then use Reply-To/From (RFC2821).
+ $from = $h->get('Reply-To') || $h->get('From');

require GT::Config;
my $autoreplied = GT::Config->load("$USER->{dir}/.autoreplied", { create_ok => 1 });