I hope this is the right place for mailbot help. I'm just trying to set
up a simple vacation reply and it seems to be working well except for an
appended "Content-Transfer-Encoding: 8bit" header to the body if I add
any header to the vacation.msg or, worse, the message is included within
the reply headers without an extra header in vacation.msg (example below).

Any ideas how to fix this so I have a clean plain text reply would be
appreciated .

courier-maildrop & courier-mta - 0.68.2-1ubuntu1 13.10

~ cat /etc/courier/maildroprc
[...]
`test -f $HOME/vacation.msg`
if (!$RETURNCODE)
{
    `/usr/bin/mailbot -N -A "From: $SENDER" -m "vacation.msg" $SENDMAIL`
}

~ cat /home/mail/domains/markc.XXXX.org/admin/vacation.msg
Your message was received, but I'm not available to read it now.
My return is scheduled on DD/MM/YY
Regards, Administrator

Resulting example using the above maildroprc recipe and vacation.msg...

Received: from localhost (localhost [127.0.0.1])
   (uid 1)
   by markc.XXXX.org with local; Sun, 08 Sep 2013 22:21:01 +1000
   id 0000000000020516.00000000522C6BAD.000060DF
From: m...@markc.xxxx.org
Precedence: junk
Auto-Submitted: auto-replied
To: Me Again <m...@markc.xxxx.org>
References: <522c6bad.2010...@markc.xxxx.org>
In-Reply-To: <522c6bad.2010...@markc.xxxx.org>
Subject: Re: Test14
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Your message was received, but I'm not available to read it now.:
:
My return is scheduled on DD/MM/YY:
:
Regards, Administrator:
:
Message-ID: <courier.00000000522c6bad.00006...@markc.xxxx.org>
Date: Sun, 08 Sep 2013 22:21:01 +1000
X-Mime-Autoconverted: from 8bit to 7bit by courier 0.68
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sun Sep  8 22:21:01 2013
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 522c6bad248042094196492

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to