Hi!

On Wed, 12 Sep 2001 13:05:09 +0200, Sandro wrote:

> I've just upgraded vpopmail to the last version, needed by last
> sqwebmail, and I have a big problem with the Delivered-To: header.

I temporary solved my problem modifying vdelivermail.c adding the following line at 
line 478 
(version 5.0pre5), just before the writing of the variable DeliverTo to the 
destination mail:

    snprintf(DeliveredTo, AUTH_SIZE,
            "%s%s", getenv("RPLINE"), getenv("DTLINE"));

This get rid of the bogus Delivered-To: and writes in the mail the correct one (the 
qmail supplied one).

I don't know if this could cause other problem, probably some problems guessing if a 
mail is looping,
but it works for me. Isn't mail looping checked by qmail itself? In my case, at the 
moment,
having a correct Delivered-To: is more important. You can use another header for your 
looping-detection
delivered-to.

Thanks

Reply via email to