Subject: mail doesn't show up

From: Bob Holtzman <[email-masked]>
Date: Sun, 09 Dec 2001 15:03:09 -0700

I've seen this addressed before, but can't find it with a Google group or
list archive search.
 
Fetchmail shows messages being downloaded but my various mailboxes are
empty. Their permissions on installation were 731, but changing them to 777
didn't help.

I'm running RH7.2 with it's included progs:
pine-4.33-15
procmail-3.21-1
fetchmail-5.9.0-1

A related problem. I don't know how to tell If procmail is being invoked.
There is an entry for it in sendmail.cf but it's way over my head. If it is
being invoked it shouldn't be part of the problem (says he, wishfully), as
it is set up exactly the same as it was for my old RH6.0 where it ran
flawlessly.

Any help would be greatly appreciated. TIA
Bob Holtzman 
"If you think you're getting free lunch,
check the price of the beer!"
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Mats Dufberg <[email-masked]>
Date: Mon, 10 Dec 2001 00:22:16 +0100 (CET)

> empty. Their permissions on installation were 731, but changing them to 777

Fetchmail delivers to sendmail, which uses /bin/mail, procmail or other
program according to "Mlocal" in sendmail.cf. You will have to investigate
further. Try to send a mail to yourself directly through sendmail with
"-v" on.

Mats

-----------------------------------------------------------------
Mats Dufberg                                 [email-masked]
Blåarvsgränd 42                                    +46-8-38 48 59
SE-162 45 Vällingby, Sweden                       +46-70-258 2588

---

From: Christopher Fisk <[email-masked]>
Date: Mon, 10 Dec 2001 00:10:05 -0500 (EST)

>it is set up exactly the same as it was for my old RH6.0 where it ran

First thing to check is to verify that procmail is actually working.

make sure in your .procmailrc file you have an entry for logfile.

I.E:   	LOGFILE=$HOME/.procmail-log

If you send yourself a message and nothing shows up in the logfile then 
you have issues beyond procmail.

If it is showing as delivered, you will want to verify a few other 
procmail settings.

SHELL=/bin/sh
MAILDIR=$HOME/mail      # You'd better make sure it exists
			# Most commonly you will find that
			# procmail is writing to $home/Mail
			# or another directory that doesn't
			# really exist.
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
LOCKFILE=$HOME/.lockmail
DEFAULT=$MAILDIR/.mbox	# If you change/define $DEFAULT you
			# *MUST* make sure pine knows. =)

Good bug finding.

Chris

---

From: Bob Holtzman <[email-masked]>
Date: Tue, 11 Dec 2001 02:25:27 -0700

>I.E:   	LOGFILE=$HOME/.procmail-log

This has been present since day 1.

>you have issues beyond procmail.

This seems to be the case as the log is empty, however /var/log/maillog
shows entries such as:

Dec 11 00:10:47 localhost sendmail[1162]: NOQUEUE: localhost.localdomain
[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

and running fetchmail -v shows entries such as:

fetchmail: POP3> RETR 2
fetchmail: POP3< +OK 5415 octets
reading message 2 of 18 (5415 octets)
fetchmail: SMTP> MAIL FROM:<[email-masked]>
fetchmail: SMTP< 550 5.0.0 Access denied
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 2.0.0 Reset state
 not flushed

Could this indicate a sendmail problem? 

Thanks for the reply. Any further ideas would be appreciated.

Bob Holtzman

---

From: Christopher Fisk <[email-masked]>
Date: Tue, 11 Dec 2001 08:16:03 -0500 (EST)

Yep, this looks like a sendmail problem.

In your /etc/mail/access file make sure you have the following lines:

localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY

Then recreate your access.db:
makemap hash /etc/mail/access < /etc/mail/access

and try fetchmail again.  As you can see from the log below you are 
getting a 550 RELAYING DENIED, meaning your accesslist for sendmail is too 
restrictive.

If that doesn't work you might want to try to upgrade your fetchmail.

Good luck,

Chris

---

From: Christopher Fisk <[email-masked]>
Date: Tue, 11 Dec 2001 08:34:25 -0500 (EST)

>getting a 550 RELAYING DENIED, meaning your accesslist for sendmail is too 

Actually, I'm not completely sure this is a RELAYING DENIED issue, but 
it's the first step to check.

Chris