Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
switch over to old mbox files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Target
Guest





PostPosted: Sat Apr 20, 2002 6:10 pm    Post subject: switch over to old mbox files? Reply with quote

I'm the only one using mail on my system and I've already got grep/awk/sed scripts I wrote a while back for mbox format, so... Does anyone know what to toggle in gentoo to switch the default for a system back over to mbox?

I'm using sendmail with procmail. Sendmail I know has no portage package but this system isn't security-critical, sendmail doesn't run as root here and I already have a set of sendmail configuration files tailored just the way I want them.

That said though, sendmail relies on procmail to actually deliver the mail... so it's procmail following a configuration directive or a system default that I haven't found yet and putting the mail in ~/.maildir
Back to top
nick
Guest





PostPosted: Sat Apr 20, 2002 11:29 pm    Post subject: rtfm Reply with quote

take a look at the docs for procmail, they tell you how to deliver to all sorts of mailboxes
Back to top
Target
Guest





PostPosted: Sun Apr 21, 2002 12:35 am    Post subject: Reply with quote

Problem is, procmail doesn't actually have docs of its own beyond a couple of terse readme files in the tarball.

There are plenty of mini-faqs referenced at www.procmail.org and even a documentation project effort, but they just go over tons of regexp for writing spam-filtering recipes. Maybe I'm just getting old, but I've been looking for over a day and can't find what I'm sure is an extremely simple needle in that haystack.
Back to top
nick
Guest





PostPosted: Sun Apr 21, 2002 7:05 am    Post subject: maildor /mbox Reply with quote

http://www.ii.com/internet/robots/procmail/qs/#mailboxFormats

I think this should help, it seems basically that if you instruct procmail to deliver to a mailbox with a slash / at the end of the name it interprets it as a maildir, no slash and its the name of an mbox file

quite subtle and hard to suss unless u know the secret.

sorry i was on my way out when i posted ealier, toherwise i would have found it earlie

good luck
Back to top
Target
Guest





PostPosted: Sun Apr 21, 2002 4:11 pm    Post subject: Reply with quote

I've tried that and thought I must be doing something wrong... Procmail just ignores my procmailrc and delivers in maildir format anyway.

I tracked it back to the actual source code. Portage alters procmail before compile to make it use maildirs. This is all well and good, but I think I would have appreciated a choice in the matter.

If you want something done right... ;)
A manual compile and install took care of it, though it's a shame... I'm straying more and more out of the portage tree just to get things where I want them due to lack of (or lack of knowledge of) install-time options.

Something else I've noticed is that when you install pine with portage, pico behaves like it's drunk. It'll shuffle the characters you've typed out of order if you type quickly (sometimes AFTER the fact, ie: You type H and then i, and the H suddenly jumps in front of the i you just typed)... and the backspace key won't bring you back up to the next line. It starts behaving like a delete when you reach the left side of the screen.
Installing pine manually fixes this.

This is all really starting to make me wonder... what if my system-critical programs are just as quirky and are going to destroy something I need later?
I need to get my spare machine working and try out Sorcerer GNU/Linux alongside Gentoo... see which one is a better fit for me.
Back to top
Nick
Guest





PostPosted: Sun Apr 21, 2002 9:23 pm    Post subject: maildir compiles into procmail Reply with quote

Thats interesting. One thing portage seems to lack is a decent readme on the install options used in each package- just a list of gotchas like this would be great.

I guess you could submit a new procmail ebuild called procmail-mbox or something?
Back to top
Target
Guest





PostPosted: Mon Apr 22, 2002 3:39 am    Post subject: Reply with quote

Simple enough... It's the exact same .ebuild, but with a sed line removed. :p
Back to top
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed May 29, 2002 4:48 pm    Post subject: Reply with quote

Target wrote:

Something else I've noticed is that when you install pine with portage, pico behaves like it's drunk. It'll shuffle the characters you've typed out of order if you type quickly (sometimes AFTER the fact, ie: You type H and then i, and the H suddenly jumps in front of the i you just typed)... and the backspace key won't bring you back up to the next line. It starts behaving like a delete when you reach the left side of the screen.
Installing pine manually fixes this.


I noticed this exact behavior. Made me switch to using vim as my pine editor. While I love vim for file editing, I'm very used to pico for pine email and so it's almost more of a pain in the ass to use vim, mainly because it doesn't start you in insert mode.

Anyone know why pine goes flaky in the first place?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed May 29, 2002 9:19 pm    Post subject: Reply with quote

Target wrote:
I need to get my spare machine working and try out Sorcerer GNU/Linux alongside Gentoo... see which one is a better fit for me.


Tried sorcerer a few times it has potentional but it lacked version management. A few other times the package system got messed-up and I had to re-install everything. Downloading while compiling is a very nice feature. It also maintaince a list of installed files by make install, so some packages only give a description and location of the source (like emacs) that's cool, but installing directly into the root tree is propably why it broke my system in the first place. They should build a mix of the two,.........keep dreaming......, well maybe they have improved but the whole mess with sorcerer splitting up in sorcery linux (or something) and lunar, it just ain't mature....... well I stick with gentoo for now (sorcerer doesn't use gcc 3.1).

Cya, report how it functions, and you might convince me to switch, lX
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum