On Wed, Apr 11, 2001 at 12:00:04PM -0400, Rafael Angarita wrote:
>   I'm trying to forward all the messages received by an user and keep
> copies in his local Maildir,  the local copies are working fine but the
> forward is not. I tested the .qmail file running qmail-local manually
> and in this case everything worked correctly (keep copies and forward
> the message).
> 
>   The .qmail file looks like this (and the permissions are 644):
> 
> /qspool/mydomain/n_s5/e6/raadvip/Maildir/
> &user2@otherdomain
> 
>   Any suggestions?
> 
>   BTW, I'm using qmailldap.

Check the dotmode. qmail-ldap does not use .qmail-files for ldap deliveries
unless dotmode is set to both. Check http://www.lifewithqmail.org/ldap/ for
more, section 8.1.1.14 and 8.1.2 in special.

And, btw, you don't need a .qmail-file for this task. Just set the ldap
attributes 

mailForwardingaddress: user2@otherdomain
deliveryMode: localdelivery

The deliverymode=localdelivery forces an local delivery even if a forwarding
is done. This is also explained in life with qmail-ldap, section 8.1.2.

Greetings

Henning

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany

Reply via email to