Dallman Ross | 2 Jan 2001 15:06

Re: Avoiding unnecessary call

> From: Rejo Zenger <subs <at> sisterray.xs4all.nl>

>   :0
>   * ^Envelope-To: stemformulieren <at> sisterray\.xs4all\.nl
>   {
>           :0								
>           * ^Subject: .*\/nl\.[^   ]+					#1
>           { NG = $MATCH }
>   
>           # Is CFV for $NG running? If yes, save in it's directory.	
>           RUNNING=`grep -i ${NG}.*Running ${VOTEDIR}/stemmingen.txt`	#2
>           :0A								#3
>           * RUNNING ?? $NG
>           {
>                   :0c:
>                   $VOTEDIR/$NG/backup/votes
>   
>                   :0:
>                   $VOTEDIR/$NG/votes
>           }
>   
>   	[other recipes here]
>   }
> 
> 
> I have this call (#2) to grep to find out if a $NG and 'running' can be
> found in a specific file. if the recipe just before that call is not
> matched (#1) the recipe at #3 will not be executed. However the call
> will still be done - i understand this.
> 
(Continue reading)

Daisuke Miyagawa | 2 Jan 2001 17:54

Nothing works, no logging.

Hello, I am newbie to procmail.
And I have problem.

Even after I set up procmail and .forward Procmail DIR and so on,
(as many beginners-guide say),
nothing chenges.

Any emails with any subjects come to inbox
 just the same as the case without procmail.

And I looked log file but the log file were not created.
Also I did not recieve any error message.
So I have no idea what to do next.

Something i guess is that ...
my web site is on Vserver system(vserver.com),
where i have "virtual" root, not real root.

Will you give me any helps?
Thank you.

--
Daisuke Miyagawa
mail <at> 31.com
http://31.com
Collin Park | 2 Jan 2001 22:51
Picon

Re: Nothing works, no logging.

Daisuke Miyagawa wrote:
> Even after I set up procmail and .forward Procmail DIR and so on,
> (as many beginners-guide say),
> nothing chenges.

Check the MTA's logfile.  If it's sendmail, you might get a message
like

    forward /home/yourName/.forward: World writable directory

in which case you should correct it (chmod 755 /home/yourName)

...
> Something i guess is that ...
> my web site is on Vserver system(vserver.com),
> where i have "virtual" root, not real root.

Website?  What connection does your website have with email?

--

-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.
Collin Park | 2 Jan 2001 23:08
Picon

Re: Problem with .procmailrc

Sorry about the earlier incomplete msg.

Ravindra Kumar wrote:
...
> Configuration done at client: From client I am runnning fetchmail which =
> downloads all mails from central <at> xyz.com and gives to local user =
> central. I have put one .procmailrc in central's home directory with =
> following lines:
>   :0 c
>   backup    =20
>   :0c
>   * ^To.*user1
>     {
>         :0
>         ! user1 <at> localhost
>     }
>   :0c
>   * ^To.*user2
>     {
>         :0
>         ! user2 <at> localhost
>     }

As Philip said about six weeks ago:
# How many times do I have to say it: YOU CANNOT RELIABLY AND CORRECTLY
# ROUTE EMAIL USING THE ADDRESS(ES) IN THE HEADER.

See:

http://www.xray.mpe.mpg.de/mailing-lists/procmail/2000-11/msg00174.html
(Continue reading)

João Paulo Andrade | 3 Jan 2001 13:38
Picon

allow only *.zip

I am trying to configure the procmail to allow only archives
with extensions *.zip.  which are the rules that I must add?

 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
 >       João Paulo G. de Andrade                  <
 >       joaopaulo <at> unimetro.com.br                 <
 >       Setor de Informática                      <
 >       Unimed Metropolitana de Salvador         <
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
João Paulo Andrade | 3 Jan 2001 15:21
Picon

mimencode and $SECURITY_QUARANTINE

i found this in ftp://ftp.rubyriver.com/pub/jhardin/antispam/html-trap.procmail
what is mimencode and $SECURITY_QUARANTINE ?
which value that I must attribute for $SECURITY_QUARANTINE ?

# Attachment scanning requires mktemp and mimencode.
#
# This is a non-delivering filter recipe unless $SECURITY_QUARANTINE is set.

 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
 >       João Paulo G. de Andrade                  <
 >       joaopaulo <at> unimetro.com.br                 <
 >       Setor de Informática                      <
 >       Unimed Metropolitana de Salvador         <
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
João Paulo Andrade | 3 Jan 2001 16:03
Picon

mimencode and $SECURITY_QUARANTINE

i found this in ftp://ftp.rubyriver.com/pub/jhardin/antispam/html-trap.procmail
what is mimencode and $SECURITY_QUARANTINE ?
which value that I must attribute for $SECURITY_QUARANTINE ?

# Attachment scanning requires mktemp and mimencode.
#
# This is a non-delivering filter recipe unless $SECURITY_QUARANTINE is set.

 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
 >       João Paulo G. de Andrade                  <
 >       joaopaulo <at> unimetro.com.br                 <
 >       Setor de Informática                      <
 >       Unimed Metropolitana de Salvador         <
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <
Kumar Rajneesh Ranjan | 3 Jan 2001 11:32
Picon
Favicon

How to block unwanted Mails

Our system is Linux (Red Hat) with all the users terminals connected to
it.

Problem: 1. We are receiving some Unwanted mails which we want to block
                     How to do this from the Linux Server ?

                2. Users are also sending some mails which we want to
block
                     How to do this from the Linux Server ?

Regards

Nilanjan
nilanjan <at> shrilcal.virtualave.net.in
Bennett Todd | 3 Jan 2001 17:34
Picon

Re: How to block unwanted Mails

2001-01-03-05:32:35 Kumar Rajneesh Ranjan:
> We are receiving some Unwanted mails which we want to block

Start by doing some testing. Create a test account, or use an
account whose email receipt isn't so important to you, and create a
file named ".procmailrc" in its home directory. See the examples in
procmailex(5). Start by trying to write a recipe to file the select
messages into a separate folder. Once you've got that working to the
point where you're confident in it, you have some choices; you can
adjust the recipe to deliver into the folder /dev/null, which will
discard the message; and/or you can install it into /etc/procmailrc
to make it take effect for all users of the system whose email is
delivered using procmail. As a separate decision, if you don't
already have things arranged this way, you can configure most Mail
Transport Agents to use procmail as a local delivery agent for all
local email deliveries. That'll make /etc/procmailrc take effect for
all users, rather than just those who choose to call procmail from
their ~/.forward files.

A couple of pieces of advice re writing filtering recipes.

- I strongly recommend debugging with a test acct, lest you
  inadvertently lose email you care about.

- It's amazingly easy to write a recipe that looks good, but in
  practice ends up matching things you don't want it to; seriously
  consider never ever writing a recipe to /dev/null, always file
  into a separate folder, and if necessary set up additional
  processes to archive or automatically delete the messages in that
  folder. Maildir format folders are often easier for scripts to
(Continue reading)

Alberto Silos Reis | 3 Jan 2001 18:18
Picon
Favicon

Re: mimencode and $SECURITY_QUARANTINE

João Paulo Andrade wrote:

> i found this in ftp://ftp.rubyriver.com/pub/jhardin/antispam/html-trap.procmail
> what is mimencode and $SECURITY_QUARANTINE ?
> which value that I must attribute for $SECURITY_QUARANTINE ?

O_o

This is a nice procmail filter (perl of course). the $SECURITY_QUARANTINE you
should set to "$ANYDIRECTORY/dumpster" for ex. In this file will alocate all mails
filtered.

About mimencode I can't help you now... ok! but I tryed...

[]'s

Gmane