LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-16-2010, 11:06 AM   #1
chexmix
Member
 
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 207
Blog Entries: 15

Rep: Reputation: 17
procmail, evolution & mbox format


Good day all,

I am experimenting with procmail for a work project and not getting the behavior I expected.

Here is the .procmailrc file in question:

Code:
MAILDIR=/var/mail/skutch
LOGFILE=/home/skutch/procmail.log

:0
* ^Subject.*Mandelbrot
/home/skutch/evolution/local/Inbox/subfolders/Math
After running the following,

Code:
echo test | mailx -s Mandelbrot skutch
here is what is at the end of procmail.log:

Code:
From skutch@fakedomain.net  Tue Nov 16 11:55:27 2010
 Subject: Mandelbrot
  Folder: /home/skutch/evolution/local/Inbox/subfolders/Math/msg._RoeB      651
... so the mail is getting to the correct Evolution folder, but sitting there as a separate file, not being appended to the mbox file.

I'm not sure exactly how to troubleshoot this & so far Googling has not turned up what I am after ... does this make sense to anyone? Where does the fault lie (apart from between my ears)?

Thanks,

Glenn
 
Old 11-16-2010, 01:50 PM   #2
tsg
Member
 
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
If the action line is a directory, procmail will put the message in a unique file in that directory. If it is a file, it will append it to the file. There is some other magic going on (see man procmailrc), but the short answer is you have to specify the file name if you want all mail go to one file.
 
Old 11-17-2010, 11:44 AM   #3
chexmix
Member
 
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 207
Blog Entries: 15

Original Poster
Rep: Reputation: 17
Thumbs up

Quote:
Originally Posted by tsg View Post
If the action line is a directory, procmail will put the message in a unique file in that directory. If it is a file, it will append it to the file. There is some other magic going on (see man procmailrc), but the short answer is you have to specify the file name if you want all mail go to one file.
Thanks so much.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution mail and mbox files rafitas Linux - Software 1 11-02-2009 12:12 PM
Converting existing users mail format from mbox to maildir? m2azer Linux - Newbie 1 01-12-2009 10:07 AM
procmail not producing mbox format richardhufford Linux - Software 3 12-06-2006 09:00 PM
Evolution share MBOX files maamold Linux - Software 1 01-24-2005 11:47 AM
mbox format raven Programming 0 02-16-2002 06:10 AM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
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