Is there a way to send all these rejected emails to a particular account, so
that until we update the whitelist_senders, ip, it will be safe to receive the
original mails rather than rejecting them?
qmlog can be helpful with this. It essentially greps through the logs
for you, and allows you to specify various flags for controlling the
process. I suggest you write a daily (or more frequent if required) cron
job that uses qmlog to grep the smtp logs by date(/time) for DENIED
messages, then pipe that through another grep looking for vendor names
that you haven't yet verified as being ok. You might want to develope a
little system of sorts for keeping track of vendor email server status.
Each vendor will be verified-ok, verified-bad, or not-verified. qmlog
and the smtp logs can be leveraged to help maintain this status.
Come to think of it, this could be a nice little application for
determining which domains need to be whitelisted and which ones don't.
Start with a file of all vendor domains. Each day (or more frequently),
a script can run to see if there were any denied messages for any of
those domains. If there are, then add the domain to the
whitelist_senders file and shoot off an email to the admin for follow
up. This might be a nice little add-on application for spamdyke. On the
other hand, why not simply whitelist all of the domains? The only realy
purpose such an application would serve would be to keep the whitelist
trim, which would improve efficiency (very minimally), and keep spam
with a forged sender from getting through. I'm not sure the costs
(development and scanning of logs) would be worth it.
Personally, I would leave it up to the vendors to contact me if their
emails weren't getting through. After all, you're the customer in that
relationship, and it's *their* email server that is misconfigured, not
yours.
On the other hand, if *customer* emails were being rejected, I'd
definitely be concerned. Perhaps you should develop a little script as I
described for your customer domains (as well as vendors). ;)
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop