Re: add missing header if needed

2014-01-13 Thread Wietse Venema
Andreas Schulze: > Hello, > > I have to add a "Reply-To" Header in (smtp-) submitted messages. > > Adding it unconditionally using PREPEND result in messages with more > then one instance > of this header which violates RFC5322. > Is there a way to add a header _only_ if not present? header_ch

add missing header if needed

2014-01-13 Thread Andreas Schulze
Hello, I have to add a "Reply-To" Header in (smtp-) submitted messages. Adding it unconditionally using PREPEND result in messages with more then one instance of this header which violates RFC5322. Is there a way to add a header _only_ if not present? Thanks