Hedley Robertson wrote,
| I want the message to stay in the mailbox.
| But the problem is that the mailbox is not /var/spool/mail/signet1
| it is
| How does procmail decide where to put the message?
Apparently procmail decided when it was compiled that your spool directory
was /var/spool/mail and that ORGMAIL should be set to
/var/spool/mail/$LOGNAME (do procmail -v to see for sure). You can
either bandage it by setting
DEFAULT=$ORGMAIL # unless you have another value you prefer for $DEFAULT
into your rcfile or you could recompile procmail and set the proper values
in config.h to make procmail overlook /var/spool/mail and pick /var/mail
Alternatively, if you're the system administrator, you could make
/var/spool/mail a symlink that points to /var/mail/. As long as the folders
themselves in that directory are real, it won't bother procmail that it found
them by a logical path that doesn't match the physical path.