On Thu, Apr 07, 2011 at 08:27:01PM +0200, G?bor L?n?rt wrote: > I don't want to check if rcpt domain is mine (I have no "own" domains on > this MTA). I want to accept everything if sender is authenticated, since > it's a mail submit MTA, users can submit mails through it. > > I don't need reject_unauth_destination, since every destination is valid :) > [ok, for sure non-existing or non-fqdn domain is not, also I have an SQL > based bann list for "bad ones" both for senders and rcpts as you can see > later with the banned_* sql tables)
For submission: smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject Then feel free to implement other checks in the sender restrictions if that's easier to understand. -- Viktor.