On Mon, Jul 11, 2011 at 04:49:19PM +0200, Georg Sch?nweger wrote: > Hi, > > is it possible to tell postfix to relay all mails from user A > (authenticated via SASL as user A) to a certain SMTP server? I would > like to relay all mails by a user (identified by SASL authentication) > regardless of the envelope sender...
There's nothing built-in, but policy services can inspect the sasl user name. http://www.postfix.org/SMTPD_POLICY_README.html#protocol The "sasl_*" attributes (Postfix 2.2 and later) specify information about how the client was authenticated via SASL. These attributes are empty in case of no SASL authentication. -- Viktor.