David CHALON wrote on Mon, Feb 29, 2016 at 16:45:57 +0100: > After add subervsion-tools to get the post-commit scripts we got 2 problems : > > 1°) error at mail submit : option -f in mailer.py not supported by exim : > > * Error in command line: > > mail: Cannot give -f and people to send to ⋮ > * Manual correction in mailer.py: > #cmd = self.cmd + [ '-f', self.from_addr ] + self.to_addrs > cmd = self.cmd + [ self.from_addr ] + self.to_addrs > > > > > 2°) after this patch, mail is sent, but format not good for Exim > : the metadata like from, type,... are in the body of the mail :
David, Your mailer.conf file probably uses «mail_command = /usr/bin/mail». If you change that to «mail_command = /usr/sbin/sendmail», and revert your local patch, everything should just work. Cheers, Daniel

