All,
I have a rule in sendmail which rejects a mail if
a certain subject is found:
F{FullSubjects} -o /etc/mail/subjects_full
F{PartSubjects} -o /etc/mail/subjects_part
HSubject: $>CheckSubject
SCheckSubject
R$={FullSubjects}$* $: REJECTSUBJECT
R$* $={PartSubjects} $* $: REJECTSUBJECT
R$* REJECTSUBJECT $* $#error $: "553 Access Denied - MSG may contain
SPAM/WORM/VIRUS/HOAX."
Now I would like to create another file called "/etc/mail/subjects_accept"
where I can put subjects in that are accepted, eg:
F{AcceptSubjects} -o /etc/mail/subjects_part
Now for this to work I need to ACCEPT this, AFAIK below should work
but it doesnt (it is placed BEFORE any of the other rules).
R$={AcceptSubjects}$* $: ACCEPTSUBJECT
R$* ACCEPTSUBJECT >$@
">$@" means "put it back", or am I wrong here?
Any ideas?
jobst
--
The email address in this email is used for Mailing Lists Only.
Please reply to the list email address ONLY, do not reply to the
email directly, it is piped into /dev/null if its not received
from a mailing list email address.
My software never has bugs; it just develops random features.
__, Jobst Schmalenbach, Technical Director
_ _.--'-n_/ Barrett Consulting Group P/L & The Meditation Room P/L
-(_)------(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html