procmail
[Top] [All Lists]

Re: Comsat notification when DEFAULT is set

1997-08-16 13:05:00
Jason R Mastaler <jason(_at_)mastaler(_dot_)com> writes:
I've been using procmail v3.11pre7 for a while now on Solaris 2.5.1 as
the local mail delivery agent with no problems.  Recently, I needed my
default inbox to be a file within my home directory instead of the
system mailbox /var/mail/jason.  So, I've set
DEFAULT=$SPOOLDIR/mail.inbox in my .procmailrc and procmail delivers
it correctly.  Unfortunately, procmail no longer seems to be notifying
comsat when new mail arrives in the DEFAULT mailbox, so my xbiff no
longer works.
...
How can I instruct procmail to notify comsat when mail is delivered 
to my new inbox?  Thanks.

If procmail previously notified comsat, before you changed DEFAULT,
then it still is now.  The problem is that the comsat protocol has been
extended since it was originally developed.  The original protocol only
specified a user and an offset inside that user's mailspool.  The
extension was to also specifiy a specific file.  Most OS's ship with
older comsat daemons, pre-protocol extension, which ignore the file
specification and always use the standard mailspool.  The solution is
to replace your comsat daemon with one compiled from newish sources,
say BSD 4.4 or one of the *BSD groups.  (Linux bigots out there should
remember that most network utilities on your systems are probably from
BSD sources.)

(era, do you want to drop a copy of the above paragraph in the Mini-FAQ?)


Philip Guenther

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