In article <%SYjb.1182$(E-Mail Removed)>,
Michael <(E-Mail Removed)> wrote:
>Gregory L. Hansen wrote:
>>>>steel07$ cat .forward
>>>>(E-Mail Removed)
>>>>"~/glhansen/spankyfile"
>>>>"| /usr/local/nmh/lib/slocal -verbose -user glhansen"
>>>>
>> That's kind of disturbing. I hadn't noticed it before, but all the files
>> I create seem by default to be -rw-rw-----. I've changed it and I'm
>> bouncing messages to my IUCF account now, and can save messages in a file
>> now. But slocal still doesn't seem to destroy test messages.
>>
>
>I am not familiar with slocal, but based on
> http://www.busan.edu/~nic/networking...il/ch25_07.htm
>it looks like you are calling it correctly. What do you mean by
>"destroy test messages?" I assume you mean killing the incoming spam?
I've set my .maildelivery file to destroy messages with the subject
"spanky", and I've sent myself some spanky test messages which faithfully
show up in my inbox.
>
> If you want rule based mail filtering, I'd suggest procmail, if
>available on your system. Otherwise, you'll have to try to figure out
This particular system has slocal, not procmail.
>why the spam isn't matching the rules that you configured for slocal.
>Again, I am not familiar with slocal, but you might want to see if there
>is a way to tell it to send unwanted mail to /dev/null, just a thought.
Actually, I might be happy enough just to be able to pipe it to a script.
If I could kill all messages with a 109 KB attachment that will eliminate
hundreds per day (conservative estimate since I don't count the ones that
bounce from a full inbox), and slocal can't filter on attachment sizes.
It would be interesting to keep stats. But I can't seem to pipe it
anywhere. At least, it doesn't pipe to stdout. But I can save into
files now, so I assume .forward is doing things right and I'm not.
--
"Let us learn to dream, gentlemen, then perhaps we shall find the
truth... But let us beware of publishing our dreams before they have been
put to the proof by the waking understanding." -- Friedrich August Kekulé