Re: smtpd domain append fix

2015-01-07 Thread Gilles Chehade
On Wed, Jan 07, 2015 at 09:37:08AM +0100, Gilles Chehade wrote: > On Tue, Jan 06, 2015 at 07:24:45PM +0100, Jonas 'Sortie' Termansen wrote: > > On 01/06/2015 12:11 PM, Gilles Chehade wrote: > > > Index: smtp_session.c > > > === > > > R

Re: smtpd domain append fix

2015-01-07 Thread Gilles Chehade
On Tue, Jan 06, 2015 at 07:24:45PM +0100, Jonas 'Sortie' Termansen wrote: > On 01/06/2015 12:11 PM, Gilles Chehade wrote: > > Index: smtp_session.c > > === > > RCS file: /cvs/src/usr.sbin/smtpd/smtp_session.c,v > > retrieving revision

Re: smtpd domain append fix

2015-01-06 Thread Jonas 'Sortie' Termansen
On 01/06/2015 12:11 PM, Gilles Chehade wrote: > Index: smtp_session.c > === > RCS file: /cvs/src/usr.sbin/smtpd/smtp_session.c,v > retrieving revision 1.221 > diff -u -p -r1.221 smtp_session.c > --- smtp_session.c17 Dec 2014 15:49:

smtpd domain append fix

2015-01-06 Thread Gilles Chehade
hi, a couple people have reported that they had a bug with their cron mails, the domain appending code failed to locate the insert point correctly if the header was ending with a comment, resulting in: From: root (Charlie)@domain the following diff fixes the issue correctly resulting in: