procmail
[Top] [All Lists]

Need Help with recipe

1998-02-09 15:43:22
Hello,

My name is Erdy Suarez. I'm a HPUX sys admin who is trying to set up procmail
as an MDA. I must admit that I am a novice at procmail and sendmail.

I am having a problem with my recipes in my /etc/procmailrc and would appreciate
any help anyone could give. What I would like to be able to do, through the
/etc/procmailrc in our mail server, is to capture a user's mail and properly
redirect it to his/her desktop computer's server.

My problem is that if I have two entries(two users) in my /etc/procmailrc, then
each user receives two copies of the same e-mail, and if I have 3 entries, they
each receive 3 copies, and so on. 

My receipes are as follows:

#Start of user recipes

:0 c :
* ^(To:|Cc:)(_dot_)*bonehead(_at_)tleilax
! bonehead(_at_)redwolf(_dot_)cup(_dot_)hp(_dot_)com

:0 c :
* ^(To|Cc):.*suarez
! suarez(_at_)redwolf(_dot_)cup(_dot_)hp(_dot_)com

:0 c :
* ^(To|Cc):.*erds
! erds(_at_)redwolf(_dot_)cup(_dot_)hp(_dot_)com

My sendmail.cf:

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

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

Mlocal,         P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qm9, S=10/30, R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/usr/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u
Mprocmail,      P=/usr/local/bin/procmail, F=mSDFMhun, S=11, R=21,
                A=procmail -m $h $f $u

Thanks for your help,
Erdy

<Prev in Thread] Current Thread [Next in Thread>