LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-03-2005, 04:00 AM   #1
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
procmailrc


I have sendmail working with uucp as remote transport and popa3d on Slackware 10.1. I have installed courier-imap. I am trying to move from a mbox to a maildir setup

Now a couple of questions:

I need a procmailrc file to get the local transport to use the maildirs. Where do I put it?

Do I have to create the maildirs manually and if so what is the ownership?

I copied the imapd.dist file to imapd and so on. Is this correct? The man pages and notes just talk about compile time options.
 
Old 06-03-2005, 05:22 AM   #2
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Heavy use og Google and reading files gets me:
1) /etc/procmailrc
sendmail.cf by default is already calling procmail and not mail.local

2) Maildirs in the /home/user/maildir form (qmail at least) must be owned by their parent user
 
Old 06-03-2005, 07:01 AM   #3
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Procmail is doing something and delivering mail to /home/david/Maildir
In the directory I see with ls -l:
from root mail
msg.N david david
cur/ david david
new/ "
tmp/ "

The email client fails to collect or see anything.
The courier pop3d process is running but does not seem to have a proper login chat
pop3d has MAILPATHDIR=Maildir
Should this be ~/Maildir or $HOME/Maildir
 
Old 06-15-2005, 11:07 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
The problem turned out to be that for procmail (and spambayes) the trigger that the mail is stored in maildir, not mbox, format is the trailing slash on the directory name.
So:
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/ <---
is correct
 
  


Reply



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
Whats wrong with this .procmailrc jayakrishnan Linux - Networking 0 11-25-2005 12:31 AM
.procmailrc jayakrishnan Linux - Networking 0 11-19-2005 02:13 AM
Procmailrc file how many do I Need ?? wylie1001 Linux - Software 2 09-07-2005 07:20 PM
procmailrc filter for alias skyfly Linux - Security 1 05-19-2005 04:48 AM
how to use expressions with pattern? .procmailrc realos Linux - Software 4 11-14-2002 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:30 AM.

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
Open Source Consulting | Domain Registration