From: Thomas Goirand <thomas@goirand.fr>
To: mlmmj@mlmmj.org
Subject: Re: Autoresponders/autoreply replies are marked as bounces
Date: Fri, 20 Feb 2009 17:32:49 +0000 [thread overview]
Message-ID: <499EE941.7010203@goirand.fr> (raw)
In-Reply-To: <BAY104-W266C7128CDB3A9284333E8F3B30@phx.gbl>
Yarema wrote:
> Dan Andersen wrote:
>> Hi there,
>>
>> Hope someone can help me out here.
>>
>> When Im sending mails to the maillist by mlmmj and the subscriber
>> got a autoreply/out of office agent running, the mail is returned
>> as a bounce.
>> I guess that the problem is that the responder is using the
>> envelope-from address.
>>
>> Is it posible to force the autoresponder to reply to etc. the From:
>> address ?
>>
>> There is no Return-Path header on the mail, is that a problem ? If
>> so...I have tried adding the header when Im sending the mail to the
>> mlmmj list (by php), but It looks like it has been removed, either by
>> mlmmj or postfix?!?! or am I missing another header?
>>
>> Im using mlmmj 1.2.16 and postfix 2.3.3
>
> In my experience the Return-Path header is set by the receiving MTA
> based on the envelope sender. So manually setting the Return-Path
> header will get you nowhere. Seems to me that it's a problem with the
> auto-responder over which you have no control.
I agree. A good auto-responder should detect messages from a list. Our
autoresponders are using .mailfilter. In it I have this:
RECIPIENT=$LOGNAME
RESPOND="~/.vacation.msg"
RESPONDDB="~/.vacation.db"
if ( ! /^Precedence: (bulk|list|junk)/ && \
! /^List-Id:/ && \
! /^List-Unsubscribe:/ && \
! /^Return-Path:.*<#@\[\]>/ && \
! /^Return-Path:.*<>/ && \
! /^From:.*MAILER-DAEMON/ && \
! /^X-ClamAV-Notice-Flag: *YES/ && \
! /^Content-Type:.*message\/delivery-status/ && \
! /^Subject:.*Delivery Status Notification/ && \
! /^Subject:.*Undelivered Mail Returned to Sender/ && \
! /^Subject:.*Delivery failure/ && \
! /^Subject:.*Message delay/ && \
! /^Subject:.*Mail Delivery Subsystem/ && \
! /^Subject:.*Mail System Error.*Returned Mail/ && \
! /^X-Spam-Flag: YES/ )
{
cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 -A 'From:
$RECIPIENT' -s 'Auto Response: from $RECIP
IENT' /usr/sbin/sendmail -t"
}
which I believe is enough to NOT send bounce messages. In the case of
MLMMJ, it will match the List-Id: header.
Has any of you other header types that my autoresponder should match?
Did we miss some?
Thomas
next prev parent reply other threads:[~2009-02-20 17:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 13:52 Autoresponders/autoreply replies are marked as bounces Dan Andersen
2009-02-20 14:01 ` Yarema
2009-02-20 17:32 ` Thomas Goirand [this message]
2009-02-20 20:34 ` Dan Andersen
2009-02-20 21:49 ` Thomas Goirand
2009-03-04 20:34 ` Morten K. Poulsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499EE941.7010203@goirand.fr \
--to=thomas@goirand.fr \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.