Luke,
>I don't know anything about sendmail, but /etc/mail/* is explained by
>sendmail documentation, right?
The most current source is /usr/lib/sendmail-cf/README, which is located
on your box. /etc/mail/access isn't mentioned in the official Sendmail
manual, which is based on Sendmail 8.8.
>But I have a question, what if faked domains like 'backwire.com' are
>only used for one spam/broadcast session? IOW, is there a way to use
>other more constant or consistent parts of the mail header information
>in /etc/mail/access, like 'Received: <spammer's ISP addr>', which is not
>as likely to change?
It has a limited ability to do this. The following instructs sendmail to
search the message id for the addresses listed in /etc/mail/access. If
found then the directions you include for that specific address are
followed. I don't know of a way to instruct Sendmail to search the entire
header for a string.
Add the following to your /etc/sendmail.mc file:
LOCAL_RULESETS
HMessage-Id: $>CheckMessageId
SCheckMessageId
R< $+ @ $+ > $@ OK
R$* $#error $: 553 Header Error
Then remake your /etc/sendmail.cf file from sendmail.mc and restart
Sendmail.
Also, if you use the blacklist recipient feature in sendmail.mc:
FEATURE(`blacklist_recipients')
You can keep mail from going to specific users on your system:
[EMAIL PROTECTED] 550 Jack is grounded for hitting Susie
This will bounce all mail to Jack until you un-ground him. *Plus*
blacklist recipients also keeps local users from sending mail to addresses
listed in /etc/mail/access. So if you don't want Susie to be writing
letters to snake, just put "[EMAIL PROTECTED]" and both incoming and
outgoing mail addressed To/From "snake..." will be blocked.
Glen
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list