Thanks for responding. I tried as advise and it didn't work.
Here is the mail log
Nov 23 09:16:23 nzhmlapp04 postfix/pickup[30846]: 21F822200A1: uid=33
from=www-data
Nov 23 09:16:23 nzhmlapp04 postfix/cleanup[1222]: 21F822200A1:
message-id=rt-3.6.1-1173-1321992982-461.10043-...@mydom.com
Nov 23 09:16:23 nzhmlapp04 postfix/qmgr[16904]: 21F822200A1:
from=sysad...@mydom.com, size=982, nrcpt=2 (queue active)
I have www-data mapped to sysad...@mydom.com using
sender_canonical_maps = hash:/etc/postfix/sender_canonical. I did this
as a work around so that I could buy time to get RT's smtp working.
I don't want the rt application to use the Apache user www-data to
send emails but to use smtp and us r...@mydom.com.
I hope this is a bit clearer.
Thanks
G
On Tue, Nov 22, 2011 at 9:20 PM, Bart b...@pleh.info wrote:
We use additional rules in the RT_SiteConfig.pm to ensure that it uses the
correct e-mail address for all queue's.
Here's a sample:
# ---
# Default Correspond en Comment adres
# ---
Set($CorrespondAddress , 'r...@example.com');
Set($CommentAddress , 'r...@example.com');
Set($SetOutgoingMailFrom, 1);
Set($OverrideOutgoingMailFrom, {
'Default' = 'r...@example.com',
'RT Queue 2' = 'rtque...@example.com',
'RT Queue 3' = 'rtque...@example.com'
});
Hope this helps.
-- Bart
Op 22 november 2011 05:08 schreef Gregory Machin gregory.mac...@gmail.com
het volgende:
Hi.
I have moved our RT from a legacy server to a new one. I would like to
define the from: address used.
At present all outgoing email is relayed via Postfix at localhost, the
emails going out from RT are doing out using
www-d...@newserver.mydom.com (Apache user www-data), which causes
issues as this sever is internal so the domain newserver.mydom.com is
not valid on the Internet. To get around this I have configured a
temporary address rewrite.
What I want it the emails from RT to go out as r...@mydom.com and not as
teh Apache user. How do I configure this ?
My email config so far for emails :
Set ($SMTPServer, 'localhost');
Set($CorrespondAddress , 'r...@mydom.com');
Set($CommentAddress , 'rt-comm...@mydom.com');
Thanks
G
RT Training Sessions (http://bestpractical.com/services/training.html)
* Barcelona, Spain November 28 29, 2011
RT Training Sessions (http://bestpractical.com/services/training.html)
* Barcelona, Spain November 28 29, 2011