Volker Kuhlmann wrote:
On Thu 29 Mar 2007 22:17:06 NZST +1200, Don Gould wrote:
The system is paranoid.
No, you're short of a few insights. procmail is 1000% correct in
ignoring a ~/.procmailrc which is world-writable, as that would allow
the world to trivially make you run any co
On Thu 29 Mar 2007 22:17:06 NZST +1200, Don Gould wrote:
> The system is paranoid.
No, you're short of a few insights. procmail is 1000% correct in
ignoring a ~/.procmailrc which is world-writable, as that would allow
the world to trivially make you run any command they please. Why
The system is paranoid.
# tail -f /var/log/maillog
Showed up: procmail[24436]: Suspicious rcfile "/home/don/.procmailrc"
Google found this link:
http://www.cyberciti.biz/faq/procmail-suspicious-rcfile-message-homeuserprocmailrc-solution/
Once I changed the ownership and permissi
Thanks Nick,
I do have verbose on. I hadn't thought to tail it. However it's not
writing to it anyway.
John is right, I was using root on my laptop to write to the file
so shoot me.
I'll back out the changes and readd them one at a time.
Cheers Don
Nick Rout wrote:
On Monday 05 Feb
WHO'S THAT WALKING OVER MY MAIL FILTER!!
On Mon, 5 Feb 2007, Nick Rout wrote:
On Monday 05 February 2007 15:44, Don Gould wrote:
I think the permissions fixed half the problem, but it's still not
working quite right.
Now my problem is I'm not getting enough mail thru [1] to be able to
test it
On Monday 05 February 2007 15:44, Don Gould wrote:
> I think the permissions fixed half the problem, but it's still not
> working quite right.
>
> Now my problem is I'm not getting enough mail thru [1] to be able to
> test it.
You've not told us exactly what you added to the file that screwed it u
I think the permissions fixed half the problem, but it's still not
working quite right.
Now my problem is I'm not getting enough mail thru [1] to be able to
test it.
I've flicked back to MS XP because it's the best [2] test platform for
this sort of problem.
Cheers Don
[1] [2] - not that
Just discovered that the mdv2007 tool I was using to edit the file set
the permissions to root only. Suspect the mail system couldn't read it.
Now just waiting for some mail so I can see it working.
Cheers Don
Don Gould wrote:
Can anyone see what I've done wrong?
I added a bunch of new item
The enteries below
>> :0
>> * ^(To|Cc):.*nzoss\.org\.nz
>> NZOSS
were working just fine until I added the latest one.
chris bayley wrote:
Your destination folder depends on the type of IMAP server you have -
there are several formats:
Traditional
Unix mbox format
--
Your destination folder depends on the type of IMAP server you have -
there are several formats:
Traditional
Unix mbox format
maildir format
--
Can anyone see what I've done wrong?
I added a bunch of new items at the top of the file and now all my mail
is ending up in my inbox.
LOGFILE=/home/don/procmail.log
VERBOSE=on
MAILDIR=$HOME/mail
:0
* ^(To|Cc):.*lists\.wellylug\.org\.nz
LUGS
:0
* ^(To|Cc):[EMAIL PROTECTED]
LUGS
:0
* ^(To|
On Wed, 02 Aug 2006 13:10, Carl Cerecke wrote:
> On 02/08/06, Don Gould <[EMAIL PROTECTED]> wrote:
> [...]
>
> > you're filing up my inbox with crap arse
> > ansawers that demonstrated you didn't read half the question.
>
> I've always filtered each list I belong to into its own folder, so
> they d
On 02/08/06, Don Gould <[EMAIL PROTECTED]> wrote:
[...]
you're filing up my inbox with crap arse
ansawers that demonstrated you didn't read half the question.
I've always filtered each list I belong to into its own folder, so
they don't fill up my inbox. Most mail clients will do that.
Cheers,
Steve Holdoway wrote:
Should be pretty simple for cleaver prople.
Oh, that would be more OT sarcasum...
:0
* your favourite posters name
/dev/null
that much I can do, that much was talked about last week... it was you
that posted.
See why I get pissed... you're filing up my inbox with
On Wed, 02 Aug 2006 10:16:39 +1200
Eliot Blennerhassett <[EMAIL PROTECTED]> wrote:
> On Wed, 02 Aug 2006 01:42, Don Gould wrote:
> > I would like to enhance my mail filter to remove all messages from a set
> > of posters to this list.
>
> I suspect many of us are working on this right now...
>
>
On Wed, 02 Aug 2006 01:42, Don Gould wrote:
> I would like to enhance my mail filter to remove all messages from a set
> of posters to this list.
I suspect many of us are working on this right now...
Bye Don.
I would like to enhance my mail filter to remove all messages from a set
of posters to this list.
I would like to further filter out any responses to messages from other
posters.
I know that the message headers are serilised.
What I don't know how to do, is how do I keep track of thread seri
On Tuesday 27 June 2006 22:36, Don Gould wrote:
> Why are your folders hidden?
. (dot) is a hierarchy separator for folders in some IMAP servers. They aren't
hidden if you access it via the IMAP protocol, which you should be.
--
I used to think romantic love was a neurosis shared by two, a supr
On Tue, 27 Jun 2006 22:36:51 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
> Thanks Steve
>
> Steve Holdoway wrote:
>
> >
> >1. Are you using maildir format? (Yes, I answered my own question further
> >down ) If so, the slashes are going the wrong way.
> >
> >
> >
> I took them off.
>
> >:0
> >
/
is the same as
:0
* ^TO_foo
.foo/
Just a few things that someone might find useful. My procmailrc is 2KB and 200
lines.
Later
Lee Begg
pgpyeGrisuFZU.pgp
Description: PGP signature
Thanks Steve
Steve Holdoway wrote:
1. Are you using maildir format? (Yes, I answered my own question further down
) If so, the slashes are going the wrong way.
I took them off.
:0
* ^(To|Cc):.*
CLUG\
This rule *should* match everything with a To: or Cc: line in it, making the
rest of
Where did you get the idea of using backslashes on folder names from?
Use forward slashes instead if you mean maildir format.
Your problem is with treating the regular expressions procmail is
expecting in your filter lines (those lines starting with an asterisk)
only partially as regular expressio
pointless. Not too sure why it isn't
:0
* ^Subject:.*[webmin-l]
Webmin\
Square brackets have a special meaning ( look for one of the following
characters ). This is why it's picking everything up. Escape them with a \
Here are a few examples from my .procmailrc, which delivers to the usua
> Sorry about the don't <-> done thing..
Yes we can all spot the typos, now where's your problem description?
> I provided a link to a page with both those files on it, is that not the
> same as providing the files for download?
Web-board-mangled is not the same, I'm afraid.
Email it to me plea
st of the time.
What have I don't wrong?
You have done wrong with not giving a usable description of the problem.
Your ~/.procmailrc for download would help.
The backslashes at the end of folder names look suspicious to me.
In principle, debugging in procmail is done by adding
VER
> You'll see that the mail ends up in my webmin folder most of the time.
>
> What have I don't wrong?
You have done wrong with not giving a usable description of the problem.
Your ~/.procmailrc for download would help.
The backslashes at the end of folder names look su
See:
http://www.tcn.bowenvale.co.nz/index.php?option=com_content&task=view&id=22&Itemid=8
You'll see that the mail ends up in my webmin folder most of the time.
What have I don't wrong?
Cheers Don
> However, why not just use (to|cc):[EMAIL PROTECTED]
Don't do that, finishing anything with "any string at all" anchored to
"end of line" is a waste of time. Comparison stops when the pattern
mismatches, or when the pattern runs out, which gives a match. Same as
sed, grep, and everything else.
V
> and my rule is (to|cc)*.:[EMAIL PROTECTED]
Read that again carefully ;), then make it
* ^(to|cc):[EMAIL PROTECTED]
Understanding regular expressions is well worth the effort!
Btw the @ is not a special character and shouldn't be quoted.
Volker
--
Volker Kuhlmann is list057
On Sun, 09 Apr 2006 23:13:17 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
> Thanks Steve,
>
> I think that my criteria are also expecting a direct == match on the cc
> or to and not 'contains'.
>
> If the message is sent cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> and my rule is (to|cc)*.:[EMAIL P
Thanks Steve,
I think that my criteria are also expecting a direct == match on the cc
or to and not 'contains'.
If the message is sent cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
and my rule is (to|cc)*.:[EMAIL PROTECTED]
then the message is ignored.
Thoughts?
Cheers Don
Steve Holdoway wrote:
On Sun, 09 Apr 2006 19:54:00 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
> I'm getting mail turning up in the inbox when it shouldn't be.
>
> Can anyone spot what I've done wrong?
>
> I'm not sure I've got the folder names right where they've got spaces in
> them... eg NZ Nog, NA Nog
>
> Cheer
I'm getting mail turning up in the inbox when it shouldn't be.
Can anyone spot what I've done wrong?
I'm not sure I've got the folder names right where they've got spaces in
them... eg NZ Nog, NA Nog
Cheers Don
LOGFILE=/home/don/procmail.log
VERBOSE=on
MAILDIR=$HOME/mail
:0
* ^(To|Cc):[E
Ok
1. mailbox_command was not set in main.cf
2. ownership of .procmailrc was wrong (chown don:don .procmailrc )
3. rights on .procmailrc was wrong (chmod 0700 .procmailrc )
Restart postfix
Watch filtering happen correctly :)
Thanks everyone for your patiants while I get this right
test to self for clug...
I got it working for a test to my test account
Don Gould wrote:
http://www.clarkconnect.com/wiki/index.php?title=Modules_-_Maildrop
Hadley Rich wrote:
On Wednesday 05 April 2006 17:41, Don Gould wrote:
maildrop is picking up mail from pop accounts
Do you have
not really... good reason to get some good backups running.
right now I'm more interested in just getting all the stuff working and
understanding how to do it.
Steve Holdoway wrote:
On Wed, 05 Apr 2006 17:41:19 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
[snip]
Given that your box has alr
http://www.clarkconnect.com/wiki/index.php?title=Modules_-_Maildrop
Hadley Rich wrote:
On Wednesday 05 April 2006 17:41, Don Gould wrote:
maildrop is picking up mail from pop accounts
Do you have a link to the maildrop you are using? The only maildrop that I
know of (which I just happen
On Wednesday 05 April 2006 17:41, Don Gould wrote:
> maildrop is picking up mail from pop accounts
Do you have a link to the maildrop you are using? The only maildrop that I
know of (which I just happen to be using at the moment) is a filtering mail
delivery agent i.e does the same thing as proc
On Wed, 05 Apr 2006 17:41:19 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
[snip]
Given that your box has already been hacked once, are you *SURE* you want to
leave your mail on your firewall?
I don't.
Steve.
Volker Kuhlmann wrote:
Mail server is postfix
~/.procmailrc is read every time procmail is called to process an email.
You still have to ensure procmail is called for delivering emails
locally. This used to be always configured as such on Linux systems a
few years ago, but these days you
> >No, the file is read every time a message arrives.
Uhh, no.
> or not in my case... errr... wonder what I've done wrong
~/.procmailrc is read every time procmail is called to process an email.
You still have to ensure procmail is called for delivering emails
locally. This use
caterbury is spelt wrongly
try adding:
LOGFILE=/home/don/procmail.log
then tail -f /home/don/procmail.log
and watch some mail come in.
On Wed, 05 Apr 2006 17:18:55 +1200
Don Gould wrote:
> MAILDIR=$HOME/mail
>
> :0
> * ^To:[EMAIL PROTECTED]
> $MAILDIR/.CLUG/
>
>
> thoughts anyone?
>
>
>
MAILDIR=$HOME/mail
:0
* ^To:[EMAIL PROTECTED]
$MAILDIR/.CLUG/
thoughts anyone?
Don Gould wrote:
Steve Holdoway wrote:
No, the file is read every time a message arrives.
or not in my case... errr... wonder what I've done wrong
Steve Holdoway wrote:
No, the file is read every time a message arrives.
or not in my case... errr... wonder what I've done wrong
No, the file is read every time a message arrives.
Steve
On Wed, 05 Apr 2006 17:06:24 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
> Do I have to restart anything or should the mailer just pick this up
> with each new message?
>
> Cheers Don
>
> Steve Holdoway wrote:
> > On Wed, 05 Apr 2006 16:
Do I have to restart anything or should the mailer just pick this up
with each new message?
Cheers Don
Steve Holdoway wrote:
On Wed, 05 Apr 2006 16:25:42 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
I want to move mail "to" linux-users@it.canterbury.ac.nz to a folder
called CLUG.
:0
* ^From
> :0
> * ^From:[EMAIL PROTECTED]
> CLUG
>
> Does the above seem like the correct syntax?
Syntax correct, regular expression useless on two counts...
You forgot the * after the om:.
You can not use From: to identify mailing lists.
This works, but I'm using it only for historic reasons:
:0
* ^Com
test
Don Gould wrote:
I want to move mail "to" linux-users@it.canterbury.ac.nz to a folder
called CLUG.
:0
* ^From:[EMAIL PROTECTED]
CLUG
Does the above seem like the correct syntax?
I'm reading thru the man pages but it's not making much sense to me...
I don't want to copy it (hence leavin
On Wed, 05 Apr 2006 16:25:42 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
> I want to move mail "to" linux-users@it.canterbury.ac.nz to a folder
> called CLUG.
>
> :0
> * ^From:[EMAIL PROTECTED]
> CLUG
>
> Does the above seem like the correct syntax?
>
> I'm reading thru the man pages but it's n
Nick Rout wrote:
What type of mail store are you using? the invocation is different
depending on whether it is mbox or maildir.
no idea. how do I work that out? it's just what ever cc installed by
default.
you also need to escape some characters, viz:
:0
* ^From:[EMAIL PROTECTED]
CLUG
What type of mail store are you using? the invocation is different
depending on whether it is mbox or maildir.
you also need to escape some characters, viz:
:0
* ^From:[EMAIL PROTECTED]
CLUG
also you shouldn't filter on the To address, choose something peculiar
to the list. Try the comments o
I want to move mail "to" linux-users@it.canterbury.ac.nz to a folder
called CLUG.
:0
* ^From:[EMAIL PROTECTED]
CLUG
Does the above seem like the correct syntax?
I'm reading thru the man pages but it's not making much sense to me...
I don't want to copy it (hence leaving a copy in the inbox) I
> > Perhaps you should reassess your overall setup?
> Don't you think that this might be what I am doing?
There was no reason to think that. People often want to do X and get
stuck with implementation A, when implementation B is altogether easier.
Volker
--
Volker Kuhlmann is po
On Thu, January 19, 2006 12:06 pm, Volker Kuhlmann wrote:
>> Does anyone know a way of forcing the local ~/.procmailrc to take
>> precedence over the system-wide /etc/procmailrc? At the moment it wseems
>> to be the other way round.
>
> I don't believe the man p
> Does anyone know a way of forcing the local ~/.procmailrc to take
> precedence over the system-wide /etc/procmailrc? At the moment it wseems
> to be the other way round.
I don't believe the man page of procmail is inaccurate:
If no rcfiles and no -p have been specified on th
Listers,
Does anyone know a way of forcing the local ~/.procmailrc to take
precedence over the system-wide /etc/procmailrc? At the moment it wseems
to be the other way round.
I'm curently using v3.22.
Cheers,
Steve
--
Work like you don't need the money,
Love like your heart has
56 matches
Mail list logo