On Wed Jan 28, 2009 at 14:57:31 +0100, Julien wrote:

> I have read this topic, but it don't work for me ... 

  (I'll assume you didn't forget to restart.)

> --------------------------------------
> #aliasdomains

  I hope this is in rcpt_rewrite.pm

> So the recipient should always be rewrite to someth...@domain.com but it
> don't ! rcpt_ldap plugins get the old recipient (original recipient)
> Maybe it is a problem of plugin order ? my config/plugins file looks
> like :

  Have you looked at rcpt_ldap to see how it is getting the recipient?
  Or added logging to see what is executed?

> tls /usr/local/qpsmtpd/plugins/ssl/qpsmtpd-server.crt  
> /usr/local/qpsmtpd/plugins/ssl/qpsmtpd-server.key  
> /usr/local/qpsmtpd/plugins/ssl/qpsmtpd-ca.crt
> hosts_allow
> rcpt_rewrite
..

> rcpt_ldap
> rcpt_ok

  Looks fine - you do want the rewriting plugin to come first.

Steve
-- 

Reply via email to