[exim] sender reject

Top Page
Delete this message
Reply to this message
Author: Khaled Hussein
Date:  
To: exim-users
Subject: [exim] sender reject

I have two questions, first my exim server is connected to MySQL
database which include the emails and domains to relay, i have table
Domains contains all domains that i relay from my server, i face a
problem that users or domains not listed in my domains list can send
emails from my server and make me blocked by yahoo many times because
they send spam messages through my server
so i am searching for how to build a rule to reject any sender his
domain is not in my domain table, please if you can help me
another thing i want to know if i can make a rule that prevent any
email send to for example [1]staff@??? just from one or two
emails from my company, can i do that
Thanks in advance

References

1. mailto:staff@mydomain.com