* Re: pb with procmail
[not found] <tcsn5nu0r8.fsf@lam.dev33.cvf>
@ 2002-04-22 19:17 ` Kai Großjohann
[not found] ` <tc1yd6g9f4.fsf@lam.dev33.cvf>
0 siblings, 1 reply; 4+ messages in thread
From: Kai Großjohann @ 2002-04-22 19:17 UTC (permalink / raw)
Lam <lam-no-spamm-thanks@nospam.org> writes:
> (setq gnus-use-procmail t)
> (setq nnmail-use-procmail t)
> (setq nnmail-spool-file 'procmail)
> (setq nnmail-procmail-directory "~/incoming")
> (setq nnmail-procmail-suffix "")
The above appears obsolete, for Gnus 5.7 and lower.
> (setq mail-sources
> (list '(directory
> :path "~/incoming"
> :suffix ""
> )
> )
> )
This means read from the ~/incoming directory (and nowhere else!).
>
> i create the directory ;
>
> < lam > ls -alF incoming/
> total 12
> drwxrwxr-x 2 lam 1000 4096 Apr 22 18:51 ./
> drwxr-xr-x 128 lam 1000 8192 Apr 22 18:53 ../
>
>
> i receive my mail with fetchmail (it's ok for /var/spool/mail/lam)
> but i can't read the new mail with gnus
Gnus isn't reading from /var/spool/mail. Add another entry to
mail-sources:
(setq mail-sources
(list '(directory ...)
'(file :path "/var/spool/mail/lam")))
Does that work?
kai
--
Silence is foo!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pb with procmail
[not found] ` <tcsn5mh5k8.fsf@lam.dev33.cvf>
@ 2002-04-23 16:04 ` Lam
2002-04-23 16:13 ` Nicolas Kowalski
2002-04-23 16:55 ` Rémi Letot
0 siblings, 2 replies; 4+ messages in thread
From: Lam @ 2002-04-23 16:04 UTC (permalink / raw)
Lam <lam-no-spamm-thanks@nospam.org> a écrit le mardi 23 avril 2002 :
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) a écrit le mardi 23 avril 2002 :
>
>> Lam <lam-no-spamm-thanks@nospam.org> writes:
>>
>>> in fact i try this :
>>>
>>> (setq mail-sources
>>> (list '(directory :path "/home/lam/incoming" :suffix "")
>>> '(directory :path "/var/spool/mail/lam" :suffix "")))
>>
>> Why didn't you try what I suggested before? See below.
>>
>>>> Gnus isn't reading from /var/spool/mail. Add another entry to
>>>> mail-sources:
>>>>
>>>> (setq mail-sources
>>>> (list '(directory ...)
>>>> '(file :path "/var/spool/mail/lam")))
>>
>> I think this will work. Please try this and tell me if it fails.
>
> oups in fact i make an error i would use your solution
> now i have this :
>
> (setq mail-sources
> (list '(directory :path "/home/lam/incoming" :suffix "")
> '(file :path "/var/spool/mail/lam" :suffix "")))
>
> so i remove in .gnus my mail-splitting
> now i can read my new mail, but all of theses are going into mail:misc
> do i think that gnus don't use procmail to split mail ?
i try some configurations :)
1- fetchmail + procmail , gnus
in .fetchmailrc i write this :
mda "/usr/bin/procmail -Y"
so in my directory i have this :
< lam > ls incoming/
Divers/
< lam : nlamirault > ls incoming/Divers/
cur/ new/ tmp/
< lam > ls incoming/Divers/new/
1019576510.20874_1.lam 1019577019.20981_1.lam
I understand the directory Divers (it comes from my .procmailrc
filter), but the others non ! why i have this repertory ?
1- fetchmail without procmail, gnus
in .gnus :
(setq mail-sources
(list '(directory :path "/home/lam/incoming" :suffix "")
'(file :path "/var/spool/mail/lam" :suffix "")))
with this all mails arrived in mail:misc in topic group !
because i think gnus read directly from /var/spool/mail/lam and not in
/home/lam/incoming
But if i delete the line ("file :path "/var/spool/mail/lam" :suffix
"")
i can't read my mails !
=====> a little disappointed !
I don't understand
--
Lam
"Un autre jour en france, des prieres pour l'audiance, et quelques
fachisants autour de 15%, Charly defends moi !" (Noir Desir)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pb with procmail
2002-04-23 16:04 ` Lam
@ 2002-04-23 16:13 ` Nicolas Kowalski
2002-04-23 16:55 ` Rémi Letot
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Kowalski @ 2002-04-23 16:13 UTC (permalink / raw)
Lam <lam-no-spamm-thanks@nospam.org> writes:
> < lam : nlamirault > ls incoming/Divers/
> cur/ new/ tmp/
> < lam > ls incoming/Divers/new/
> 1019576510.20874_1.lam 1019577019.20981_1.lam
This means your ~/.procmailrc is using Maildirs. This is NOT what Gnus
expects. It needs spool files, not maildirs. Please, use the following
information.
In your ~/.procmailrc, write recipes like this :
MAILDIR=$HOME/incoming
:0:
* ^WHATEVER_YOU_WANT
mailbox
:0
* ^ANOTHER_YOU_WANT
mailbox2
...
Now, put in your ~/.gnus lines like :
(setq mail-sources '((file)
(directory :path "~/incoming" :suffix "")))
> I don't understand
Hope this helps.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pb with procmail
2002-04-23 16:04 ` Lam
2002-04-23 16:13 ` Nicolas Kowalski
@ 2002-04-23 16:55 ` Rémi Letot
1 sibling, 0 replies; 4+ messages in thread
From: Rémi Letot @ 2002-04-23 16:55 UTC (permalink / raw)
Lam <lam-no-spamm-thanks@nospam.org> writes:
> Lam <lam-no-spamm-thanks@nospam.org> a écrit le mardi 23 avril 2002 :
<couic>
> 1- fetchmail + procmail , gnus
>
> in .fetchmailrc i write this :
>
> mda "/usr/bin/procmail -Y"
>
> so in my directory i have this :
>
> < lam > ls incoming/
> Divers/
> < lam : nlamirault > ls incoming/Divers/
> cur/ new/ tmp/
> < lam > ls incoming/Divers/new/
> 1019576510.20874_1.lam 1019577019.20981_1.lam
>
> I understand the directory Divers (it comes from my .procmailrc
> filter), but the others non ! why i have this repertory ?
Ok, you have maildirs, which is good. But you have to tell gnus to use
maildirs instead of other types of spools. Search for info about
nnmaildir, which is the mail backend you have to use.
It's quite easy to set up, contact me if you can't figure it out.
--
Rémi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-23 16:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tcsn5nu0r8.fsf@lam.dev33.cvf>
2002-04-22 19:17 ` pb with procmail Kai Großjohann
[not found] ` <tc1yd6g9f4.fsf@lam.dev33.cvf>
[not found] ` <vafznzuu4bs.fsf@lucy.cs.uni-dortmund.de>
[not found] ` <tcwuuy62u5.fsf@lam.dev33.cvf>
[not found] ` <vafofgah8jy.fsf@lucy.cs.uni-dortmund.de>
[not found] ` <tcsn5mh5k8.fsf@lam.dev33.cvf>
2002-04-23 16:04 ` Lam
2002-04-23 16:13 ` Nicolas Kowalski
2002-04-23 16:55 ` Rémi Letot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).