Hello all.
I'd like to stop incomign email that contains a specific hostname, and I've not yet come across the way to do it in sendmail.
For example, if my domain is xyz.com, I want to reject any mail that has a hostname in it:
GOOD: postmaster@xyz.com
BAD: someone@ anybody@gw.xyz.com, fred@temper.xyz.com
In other words, just email to %@xyz.com would be accepted.
Which directives and/or settings in the /etc/mail files would I need to make?
Thanks!
I'd like to stop incomign email that contains a specific hostname, and I've not yet come across the way to do it in sendmail.
For example, if my domain is xyz.com, I want to reject any mail that has a hostname in it:
GOOD: postmaster@xyz.com
BAD: someone@ anybody@gw.xyz.com, fred@temper.xyz.com
In other words, just email to %@xyz.com would be accepted.
Which directives and/or settings in the /etc/mail files would I need to make?
Thanks!