"Satya" == Satya <satyap(_at_)satya(_dot_)virtualave(_dot_)net> writes:
Satya> On Jun 8, 2001 at 21:31, M.A. Powe wrote:
>> something like this:
>>
>> :0: * ^TOtest2(_at_)trollope(_dot_)org * !^X-Loop:
test2(_at_)trollope(_dot_)org |
>> (/usr/bin/formail -A"X-Loop: test2(_at_)trollope(_dot_)org")\ |
>> "/usr/sbin/sendmail -oi -- test2"
>> `test2' is the sendmail alias that redirects the mail to the
>> software. This recipe generates `program error (127)' so I
>> know
Satya> I take the list addresses and ! them to the sendmail
Satya> (actually, postfix, but I was doing it with sendmail, too)
Satya> via the aliases file:
Satya> For example: :0: * ^TO_engrs(@|-.*@)satya.virtualave.net {
Satya> :0: engrs.dupes * ^(List-Id|Resent-From):.*engrs
Satya> mail/duplicates
Satya> :0: * ^TO_engrs(_at_)satya(_dot_)virtualave(_dot_)net !
engrs(_at_)localhost
Satya> #(etc.) }
Thank you very much for the help. I was able to get it working after
some mucking around. I really appreciate the help. And so do my list
members. You helped us break free of the dreaded yahoogroups
nightmare.
Here is what I have set up:
######################
# mail to the list
######################
:0:
* ^TOtrollope-l(_at_)trollope(_dot_)org
{
:0:
* ^(List-Id|Resent-From):.*trollope-l
/var/spool/mail/michael
:0:
* ^TOtrollope-l(_at_)trollope(_dot_)org
! trollope-l(_at_)localhost
}
######################
# mail to the admin
######################
:0:
* ^TOtrollope-l-admin(_at_)trollope(_dot_)org
{
:0:
* ^Sender: trollope-l-owner(_at_)trollope(_dot_)org
/var/spool/mail/michael
:0:
* ^TOtrollope-l-admin(_at_)trollope(_dot_)org
! trollope-l-admin(_at_)localhost
}
######################
# subscription
######################
:0:
* ^TOtrollope-l-request(_at_)trollope(_dot_)org
! trollope-l-request(_at_)localhost
######################
# to the owner
######################
:0:
* ^TOtrollope-l-owner(_at_)trollope(_dot_)org
! trollope-l-admin(_at_)trollope(_dot_)org
mp
--
Michael Powe Portland, Oregon USA
'Unless we approve your idea, it will not be permitted, it will not be
allowed.' -- Hilary Rosen, President, Recording Industry Association
of America
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail