procmail
[Top] [All Lists]

from

1996-12-24 23:50:05
HI ALL,
I have a mailing list set up and it check the "from field"
to see if the person is authorized to use the list.
The problem is that if you know the email address
of any authorized person, and change your from field
on your mailer to their address, the mail will go through the system.
Is there a way to test some other field? Like a verified sender or
something.

This is how I have it set up now.

:0
* ^TO_fh[^a-z]
* !^FROM_DAEMON
* !^X-Loop: fh(_at_)mydom(_dot_)com
* $? fgrep "$from" $PMDIR/f.approved
|(/opt/local/bin/formail -I"Organization: The ..."\
-A "X-Loop: fh(_at_)mydom(_dot_)com";)| $SENDMAIL `cat $PMDIR/f.sendto`

Thanks and Happy Holidays

T. Bachis

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