On Thu, Sep 25, 2008 at 03:30:18PM +0200, mouss wrote: >> >> However, since there will be many more domains hosted on this server >> is there not a better way? > > yes, there is: remove your check_sender_mx_access. did it ever catch > spam on your server? it never caught anything here.
I don't use it purely for spam prevention. Checking that that sender and recipient MX's arent pointing to places such as localhost prevents all sorts of funny things. What's the point of receiving mail if you can't reply to it anyway? The REAL solution is not to check mx access for local mail. If sender and recipient are on same domain, then mostly likely you should use permit_mynetworks or such before the check.