Hello List
I hope there is another answer to my question, but at the moment I added
some lines of code to main.C. I am no reall programmer, so I think there
could be some problems, but it works for me. The first two and the last line
can be found in the code. Here it is:
found = find_in_userdb(&maildrop, deliverymode);
if ( !found ) found = find_in_ldap(&maildrop,
deliverymode);
// Try to find Domain Part
if ( !found )
{
const char *domaindeliverymode=deliverymode;
domaindeliverymode++;
while (domaindeliverymode[0] != '@' &&
domaindeliverymode[0] != '\0') {
domaindeliverymode++;
}
if (domaindeliverymode[0] == '@') {
found = find_in_ldap(&maildrop,
domaindeliverymode);
}
}
// Try to find in mysql
much fun
Peter
----- Original Message -----
From: "Peter Scholl" <pete...@bbsiegen2.dyndns.org>
To: <cour...@lists.sourceforge.net>
Sent: Wednesday, September 10, 2003 9:04 AM
Subject: [maildropl] Using maildropldap for multidrop Mailboxes
Hi
since a week I am trying to set up a Test-Mailserver with postfix,courier,
ldap...
In the first stage I used the postfix virtual delivery agent for
delivering
Mails to Maildirs, with the disadvantage that I could not use .forward
files
or equal, but I was able to deliver to multidrop mailaccounts.
I installed multidrop with LDAP enabled and delivery works fine, also the
use of .mailfilter
But if a mail arrives with fo...@example.com and the foo account isnt
configured with ldap maildrop is not able to deliver. For the postfix
virtaul delivery I have set up an account with mailaddress @example.com .
How can I do something equal for having maildrop deliver such mails?