procmail
[Top] [All Lists]

RE: (procmail) Okay.... this should be easy

1998-08-11 13:14:00
Well, this particular box isn't mine, so re-compiling or creating a symlink
won't work.  I set the variables but now it bounces the message.  Here is
the logfile:

From signet1(_at_)emh1(_dot_)gordon(_dot_)army(_dot_)mil  Tue Aug 11 15:43:33 
1998
 Subject: test
  Folder: **Bounced**
0
procmail: Notified comsat: "signet1@:**Bounced**"
procmail: [3419] Tue Aug 11 15:48:08 1998
procmail: Assigning "UMASK=077"
procmail: Match on "^From.*\.(mil|dod|gov)"
procmail: No match on "^[       ]*subscribe signet.*(\.(mil|dod|gov))"
procmail: Assigning "LASTFOLDER=/var/mail/signet1"
procmail: Opening "/var/mail/signet1"
procmail: Error while writing to "/var/mail/signet1"
procmail: Locking "/var/mail/signet1.lock"
procmail: Error while writing to "/var/mail/_a1AQemh1"
procmail: Lock failure on "/var/mail/signet1.lock"
procmail: Assigning "LASTFOLDER=/var/mail/signet1"
procmail: Opening "/var/mail/signet1"
procmail: Error while writing to "/var/mail/signet1"
From signet1(_at_)emh1(_dot_)gordon(_dot_)army(_dot_)mil  Tue Aug 11 15:48:08 
1998
 Subject: test
  Folder: **Bounced**
0
procmail: Notified comsat: "signet1@:**Bounced**"



----------
From:         David W. Tamkin[SMTP:dattier(_at_)Mcs(_dot_)Net]
Sent:         Tuesday, August 11, 1998 3:40 PM
To:   Robertson, Hedley J. SPC
Cc:   rali(_at_)meitca(_dot_)com; 
procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject:      Re: (procmail) Okay.... this should be easy

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
| 
| /var/mail/signet1
| 
| 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

  ORGMAIL=/var/spool/$LOGNAME
  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
instead.

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.


<Prev in Thread] Current Thread [Next in Thread>