Sendmail Spam control
I have never used the send mail spam control.
I would like to setup rules to reject or discard emails from certain addresses and domains. like stoping 123@yahoo.com and then say everything from @hotmail.com I am not for sure on hor to setup the domain style |
Question? Are you trying to stop email from being relayed through your sendmail or are you wanting to create a filter to stop emails from being delivered to your user(s) email addresses?
|
I want to create a filter to stop the emails from being delivered.
|
I would like to setup rules to reject or discard emails from certain addresses and domains. like stoping 123@yahoo.com and then say everything from @hotmail.com
You could use the /etc/mail/access file. In this case you would insert the following lines: 123@yahoo.com REJECT "Not allowed" hotmail.com RELAY I hope this helps. F. |
Will the REJECT work for hotmail.com
|
If you are using sendmail to act as your incoming email server, initpcsys's solution is the easiest way. Just remember to have either sendmail to rebuild your access.db or do it manually at the terminal console by entering
makemap hash /etc/mail/access.db < /etc/mail/access and yes REJECT will work as well for hotmail.com |
Is there a good email filtering program out there that will scan into emails and reject or just drop them completely if it is junk email based upon your setup criteria
|
|
thanks I think this will work. everything else seems to only be for users not servers.
|
All times are GMT -5. The time now is 01:23 PM. |