delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/29/08:04:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 29 Aug 2002 08:07:18 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: [ANNOUNCEMENT] Updated Cygwin Package: procmail-3.22-7
In-reply-to: <008001c24eda$b4a478f0$0600a8c0@JIMGEORGE>
To: Jim George <jim DOT george AT blueyonder DOT co DOT uk>
Cc: Cygwin <cygwin AT cygwin DOT com>
Mail-followup-to: Jim George <jim DOT george AT blueyonder DOT co DOT uk>,
Cygwin <cygwin AT cygwin DOT com>
Message-id: <20020829120717.GA1360@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020820135339 DOT 82B1F1B5E1 AT redhat DOT com>
<011501c24e09$2c8fa9c0$0600a8c0 AT JIMGEORGE> <20020828114238 DOT GA1340 AT tishler DOT net>
<008001c24eda$b4a478f0$0600a8c0 AT JIMGEORGE>

Jim,

Please keep you replies on-list.

On Wed, Aug 28, 2002 at 10:34:34PM +0100, Jim George wrote:
> thanks for that I managed to get both my users retrieving mail
> however.  I have a strange problem.
> 
> My new user is working perfectly, however my original user has stopped
> having mail delivered to the custom mail directory I have defined in
> procmail.
> 
> The following is the output of the fetchmail log (jg014a8950 is my
> original user)
> 
>     fetchmail: 1 message for jg014a8950 at pop3.blueyonder.co.uk (5303 octets).
>     fetchmail: reading message jg014a8950 AT pop3 DOT blueyonder DOT co DOT uk:1 of 1 (5303 octets) procmail:
>     Renaming bogus mailbox "/var/spool/mail/Administrator" info "/var/spool/mail/BOGUS.Administrator.em8"
>     fetchmail:  flushed
>     fetchmail: sleeping at Wed Aug 28 22:23:22 2002

The above indicates a permissions problem with your Administrator's
mailbox.  I have verified this by grep-ing and reading the procmail
code.

I have been able to (almost completely) reproduce your problem by
changing permissions from:

    -rw-------    1 root     mail        67538 Aug 29 06:55 root

to

    -rw-------    1 jt       mail        67538 Aug 29 06:55 root

This produces the following fetchmail log:

fetchmail: 1 message for jtishler at sa-bwmail1.esr.hp.com (folder Inbox/test).
fetchmail: reading message jtishler AT sa-bwmail1 DOT esr DOT hp DOT com:1 of 1 (2457 header octets) fetchmail:  (6189 body octets) procmail: Renaming bogus mailbox "/var/spool/mail/root" info "/var/spool/mail/BOGUS.root.ZmiUGD"
procmail: Couldn't create "/var/spool/mail/root"

However, in my case mail was still being appended to root's mailbox and
the extra "Couldn't create" error message is generated.

Nevertheless, my suggestion is to check and fix the permissions of your
Administrator's mailbox.  Does this solve your problem?

> Reading the above I can see that it's actually procmail that is having
> problems so I've included the relevant part of my procmailrc file.
> 
> # Log Directory
> PMDIR=$HOME/Procmail
> 
> # Log file
> LOGFILE=/var/log/procmail.log
> 
> :0fw
> | /home/Administrator/bin/SpamAssassin/spamassassin -P -c
> /home/Administrator/bin/SpamAssassin/rules
> 
> INCLUDERC=$PMDIR/rc.lists
> INCLUDERC=$PMDIR/rc.mydefault
> 
> # logging level
> VERBOSE=yes
> 
> # Mail Directory
> MAILDIR=$HOME/Mail
> 
> Can you help?

See above.

> I use the same procmailrc for my new user and mail is being delivered
> to the correct directory.
> 
> Excuse me if I don't respond to any further help immediately but I
> will need to pick up mail via the web to see this.

BTW, how has SpamAssassin been working for you?

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019