Qmail-LDAP
[Top] [All Lists]

mail-forwarding with maildrop

To: qmail-ldap@qmail-ldap.org
Subject: mail-forwarding with maildrop
From: Oskar Eyb <oskar-qldap@eyb.de>
Date: Fri, 04 May 2007 10:38:00 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
User-agent: Thunderbird 2.0.0.0 (Windows/20070326)
hello!

I'm trying to forward only mails with a definied subject with maildrop, but it dont work out.

deliveryProgramPath is set to
/usr/local/bin/maildrop -A "X-Info: ldapmaildrop" /xxx/maildroprc  ./Maildir


maildrop runs, I suppose that there's an mistake in the maildrop-konfiguration:

--------------------------------
SENDMAIL=/var/qmail/bin/sendmail
VHOME=`pwd`
VMAILDIR="$VHOME/Maildir"
DEFAULT="$VHOME/Maildir"

logfile "/tmp/maildrop.log"
#to Maildir2/

to !forward@example.net
--------------------------------
(firstly, I only want to find out how to forward all mails, an then
ad the "if (/^Subject:.*Subjecttoforward/)" - Rule)

the logfile says:

Date: Fri May 4 00:50:49 2007
From: blah@example.net
Subj: Betreff
File: 0 (258)



Can you help me with this?
Greets, Oskar

<Prev in Thread] Current Thread [Next in Thread>
  • mail-forwarding with maildrop, Oskar Eyb <=