View previous topic :: View next topic |
Author |
Message |
thegarbageman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5706258253e6d198b95109.png)
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Mon Sep 09, 2002 9:22 pm Post subject: problem with fetchmail/procmail/mutt |
|
|
I am having a problem reading my mail with mutt. I am using ssmtp, fetchmail and procmail. I am using fetchmail to retreive messages from a POP account, each of which are ending up as a file named msg.???? in my ~/.maildir folder. When I run mutt, it does not display a list of these messages, as I imagine they need to be placed in the ~/.maildir/new folder. I have read both the Gentoo Desktop Config Guide and have read every forum thread with both "mutt" and "fetchmail" in the search results. And I have searched Google. Does anyone know what I have missed? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rac Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42db5dbb3e1c92424d747.jpg)
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Sep 10, 2002 8:35 am Post subject: |
|
|
Moving from Off The Wall, which is a zany discussion forum, to Networking and Security, as I think email qualifies as a networking issue. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blunted Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/18424cf63d332d181bb7f.jpg)
Joined: 21 Jun 2002 Posts: 89 Location: Winnipeg, MB
|
Posted: Tue Sep 10, 2002 4:50 pm Post subject: |
|
|
I'm also having this issue.
I read that the way you specify the folder the mail should delivered to is important (the / on the end of IN-gentoo is supposed to mean I use the maildir format). My procmail recipe is as follows...
Code: | :0
* ^TO_gentoo
IN-gentoo/
|
Each new e-mail procmail delivers is a single file, which would suggest that procmail is trying to deliver the mail in MH format, maybe as a backup method because I haven't configured something properly. I told fetchmail to use procmail as a mda but I suspect (?) that won't work if postfix has been using the .maildir . Do I need to set up postifx to use procmail as a preprocessor or should procmail be able to do the job? ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thegarbageman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5706258253e6d198b95109.png)
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Wed Sep 11, 2002 9:34 pm Post subject: procmail |
|
|
add this to ~/.procmailrc (At least this is how I took care of it)
Code: | DEFAULT=$HOME/.maildir/new
|
Apparently you can't use "~" in place of "$HOME". Procmail won't accept it.
I haven't installed postfix at all, BTW. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Xor Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 07 Jul 2002 Posts: 144
|
Posted: Thu Sep 12, 2002 3:36 pm Post subject: |
|
|
this may work.... but it's playin wrong... this wourld mean that "new" is a mailbox file... in fact it's a subdir in a maildir... thich in general you don't have to bother with.... as said before just append a / at the end of your maildir and all should be fine.... I use postfix-smtp/courier-imap/mutt/fetchmail/squirrel/procmail (on OpenBSD) and it work's real fine.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scottro Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/0c2c327c3d60ec8dd3c4a.jpg)
Joined: 13 Apr 2002 Posts: 141 Location: New York City
|
Posted: Mon Sep 16, 2002 5:21 pm Post subject: |
|
|
Sounds a bit wacky there.
I have a doc post called Mutt and the Single User which might be of use at
https://forums.gentoo.org/viewtopic.php?t=1085
It's not for use with Postfix, but still might have some value--somwhere in the middle is a part about Procmail folders and such
Scott |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adv n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Sep 2002 Posts: 1
|
Posted: Mon Sep 16, 2002 5:39 pm Post subject: Need some more information |
|
|
Could you please post your .procmailrc, .muttrc and .fetchmailrc files?
Some of the key things to have in your .procmailrc file would be:
Code: |
MAILDIR=$HOME/Maildir/
|
and make sure each receipe ends with a / such as :
Code: |
:0c
* ^From.*bugzilla-daemon
$MAILDIR/.Lists.Bugzilla/
|
Then for your .muttrc file, make sure you specify:
Code: |
set spoolfile=~/Maildir
set mbox_type=Maildir
|
That's all the help I can give you for now until your post your config files.
A |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blunted Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/18424cf63d332d181bb7f.jpg)
Joined: 21 Jun 2002 Posts: 89 Location: Winnipeg, MB
|
Posted: Wed Sep 18, 2002 5:32 pm Post subject: |
|
|
Specifying $MAILDIR in my procmail recipies for each rule fixed the problem, I'll have to wait and see if my next gentoo email get's delivered to the right place. General email does now.
Before Code: | :0
* ^TO_cygwin
cyg/
:0
* ^TO_gentoo
gen/
:0
* ^TO_.*.
|
After Code: | :0
* ^TO_cygwin
$MAILDIR/cyg/
:0
* ^TO_gentoo
$MAILDIR/gen/
:0
* ^TO_.*.
$MAILDIR/
|
Using :0c makes the mail get delivered in the msg.xxx format, so I left that off. Thanks adv. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zpiro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Jun 2002 Posts: 26 Location: Norway
|
Posted: Thu Sep 26, 2002 1:10 am Post subject: still not working for me |
|
|
Im using procmail fetchmail ssmtp and mutt.
Im using the same ssmt.conf and revaliases files.
Same with .procmail and .fetchmail files....
as i were with gentoo 1.2
Ive modified them after what has been sugested here, and hasnt worked for me. im still getting mail in the msg.xxx format. or MH format?
So The only things thats different is that, it worked with gentoo 1.2 for me.
And when i installed gentoo 1.4_rc1 it broke. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zojas Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/18dd09e23cc8912744049.png)
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Thu Sep 26, 2002 10:36 pm Post subject: |
|
|
I had this problem too! the solution for me was to note that the procmail emerge was failing to create a /etc/procmailrc file.
here's its contents:
Code: | # Use maildir-style mailbox in user's home directory
DEFAULT=$HOME/.maildir/
|
in my ~/.procmailrc, I had
Code: | MAILDIR=$HOME/.maildir
|
I tried putting the '/' at the end of MAILDIR in my ~/.procmailrc and it didn't fix it. but the /etc/procmailrc did!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ArturoC[R2] n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Cartman2.jpg)
Joined: 01 Oct 2002 Posts: 1 Location: Houston, TX
|
Posted: Thu Oct 10, 2002 4:08 pm Post subject: |
|
|
Quote: | I tried putting the '/' at the end of MAILDIR in my ~/.procmailrc and it didn't fix it. but the /etc/procmailrc did!! |
Rather than add a procmailrc to /etc with the DEFAULT var in it, I added "DEFAULT=$HOME/.maildir/ line to my .procmailrc
Works ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|