procmail
[Top] [All Lists]

Re: 'Folder: bounced '

2005-01-06 21:00:51
On Fri, Jan 07. 2005, Dallman Ross wrote:
On Thu, Jan 06, 2005 at 10:10:44PM +1100, Adam Bogacki wrote:
Dallman, & Ruud ..

current etc-procmail.log is below.
adam-procmail.log still not appearing
in /home/adam/Mail.

<wan smile, not yet exasperated but heading in that direciton>

What I've been trying to communicate as a meta-theme even more
urgently than the individual responses I make to things I see is,
with computers, things don't change unless you give them a reason.
They're not demons possessed or out to get you!  So if last
night my speculation was that user "adam" does not have permission
to write a file called "adam-procmail.log" under /home/adam/Mail,
then waiting half-a-day and trying again isn't going to give
a suddenly different result.

Thank you Dallman for your forebearance with us mere mortals
grappling with what seems like a simple request to sort mail.
Like you, I don't believe in magic and an aware of the capacity
of human error to cause serious damage having once researched
human factors at crashes. Programming, however, was not
on the curriculum .. 

I think I've fixed the permissions problem, but if you find
the converse I'd appreciate your suggestions on how to fix it.

At the time of writing 'etc-procmail.log' has verbosely expanded
but there is still no sign of 'adam-procmail.log' although I have
fixed '/bin/sh' and think I've given correct permissions to 
'adam-procmail.log'. I have commented out the empty lines
you objected to but was not sure where to stop. You might
be able to advise on that and perhaps suggest a better way to do it.


My speculation about permissions could be wrong.  It's only
my first guess.  But I wish you would give us more.  What is
the result of this:

   ls -ld / /home/ /home/adam/ /home/adam/Mail/ 
/home/adam/Mail/adam-procmail.log

Moreover, if you didn't fix the bad $SHELL entry I pointed out
last night, nothing much is likely to improve.  It alone may be
responsible for the bounces.

From root(_at_)paradise(_dot_)net(_dot_)nz Thu Jan 06 09:41:13 2005
 Subject: ndtpd daily log
   Folder: bounced

In an attempt to give you more, I attach (1) output of the command above,
(2) output of 'etc-procmail.log', and (3) the current /home/adam/.procmailrc

Cheers,

Adam Bogacki,
afb(_at_)paradise(_dot_)net(_dot_)nz

(1) output of 
 ls -ld / /home/ /home/adam/ /home/adam/Mail/ /home/adam/Mail/adam-procmail.log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
adam(_at_)Tux:~04:03:47$  ls -ld / /home/ /home/adam/ /home/adam/Mail/
/home/adam/Mail/adam-procmail.log
ls: /home/adam/Mail/adam-procmail.log: No such file or directory
drwxr-xr-x   42 root root  1024 Dec 15 21:33 /
drwxr-sr-x   44 adam adam  4096 Jan  4 17:05 /home/
drwxr-xr-x  177 adam adam 12288 Jan  7 16:06 /home/adam/
drwx------    5 adam adam  4096 Jan  7 16:00 /home/adam/Mail/
adam(_at_)Tux:~04:35:42$ su root
Password:
Tux:/home/adam#  ls -ld / /home/ /home/adam/ /home/adam/Mail/
/home/adam/Mail/adam-procmail.log
ls: /home/adam/Mail/adam-procmail.log: No such file or directory
drwxr-xr-x   42 root root  1024 Dec 15 21:33 /
drwxr-sr-x   44 adam adam  4096 Jan  4 17:05 /home/
drwxr-xr-x  177 adam adam 12288 Jan  7 16:06 /home/adam/
drwx------    5 adam adam  4096 Jan  7 16:00 /home/adam/Mail/
Tux:/home/adam#

(2) output of 'etc-procmail.log'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---

pid(7018) rc(/etc/procmailrc) user(adam)
home(/home/adam)
maildir(/home/adam/Mail)
default(/home/adam/Mail/.Inbox/)
formail()
sendmail(/usr/sbin/sendmail)
path(/usr/local/bin:/usr/bin:/bin)
---

procmail: [7018] Fri Jan  7 09:47:49 2005
procmail: Locking "msgid.lock"
procmail: Executing "formail,-D,8192,.msgid.cache"
procmail: Non-zero exitcode (1) from "formail"
procmail: Assigning "LASTFOLDER=formail -D 8192 .msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: Match on "< 256000"
procmail: Locking "spamassassin.lock"
procmail: Executing "/usr/bin/spamc"
procmail: [7018] Fri Jan  7 09:47:52 2005
procmail: Unlocking "spamassassin.lock"
procmail: No match on "^^rom( )"
procmail: No match on
"^X-Spam-Level:[^*]*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*"
procmail: No match on "^X-Spam-Status: Yes"
procmail: No match on "^From:.*mailman-owner@"
procmail: Match on "(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|ops|r(esponse|oot)|(bbs\.)?smtp(error)?|s(erv(ices?|er)|ystem)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Locking "bounced.lock"
procmail: Assigning "LASTFOLDER=bounced"
procmail: Opening "bounced"
procmail: Acquiring kernel-lock
procmail: [7018] Fri Jan  7 09:47:53 2005
procmail: Unlocking "bounced.lock"
procmail: Notified comsat: "adam(_at_)16461630:/home/adam/Mail/bounced"
From root(_at_)paradise(_dot_)net(_dot_)nz Fri Jan 07 09:47:49 2005
 Subject: Anacron job 'cron.daily' on Tux
   Folder: bounced                                                          

(3) the current /home/adam/.procmailrc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# This is the user's ~/.procmailrc
# It is run (automatically) after the /etc/procmailrc.

  VERBOSE     = 'yes'

  SHELL       = '/bin/sh'

  MAILDIR     = "$HOME/Mail"
  DEFAULT     = "$MAILDIR/.Inbox/"

  LINEBUF     = '4096'
  LOGABSTRACT = 'all'

#--> should be writable by the user
  LOGFILE     = "$MAILDIR/adam-procmail.log"

#  NL    = '
#'                  
# contains only a literal newline
#  SPACE = ' '      # contains only a literal space
#  TAB   = '     '  # contains only a literal tab
#  WSP   = "$SPACE$TAB"

#  OR    = '9876543210^0'

  LOG     = "${NL}$$ $_ u:${LOGNAME} h:${HOME}  m:${MAILDIR} d:${DEFAULT}${NL}"
                
 VERBOSE = 'yes'


 #--> Following code should not be in /etc/procmailrc, but only
 #--> in some user's $HOME/.procmailrc.

<snip ... recipes follow>

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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