Hello,

if the MAIL variable is not configured or no mail file for the user
exists, then the file '<unknown>' is polled.
This causes unneccessary traffic if the home is nfs mounted. 
In this case, just leave *mail_path empty and return.

Index: source/mail.c
===================================================================
RCS file: /home/cvs/repository/epic4/source/mail.c,v
retrieving revision 1.6
diff -u -p -r1.6 mail.c
--- source/mail.c       9 May 2003 04:29:52 -0000       1.6
+++ source/mail.c       9 Jul 2003 19:00:53 -0000
@@ -78,7 +78,7 @@ static        time_t  old_stat = 0;
                else if (path_search(username, mail_path_list, tmp_mail_path))
                        mail_path = m_strdup(tmp_mail_path);
                else
-                       mail_path = m_strdup("<unknown>");
+                       return 0;
        }
 
        /* If there is no mailbox, there is no mail! */



-- 
USB is for mice, FireWire is for men!
_______________________________________________
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list

Reply via email to