procmail
[Top] [All Lists]

Re: procmail is not running at all

1998-08-13 01:20:46

Hi! 
        I do not have a .forward file in my home directory. I think
procmail is being called ( parts of the sendmail.cf file are attached with
this mail)  I do not really understand the config. 
        The problem I seem to be having is that the rcfile in my home
directory is not being read for some reason. 
        You mentioned something about the permissions and paths.  I am a
newbie and am not really sure about a lot of things but I asked a chap
here, who has used procmail for longer than I have and he couldn't find
anything wrong. 
        I have a VERBOSE=on line in my rcfile but no logs are generated. 
I use pine to read my mail (if that is of any help). 
        My variable settings in the rcfile are as follows:-

.procmailrc begin
===============================================================================
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/pkgs/sendmail/bin 
MAILDIR=$HOME/mail
DEFAULT=$HOME/Mailbox 
BACKUP=/tmp/mydir/mbox.backup 
LOGFILE=$MAILDIR/.log
LOCKFILE=$MAILDIR/.lockmail

VERBOSE=on #VERBOSE=off COMSAT=off

:0c
* ^From.*$
$BACKUP

:0
* ^From(_dot_)*n6002007(_at_)(_dot_)*cc(_dot_)iitb(_dot_)ernet(_dot_)in
INBOX-DHAR

:0 
* 
^From.*(mayur(_dot_)datar(_at_)usa(_dot_)net|datarsd(_at_)pn2(_dot_)vsnl(_dot_)net(_dot_)in)
INBOX-DATAR

===============================================================================
.procmailrc end

On Wed, 12 Aug 1998, era eriksson wrote:

Date: Wed, 12 Aug 1998 17:47:20 +0300 (EET DST)
From: era eriksson <era(_at_)iki(_dot_)fi>
To: "Karthik.G.V.S." <gvsk6up(_at_)ccs(_dot_)iitb(_dot_)ernet(_dot_)in>
Subject: Re: procmail is not running at all

On Wed, 12 Aug 1998 19:02:48 +0000 (IST), "Karthik.G.V.S."
<gvsk6up(_at_)ccs(_dot_)iitb(_dot_)ernet(_dot_)in> wrote:
 >    What could be wrong?

Do you have a .forward file? If not, are you sure Procmail is still
your LDA? Otherwise, are the permissions and paths in it correct?

/* era */

-- 
Bot Bait: It shouldn't even matter whether  (`')  Just  (`')  http://www.iki
I am a resident of the State of Washington   \/ Married! \/   .fi/~era/


                                                               -Karthik         




-rwsr-sr-x   1 root     mail       69312 May  7 00:10 
/pkgs/sendmail/bin/procmail

DAiitb.ernet.in
Dmccs.iitb.ernet.in
........

V7/Berkeley
......

# Configuration version number
DZ8.8.8


######################################################################
######################################################################
#####
#####                   MAILER DEFINITIONS
#####
######################################################################
######################################################################


##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.23 (Berkeley) 5/31/96  #####

Mlocal,         P=/pkgs/sendmail/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, 
R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u

#
#  Envelope sender rewriting
#
S10
R<@>                    $n                      errors to mailer-daemon
R$+                     $: $>50 $1              add local domain if needed
R$*                     $: $>94 $1              do masquerading

#
#  Envelope recipient rewriting
#
S20
R$+ < @ $* >            $: $1                   strip host part

#
#  Header sender rewriting
#
S30
R<@>                    $n                      errors to mailer-daemon
R$+                     $: $>50 $1              add local domain if needed
R$*                     $: $>93 $1              do masquerading

#
#  Header recipient rewriting
#
S40
R$+                     $: $>50 $1              add local domain if needed
#R$*                    $: $>93 $1              do all-masquerading

#
#  Common code to add local domain name (only if always-add-domain)
#
S50
R$* < @ $* > $*         $@ $1 < @ $2 > $3               already fully qualified
R$+                     $@ $1 < @ *LOCAL* >             add local qualification


######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4  8.6 (Berkeley) 4/30/97  #####

Mprocmail,      P=/pkgs/sendmail/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u

#####################################
###   SMTP Mailer specification   ###
#####################################

#####  @(#)smtp.m4      8.33 (Berkeley) 7/9/96  #####

Msmtp,          P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Mesmtp,         P=[IPC], F=mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Msmtp8,         P=[IPC], F=mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h
Mrelay,         P=[IPC], F=mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
                T=DNS/RFC822/SMTP,
                A=IPC $h

#
#  envelope sender rewriting
#
S11
R$+                     $: $>51 $1                      sender/recipient common
R$* :; <@>              $@                              list:; special case
R$*                     $: $>61 $1                      qualify unqual'ed names
R$+                     $: $>94 $1                      do masquerading


#
#  envelope recipient rewriting --
#  also header recipient if not masquerading recipients
#
S21
R$+                     $: $>51 $1                      sender/recipient common
R$+                     $: $>61 $1                      qualify unqual'ed names


#
#  header sender and masquerading header recipient rewriting
#
S31
R$+                     $: $>51 $1                      sender/recipient common
R:; <@>                 $@                              list:; special case

# do special header rewriting
R$* <@> $*              $@ $1 <@> $2                    pass null host through
R< @ $* > $*            $@ < @ $1 > $2                  pass route-addr through
R$*                     $: $>61 $1                      qualify unqual'ed names
R$+                     $: $>93 $1                      do masquerading


#
#  convert pseudo-domain addresses to real domain addresses
#
S51

# pass <route-addr>s through
R< @ $+ > $*            $@ < @ $1 > $2                  resolve <route-addr>

# output fake domains as user%fake(_at_)relay

# do UUCP heuristics; note that these are shared with UUCP mailers
R$+ < @ $+ .UUCP. >     $: < $2 ! > $1                  convert to UUCP form
R$+ < @ $* > $*         $@ $1 < @ $2 > $3               not UUCP form

# leave these in .UUCP form to avoid further tampering
R< $&h ! > $- ! $+      $@ $2 < @ $1 .UUCP. >
R< $&h ! > $-.$+ ! $+   $@ $3 < @ $1.$2 >
R< $&h ! > $+           $@ $1 < @ $&h .UUCP. >
R< $+ ! > $+            $: $1 ! $2 < @ $Y >             use UUCP_RELAY
R$+ < @ $+ : $+ >       $@ $1 < @ $3 >                  strip mailer: part
R$+ < @ >               $: $1 < @ *LOCAL* >             if no UUCP_RELAY


#
#  common sender and masquerading recipient rewriting
#
S61

R$* < @ $* > $*         $@ $1 < @ $2 > $3               already fully qualified
R$+                     $@ $1 < @ *LOCAL* >             add local qualification


#
#  relay mailer header masquerading recipient rewriting
#
S71

R$+                     $: $>61 $1
R$+                     $: $>93 $1
<Prev in Thread] Current Thread [Next in Thread>