[rt-devel] [BUG] Sendmail arguments dropped

Ruslan U. Zakirov cubic at acronis.ru
Mon Mar 1 11:24:23 EST 2004


	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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt3.sendmail_args.patch
Type: application/aegis-patch
Size: 487 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20040301/b6158a9c/rt3.sendmail_args.bin


More information about the Rt-devel mailing list