add to: header on vdeliveries today
here some patch

[EMAIL PROTECTED] vpopmail-5.2.1]# diff -Naur vdelivermail.c /tmp/vdelivermail.c
--- vdelivermail.c      Sat May 18 13:25:50 2002
+++ /tmp/vdelivermail.c Wed Mar 26 14:58:26 2003
@@ -1087,6 +1087,8 @@
     /* read the quota message in chunks and write it to the new file */
     if((fs=fopen(quotawarnmsg, "ro")) != NULL) {
         while(fgets(buf, MSG_BUF_SIZE, fs)) {
+           if(strncmp(buf,"To:",3)==0)
+              sprintf(buf,"To: %s\n",maildir_to_email(newdir));
             if ( write(write_fd,buf,strlen(buf)) == -1 ) {
                 close(write_fd);

[EMAIL PROTECTED] vpopmail-5.2.1]#


-- 
thx
onOs
UPPTI - Universitas Brawijaya

Reply via email to