troubleshooting Question

Cannot read procmail generated malboxes

Avatar of ajcocker
ajcocker asked on
Linux
22 Comments1 Solution645 ViewsLast Modified:
I am using fetchmail to retrieve mail from an ISP with the -m option to pass it to procmail.  These are my environment settings in .procmailrc
SHELL=/bin/sh
PMDIR=/mail
LOGFILE=/mail/pmlogs/pmlog
LOG="
"
DEFAULT=/spool/var/mail/andrew
VERBOSE=yes
MAILDIR=/var/spool/mail

This works fine. It sorts according to the recipes and delivers to the appropriate files in /var/spool/mail.  If I cat these files they appear to contain the mail they should. Each message seems to start with the line " STATUS:  R"

However:
using the linux mail command  (even -f <filenname> to ensure I am reading the right file) there are no messages.  

If I use a Windows box and Outlook to retreive using POP3 (which is the eventual aim) I get an authentication error but  /var/log/messages reports:Mar 21 15:45:05 Server ipop3d[10004]: Login failed user=<userid> auth=<userid> host=<hostname> [192.168.1.2]
Mar 21 15:45:08 Server ipop3d[10004]: Command stream end of file while reading line user=<userid> host=<hostname> [192.168.1.2]

I can login remotely using the same userid and password
Why are my mail files unreadable?
Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 22 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 22 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros