On Mon, Dec 17, 2012 at 11:11:02AM +0100, Petra Humann wrote:
> I check the sender address of authenticated users:
> 
> >smtpd_sender_login_maps = ldap:/path/to/postfix/ldapsender.cf
> >smtpd_sender_restrictions =
> >reject_authenticated_sender_login_mismatch,
> >permit_sasl_authenticated, permit_mynetworks
> 
> 
> This works like expected.
> 
> But, now I would like to enable one special authenticated user
> to send mails with any (valid) sender addresses of any other 
> (valid) user.
> 
> mailuser authenticates as mailuser and its sender address is
> valid:
> mailu...@mydomain.de. OK.
> specialuser authenticates as specialuser and it should be
> possible for him to use
> mailu...@mydomain.de as a sender address.
> Is this possible and how can I configure this?

One way is to manually configure your smtpd_sender_login_maps to 
return also "specialuser" for every valid address. Perhaps this is 
easily done with your ldap_table(5) by means of "result_format"?

/path/to/postfix/ldapsender.cf :
...
result_format = %s,specialuser
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to