-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pny <(E-Mail Removed)> wrote:
> Suppose we have an address (E-Mail Removed), we want to block all emails sending
> to (E-Mail Removed) coming from outside of domain def.com. Any simple solutions?
> I think you only need to add a couple of lines to sendmail.cf.
You should never ever touch sendmail.cf unless you are really,
really sure you know what you are doing, but then you wouldn't
ask.
You could take a look at /usr/share/doc/sendmail/README.cf how to
setup the various ways of access control.
Personally, I'd use procmail, for something like this, try:
$ man -k procmail
procmail (1) - autonomous mail processor
procmailex (5) - procmail rcfile examples
procmailrc (5) - procmail rcfile
procmailsc (5) - procmail weighted scoring technique
Procmail should be already your LDA if running sendmail, if you
didn't really understood the above, you could start here:
http://www.sendmail.org/email-explained.html
Good luck
BTW
comp.mail.sendmail is the ng for sendmail related questions.
- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFANnjGAkPEju3Se5QRAqQgAJsHMl6IM5pAyY2QREkTeK diA+qhTgCfcRyL
ei5J17CosnB5EGW0szCSazQ=
=Uqop
-----END PGP SIGNATURE-----