[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Question about procmail
From:       Graziano Sommariva <sommariva () ebi ! it>
Date:       1998-09-25 12:16:53
[Download RAW message or body]

hello,

I'm trying to configure procmail as a e-mail filter to add a 
"Return-Receipt-To" header on e-amil to a specified domain.
I'm folowing the help about procmail.

I'm using sendmail 8.8.8 .

I put this in the Rule 0 in sendmail.cf:

# Filter ccmgtway.costa.it througth Procmail
R$*<@ccmgtway.costa.it>$*       $#procmail $@/etc/procmailrcs/ccmail.rc $:$1@ccm
gtway.costa.it.procmail $2
R$*<@$*.procmail>$*             $1<@$2>$3       Already filtered, map back

The procmail Mailer is:

Mprocmail,      P=/usr/local/bin/procmail, F=mSDFMhun, S=11, R=21,
                A=procmail -m $h $f $u

The file /etc/procmailrcs/ccmail.rc is:

# Please check if all the paths in PATH are reachable, remove the ones that
# are not.

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=/var/mail       # You'd better make sure it exists
VERBOSE=on

LOGFILE=/usr1/procmail.log

:0 fh
* ^From:.
|formail -a "Return-Receipt-To: sommariva@ste3.ebi.it"

:0 fh
* ^From:.
|formail  -I 'From '

:0                              # pass along all other mail
! -oi -f "$@"


In this configuration "$@" has value NULL an the sendmail claims that there is 
noe recipient.

Please help me.

Best Regards,

---------------\|/
--------------(@ @)
----------oOO--(_)--OOo---------
          ```       '''     
Sommariva Graziano    
    
Elsag Bailey Informatica    
Via Pieragostini 50
16151 Genova
ITALY
    
Phone:  ++39.010.6554743  
Fax:    ++39.010.6554775  
E-mail: sommariva@ebi.it
WWW:    http://www.ansaldo.it/~gsommar



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic