[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: [cobalt-users] Blocking emails sent to 'all' users on server



I dealt with this a little over a year ago; so I apologize if my memory is a
little incomplete. I'll search for a more specific answer; but I wanted you
to
have this info in case you have more time to find the specifics than I do:

There are two ways I know of; and I by no means claim these are the only two
ways.

1) There used to be a macro, related to the Cw family of macros that
declines
to process mail not addressed to a user found in passwd or -passwd. Of
course
this has the practical effect of shutting down alias functionality
altogether,
which you probably don't want; and I can't bear to consider the workaround.

2) You can list exclude characters that are not allowed in system e-mail
adresses
in a file in the same directory as relay-domains. You have to call it
relay-regex-deny
or similar. In your case, probably ^, * and % would do it. This would reject
the
e-mails before sendmail even got hold of them. I think this latter is what I
did;
but its no longer my client and I didn't document very well what I did -
sorry.
I definitely found both these answers though in the SAMS book on sendmail in
the
possession of a friend, lo those many months ago - happy hunting.

I don't want to be insulting; but of course you know to backup multiple
copies
of sendmail.cf before tinkering in there, very hard to undo a mess - and I
have
made a few in  my day.

Clark Morgan


> Can anyone tell me what to put into place so that spammers can't do the
> *@server.com or all@xxxxxxxxxx or whatever it is they do so that their
> message goes to every user on the server?