Ask a Question related to Debian, Design and Development.
-
J. Zidar #1
Procmail partially working
I have setup fetchmail to get my mail from my two pop3 accounts and to be then
processed by procmail. Mail is then processed by Spamassassin, messages that
were found to be spam "should" be moved to oblivion (/dev/null), but nothing
happens. I can still marked spam in my inbox.
What should I do? Is there a permission issue with /dev/null?
Here's my .procmailrc file:
#Take to SA
:0fw
| /usr/bin/spamassassin
#Move flagged spam into the bottomless Unix pit.
:0:
* ^X-Spam-Flag: YES
/dev/null
:0:
* ^X-Spam-Status: Yes
/dev/null
Thanks for any advice.
Jernej
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
J. Zidar Guest
-
[procmail] [sed] [awk] cleaning up mail headers
Not quite sure where to post this ... I am trying to write a command line for procmail that takes the From: header field from an email and cleans... -
Procmail Problem
Hi all, I am sorry if this is not the right forum for this sort of question, it seemed the best match from the forums I had on offer. Hopefully I... -
ProcMail with Perl and MailAudit
Hi! I found a website that explains how to parse the mails with procmail and MailAudit (procmail filter send each message that arrives to my perl... -
Spamassassin and procmail
Hi all, I currently use fetchmail and procmail to get and sort my mail. I'd like to use spamassassin as well, however when I add :0fw:... -
procmail and vacation
In article <3efac72e$0$10836$3b214f66@usenet.univie.ac.at> Martin Paul <martin@par.univie.ac.at> writes: But it still works, doesn't it? I think... -
J. Zidar #2
Re: Procmail partially working
Monday 28 of July 2003 15:14 je &F pisal:
I've done as your suggested an now no spam is seen in my inbox. cute.>On Mon, Jul 28, 2003 at 02:56:38PM +0200, J. Zidar wrote:>:0: says to use a locallockfile, which by default is the destination>> I have setup fetchmail to get my mail from my two pop3 accounts and to
>> be then processed by procmail. Mail is then processed by Spamassassin,
>> messages that were found to be spam "should" be moved to oblivion
>> (/dev/null), but nothing happens. I can still marked spam in my inbox.
>>
>> What should I do? Is there a permission issue with /dev/null?
>>
>> Here's my .procmailrc file:
>> #Take to SA
>>
>> :0fw
>> :
>> | /usr/bin/spamassassin
>>
>> #Move flagged spam into the bottomless Unix pit.
>>
>> :0:
>>
>> * ^X-Spam-Flag: YES
>> /dev/null
>>
>
>filename with $LOCKEXT appended, and you won't be able to write to
>/dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead.
>
>Cheers,
>
>--
>Colin Watson [cjwatson@flatline.org.uk]
Thank you a million,
Jernej Zidar
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
J. Zidar Guest
-
Joey Hess #3
Re: Procmail partially working
Colin Watson wrote:
Better yet don't lock it at all, /dev/null really does not care if two>> > #Move flagged spam into the bottomless Unix pit.
> > :0:
> > * ^X-Spam-Flag: YES
> > /dev/null
> :0: says to use a locallockfile, which by default is the destination
> filename with $LOCKEXT appended, and you won't be able to write to
> /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead.
processes write to it at once.
--
see shy jo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/JUVD3xwsXJZQhyMRAgKJAKCV+dYCXS7hqtuBDvkqJRX0YPEawg CgpVmZ
wK9eO/ormM1T2u6pT3kbCoc=
=AVpW
-----END PGP SIGNATURE-----
Joey Hess Guest
-
Colin Watson #4
Re: Procmail partially working
On Mon, Jul 28, 2003 at 11:46:11AM -0400, Joey Hess wrote:
[somebody broke attributions]> Colin Watson wrote:Obviously I need more coffee :-)>> >> > > #Move flagged spam into the bottomless Unix pit.
> > > :0:
> > > * ^X-Spam-Flag: YES
> > > /dev/null
> > :0: says to use a locallockfile, which by default is the destination
> > filename with $LOCKEXT appended, and you won't be able to write to
> > /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead.
> Better yet don't lock it at all, /dev/null really does not care if two
> processes write to it at once.
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Colin Watson Guest
-
Alan Connor #5
Re: Procmail partially working
> From [email]cjwatson@debian.org[/email] Mon Jul 28 09:51:49 2003
I have heard that it is a bad idea to use lockfiles with /dev/null in procmail.>
>
> On Mon, Jul 28, 2003 at 11:46:11AM -0400, Joey Hess wrote:> [somebody broke attributions]> > Colin Watson wrote:>> >> > > > #Move flagged spam into the bottomless Unix pit.
> > > > :0:
> > > > * ^X-Spam-Flag: YES
> > > > /dev/null
> > >
> > > :0: says to use a locallockfile, which by default is the destination
> > > filename with $LOCKEXT appended, and you won't be able to write to
> > > /dev/null.lock. Try ':0:$HOME/.procmail.spam-lock' or something instead.
> > Better yet don't lock it at all, /dev/null really does not care if two
> > processes write to it at once.
> Obviously I need more coffee :-)
>
> --
> Colin Watson [cjwatson@flatline.org.uk]
>
The source was more than credible but couldn't remember why....
Alan
--
For Linux/Bash users: Eliminate spam from your life
with the Mailbox-Sentry-Program. See the thread
MSP on comp.mail.misc for the latest version.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Alan Connor Guest



Reply With Quote

