procmail
[Top] [All Lists]

procmail, comsat, and me.

1995-10-01 00:06:27
I have successfully installed procmail 3.10, and I have a nifty new
IN.testing mail folder that procmail is politely placing all 'test' mails 
into.  A happy thing.

When I get a mail that is of a non-test nature, procmail leaves it in 
/usr/spool/mail/pmurphy, and comsat biffs my screen with the expected 
notification.

When I get a mail that _is_ of a testing nature, procmail puts it in 
~/mail/IN.testing, but comsat biffs me with text taken from 
/usr/spool/mail/pmurphy.

I look in my procmail logfile (I am running VERBOSE) and I find things 
like this:

procmail: Notified comsat: \
    "pmurphy(_at_)1139:/student/undrgrad/pmurphy/mail/IN.testing" 
# This line is issued during processing of my test message.

procmail: Notified comsat: "pmurphy(_at_)718249:/usr/spool/mail/pmurphy" 
# This line is issued during processing of a normal message that is 
# unaffected by my lone 'test' recipe.

Is procmail attempting to tell comsat which file to look in?  And the 
proper offset in that file?  I did notice that comsat always got the 
offset from procmail just fine, it just stubbornly looked in 
/usr/spool/mail/pmurphy no matter what.  Is comsat even capable of 
looking in any other place than the usual system mailboxes?  I really 
*want* it to be able to.

Do I need to make procmail issue the comsat request with the -d (specify 
directory) option?

Maybe my comsat prefers input different than what procmail is providing:
Observe, from my comsat's manfile:
 
blah blah ... "The datagram contains a 1-line message of the form:
       user(_at_)mailbox-offset

recall, from my log file:
procmail: Notified comsat: "pmurphy(_at_)718249:/usr/spool/mail/pmurphy" 

Comsat purports to prefer the form:      user(_at_)mailbox-offset
However, procmail's log file seems to be indicating that it is notifying 
comsat using this format:                user(_at_)offset:mailbox

Is this reversal of parameters a clue, or the '-' vs. the ':' ??



pmurphy(_at_)carbon(_dot_)cudenver(_dot_)edu                   University of 
Colorado @ Denver
                    DOS is the wound.  Windows is the scab.             

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