LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-28-2009, 07:23 AM   #1
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Rep: Reputation: 0
.procmailrc MAILDIR=$HOME/Maildir not working?


Hi

I have set up procmail to filter my incoming emails and the recipes are working in the sense that they are splitting into the individual mailboxes or the inbox but they are all going to my HOME folder rather than HOME/Mail

I have:-

VERBOSE=on
PATH=/usr/bin::/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/inbox
LOGFILE=$MAILDIR/log

There are no errors in the log file which also goes to my HOME directory and I have tried changing the permissions on the "Mail" folder to all rwx to see if that made any difference. It didn't.

This is in Fedora Core 10.

Can anyone tell me what I am missing here?

Paul
 
Old 01-28-2009, 08:07 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Is mail owned by the user?
do
chmod 755 Mail
 
Old 01-28-2009, 08:23 AM   #3
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Yes. I have changed permission and now reads.

drwxr-xr-x 2 paul paul 4096 2009-01-26 16:51 Mail

Sent a test email to myself that still ended up in HOME/inbox
 
Old 01-28-2009, 08:31 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Take a look in the logfile for errors
try to remove the directory, and recreate it
what is the procmail rule you are using?
 
Old 01-28-2009, 08:56 AM   #5
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
>Take a look in the logfile for errors

Had a look in there and it said.

procmail: No match on "^X-list: finservukecomm-list@silverquick.com"
procmail: No match on "^X-list: finservuk-list@silverquick.com"
procmail: No match on "^X-list: finservukoracle-list@silverquick.com"
procmail: Locking "./inbox.lock"
procmail: Assigning "LASTFOLDER=./inbox"
procmail: Opening "./inbox"
procmail: Acquiring kernel-lock
procmail: Unlocking "./inbox.lock"
procmail: Notified comsat: "paul@0:././inbox"
From park.investments@talktalk.net Wed Jan 28 13:19:05 2009
Subject: test
Folder: ./inbox

>try to remove the directory, and recreate it

Wow! I removed it, recreated it and chmod 755'd it. That worked thankyou, but I don't know why?

Looks the same to me

drwxr-xr-x 2 paul paul 4096 2009-01-28 13:49 Mail
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maildir problems... imapd cant see the maildir of user vargadanis Linux - Networking 2 04-20-2008 09:57 AM
Script to backup Maildir emails within home areas GuyWood13 Programming 7 04-17-2008 07:12 AM
ERR this user has no $home/maildir gooseygander Linux - Newbie 3 12-14-2007 09:49 AM
Where is Maildir satimis Linux - Server 5 10-30-2007 07:23 PM
qmail/vpopmail not putting mails in /home/vpopmail/domain/$USER/Maildir kikola Slackware 0 10-10-2006 09:52 AM


All times are GMT -5. The time now is 11:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration