Is there a way to configure sendmail emails to only send
to those listed in aliases.db and anything else that comes to the site will simply be dropped?
Use the virtusertable instead. Then have a catch-all for users that don't exist. Here is a sample of what that would look like:
joe@somedomain.com joe
fred@somedomain.com fred
webmaster@somedomain.com sally@hotmail.com
@somedomain.com nouser This server does not accept spam!
If no user is found then it drops through to the catch-all and rejects the mail with the message. In this case the message is "This server does not accept spam!". Once you have this done, you will need to create the db file. To do this issue the following command:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.