I am setting up a Linux server to receive all email and certify that the incoming email address is in our Active Directory, With Spamassassin I can check to To: and CC:, The question is how do you check the Bcc: for a valid address?
There is no Bcc field--that would kind of defeat the purpose of a "blind" courtesy copy. You should not be looking at the "to" and "cc" headers to determine if the mail should be delivered, anyway--you should be looking at the message envelope.
Also, since you're building this from scratch, you'd be better off using postfix than sendmail (IMHO.) It's (again, IMHO) faster, easier to configure, more secure, and has a more active community than sendmail.
To get you started, here's a nice cookbook for setting up postfix with anti-spam, anti-virus, and a few other bells and whistles:
Obviously, you'll have to deviate from those a bit, based on your specific needs--but it's a good start. In any event, I wish you luck with your project.
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.