Dooooh! I was using: deliveryProgramPath: /usr/local/bin/tmda-filter
In my ldap database for the user. Could I just use this instead? /var/qmail/bin/preline /usr/local/bin/tmda-filter Thanks for the help, Max -----Original Message----- From: Claudio Jeker [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 11:59 PM To: '[EMAIL PROTECTED]' Subject: Re: Missing Headers when delivering to ldap users - help?! On Thu, Apr 18, 2002 at 10:21:42PM -0700, Max Clark wrote: > I have noticed an odd behavior when delivering mail to ldap users, the > "Return-Path" and "Delivered-To" headers are stripped/missing from the > messages. However, mail delivered to /etc/passwd users includes the headers. > These headers seem to be required for TMDA to work correctly. > > I have the following patches installed on the system: > qmail-ldap-1.03-20011001a.patch > qmail-ldap-control_20011023.patch > > I have read through the documentation but cannot seem to find the answer to > this one. Can anyone point me in a direction? > When you do program deliveries Return-Path and Deliverd-To lines are not included unless called through preline. See also dot-qmail(5), qmail-commands(8) and preline(1) NAME qmail-command - user-specified mail delivery program SYNOPSIS in .qmailext: |command DESCRIPTION qmail-local will, upon your request, feed each incoming mail message through a program of your choice. When a mail message arrives, qmail-local runs sh -c com� mand in your home directory. It makes the message avail� able on command's standard input. WARNING: The mail message does not begin with qmail- local's usual Return-Path and Delivered-To lines. My deliveries to /etc/passwd and ldap users always get a "Return-Path" and "Delivered-To" header added. e.g. Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 32632 invoked by uid 1001); 19 Apr 2002 06:56:00 -0000 The xxx user is a ldap user with no special delivery options set. Aliasempty is ./Maildir/. -- :wq Claudio
