On Fri, 7 May 2004 20:42:55 +0300 "Peter" <[EMAIL PROTECTED]> wrote:
> Hi, > I am trying to setup auto replies with dbmail. > I use the table auto_replies. Everything seems to work just > fine but how do I set the From: header > in auto_reply emails. Now it simply omits that header. > Thanks in advance fro your help. I just had a brief look in the code, it tries to set the "From" header in the reply to the value of the "Deliver-To" header in the incoming message. It should be a lot smarter about this, as there is no guarantee that the Deliver-To header will exist. I'm guessing your MTA isn't adding the "Deliver-To" header before insertion? If you're using sendmail, you can do this by adding HDeliver-To: $u either to the LOCAL_RULESETS in your .mc file, or directly to your sendmail.cf just before your MAIL FILTER and MAILER DEFINITIONS The auto-reply code will then be able to figure out who the incoming mail is being sent to. Any other fix will involve hacking pipe.c -fr. -- Feargal Reilly, Codeshifter, Chrysalink Systems. ICQ: 109837009 | YIM: ectoraige PGP Key ID: 0xE721BBE6 (expires 06-Aug-2004) Visit http://ie.bsd.net/ - BSDs presence in Ireland
pgpOtPvaB9Teo.pgp
Description: PGP signature
