I've a google apps for my domain and I need configure OTRS to send e-mails to our customers. We have a mail group called support@mydomain.com. Inside this group, there are a few attendants e-mails. NOTE: support@mydomain.com isn't an account, it is a group. We have created an "otrs SMTP login account" -> otrs.smtp@mydomain.com, for OTRS SMTP authentication. So, OTRS will use this account for autentication and mail sent. But, we need to configure a Return-Path to support@mydomain.com.
The question is: Where I can configure a Return-Path on Core::Sendmail OTRS configuration? I have tried to put support@mydomain.com in SendmailNotificationEnvelopeFrom, but isn't works properly. The mail is sent, but with the return-path header equal to otrs.smtp@mydomain.com
Here is the Mail header:
Code: Select all
Delivered-To: recipient@gmail.com
Received: by 10.204.122.19 with SMTP id j19cs158233bkr;
Tue, 18 Oct 2011 05:55:48 -0700 (PDT)
Received: by 10.236.177.2 with SMTP id c2mr2869489yhm.102.1318942547390;
Tue, 18 Oct 2011 05:55:47 -0700 (PDT)
Return-Path: <otrs.smtp@mydomain.com>
Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180])
by mx.google.com with ESMTPS id i3si1590557yhk.144.2011.10.18.05.55.46
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 18 Oct 2011 05:55:47 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.213.180 is neither permitted nor denied by best guess record for domain of otrs.smtp@mydomain.com) client-ip=209.85.213.180;
Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.180 is neither permitted nor denied by best guess record for domain of otrs.smtp@mydomain.com) smtp.mail=otrs.smtp@mydomain.com
Received: by mail-yx0-f180.google.com with SMTP id 34so751428yxm.39
for <recipient@gmail.com>; Tue, 18 Oct 2011 05:55:46 -0700 (PDT)
Received: by 10.236.46.129 with SMTP id r1mr2869651yhb.92.1318942546872;
Tue, 18 Oct 2011 05:55:46 -0700 (PDT)
Return-Path: <otrs.smtp@mydomain.com>
Received: from yourhost.example.com ([186.215.116.140])
by mx.google.com with ESMTPS id d5sm2909591yhl.19.2011.10.18.05.55.44
(version=SSLv3 cipher=OTHER);
Tue, 18 Oct 2011 05:55:46 -0700 (PDT)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Subject: Test 4
Message-ID: <1318942340.17530.2000420367@yourhost.example.com>
Date: Tue, 18 Oct 2011 10:52:20 -0200
From: otrs.smtp@mydomain.com
Content-Type: multipart/alternative; boundary="----------=_1318942340-23529-1"
This is a multi-part message in MIME format...
------------=_1318942340-23529-1
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Test 4=
------------=_1318942340-23529-1
Content-Type: text/html; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">Test 4</body></html>
------------=_1318942340-23529-1--
Here is the OTRS SMTP configuration:
Code: Select all
SendmailModule SMTPS
SendmailModule::CMD /usr/sbin/sendmail -i -f
SendmailModule::Host smtp.gmail.com
SendmailModule::Port 465
SendmailModule::AuthUser otrs.smtp@mydomain.com
SendmailModule::AuthPassword <secret>
SendmailNotificationEnvelopeFrom support@mydomain.com