[rt-devel] [BUG] Sendmail arguments dropped

Ruslan U. Zakirov cubic at acronis.ru
Mon Mar 1 11:47:08 EST 2004


A little more on.

I think, my patch is work around only. Right fix would be change option 
$SendmailArguments from scalar to an array and join it on piping instead 
of spliting on ->send(). Am I wrong?

		Best regards. Ruslan.

Ruslan U. Zakirov wrote:
>     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 at 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 at foo.bar' instead of array '-oi', 
> '-t', '-fbar at 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.
> 



More information about the Rt-devel mailing list