Hello.
Am I lucky? When I start any task then I have to patch something
RT_SiteConfig:
Set($MailCommand , ‘sendmail’);
Set($SendmailArguments , ‘-oi -t -fbar@foo.bar’);
This sendmail arguments go a long way and at the end
exec($exe, @args, @to);
Before we call $entity->send we don’t split args in parts so sendmail
get in ARGV single part ‘-oi -t -fbar@foo.bar’ instead of array ‘-oi’,
‘-t’, ‘-fbar@foo.bar’. sendmail don’t look in it at all
Heh.
In EmailParser.pm:349, RT forget about SendmailArguments!!!
In Interface/Mail.pm:192 too.
Patch attached fix only one place.
Best regards. Ruslan.
rt3.sendmail_args.patch (488 Bytes)