Summary | vacation : maildrop Return-Path |
Queue | Ingo |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 09/28/2011 (5031 days ago) |
Due | |
Updated | 08/29/2012 (4695 days ago) |
Assigned | 10/03/2011 (5026 days ago) |
Resolved | 11/13/2011 (4985 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 2.0.7 |
Patch | No |
commit fb3da2a34b23e7d025b320641dbc85348a955cd3
Author: Jan Schneider <jan@horde.org>
Date: Sun Nov 13 22:00:11 2011 +0100
[jan] Set Return-Path: in Maildrop vacation driver
(rsalmon@mbpgroup.com,
Bug #10568).ingo/docs/CHANGES | 2 ++
ingo/lib/Script/Maildrop/Recipe.php | 5 +++--
ingo/package.xml | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/fb3da2a34b23e7d025b320641dbc85348a955cd3
[jan] Set Return-Path: in Maildrop vacation driver
(rsalmon@mbpgroup.com,
Bug #10568).3 files changed, 11 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/d262ca8d14e47986a75e46159704681185414307
State ⇒ Resolved
Milestone ⇒ 2.0.7
*mailbot* command invocation.
with the following code, "-f" is an argument for sendmail, not mailbot :
'| mailbot %s -D %d -c \'UTF-8\' -t $HOME/vacation.msg -d
$HOME/vacation -A %s -s %s /usr/sbin/sendmail -t -f %s'
*mailbot* command invocation.
Assuming that files are owned by unix user 'vmail'
- with "/usr/sbin/sendmail -t" -> "Return-Path: <vmail@mbpgroup.com>"
- with "/usr/sbin/sendmail -t -f ''" -> "Return-Path:
<MAILER-DAEMON@mbpgroup.com>"
- with "/usr/sbin/sendmail -t -f 'ronan@mbpgroup.com'" ->
"Return-Path: <ronan@mbpgroup.com>"
I'm just after realising that we use virtual mail accounts which is
probably why we are having this issue. Without the patch, sendmail
sets Return-Path to the unix owner of the virtual mail accounts.
State ⇒ Feedback
-faddress
Address the autoresponse to address, which must be an RFC 2822[1]
address. By default mailbot takes the autoresponse address from the
From: (or the Reply-To:) header in the original message. -f, if
present, overrides and explicitly sets the autoresponse address.
"address" must immediately follow the -f option without an
intervening space (it´s a single command line argument). An -f
option without an address takes the address from the SENDER
environment variable.
So this is setting the vacation message's *recipient* but you set it
to the user's From address.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ vacation : maildrop Return-Path
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
New Attachment: recipe.patch
State ⇒ Unconfirmed
the attached patch properly set the 'Return-Path' variable in the
message header.