auto reply with sendmail/cyrus & header problem
Posted on 2001-08-08
Hi, I have a 2 fold question. I need to be albe to generate auto reply/responce for certain clients that will simply mail the person back and say "sorry I am on a 2 week leave and will return your mail as soon as I'm back at the office". The server must obviously keep all these mails sent during that time.
Then, I seem to experience some problems with headers. Specifically the Return-Path header. I generate some e-mails with PHP and as such, sendmail mails it as user nobody and includes a Return-Path header of [email@example.com]. It does so even though I specifically placed a Return-Path header in the mail I sent with PHP, sendmail won't allow this header to be replaced. I got the Sendmail book, and I saw you need to put some kind of _H flag in the config.c file. But, I don't exactly understand what this mean. I gather it is a source file, and after I have placed that flag there I must re-build sendmail, right? Is this a good idea to do something like this, isn't there an easier way to override the header?