|
Problem with Courier + maildrop + ldap: msg#00054mail.maildrop
Hello !!! I have the following problem trying to put Courier LDAP and (stand-alone) maildrop work together. I use Debian with - Courier 0.37.3-2.3 - OpenLdap 2.0.23-6.3 - maildrop 1.6.3 The maildrop is the standalone version made to support virtual users and ldap. The maildrop configuration specifies that spamassassin should be used prior to delivery, which gives an indication to syslog whether maildrop was invoked: xfilter "/usr/bin/spamc -u user" Maildrop works fine on its own, i.e. it queries the ldap server and delivers the message to the maildir defined in ldap. So, running: # cat foo | /usr/local/maildrop/bin/maildrop -d user@xxxxxxxxx results in the following entries in /var/log/syslog: Jan 26 16:13:56 aglet slapd[194]: daemon: conn=98 fd=19 connection from IP=x.x.x.x:1201 (IP=0.0.0.0:34049) accepted. Jan 26 16:13:56 aglet slapd[392]: conn=98 op=0 SRCH base="ou=People,dc=xxx,dc=xxxx,dc=xx" scope=2 filter="(domainEmail=user@xxxxxxxxx)" Jan 26 16:13:56 aglet slapd[392]: conn=98 op=0 SEARCH RESULT tag=101 err=0 text= Jan 26 16:13:56 aglet spamd[14460]: connection from localhost [ 127.0.0.1 ] at port 1202 Jan 26 16:14:02 aglet spamd[17786]: identified spam (6.8/5.0) for user:1000 in 6 seconds. Jan 26 16:14:02 aglet slapd[194]: conn=-1 fd=19 closed and the message is delivered without any problem. Trying to achieve the same result, I simply insert the line DEFAULTDELIVERY="| /usr/local/maildrop/bin/maildrop" in /etc/courier/courierd. Courier then works fine with LDAP and delivers mail to maildir, but maildrop and spamassassin do not seem to be invoked; courierlocal is used instead, as it is logged in syslog: Jan 26 16:25:12 aglet courieresmtpd: started,ip=[::ffff:195.251.255.17] Jan 26 16:25:13 aglet slapd[391]: conn=2 op=24 SRCH base="ou=aliases,dc=xxx,dc=xxxx,dc=xx" scope=2 filter="(&(domainEmail=user))" Jan 26 16:25:13 aglet slapd[391]: conn=2 op=24 SEARCH RESULT tag=101 err=0 text= Jan 26 16:25:13 aglet slapd[392]: conn=9 op=49 SRCH base="dc=xxxx,dc=xx" scope=2 filter="(domainUserName=user)" Jan 26 16:25:13 aglet slapd[392]: conn=9 op=49 SEARCH RESULT tag=101 err=0 text= Jan 26 16:25:13 aglet courierd: newmsg,id=0003C2F5.40152349.00004591 Jan 26 16:25:13 aglet slapd[391]: conn=9 op=50 SRCH base="dc=xxxx,dc=xx" scope=2 filter="(domainUserName=user)" Jan 26 16:25:13 aglet slapd[391]: conn=9 op=50 SEARCH RESULT tag=101 err=0 text= Jan 26 16:25:13 aglet courierd: started,id=0003C2F5.40152349.00004591,from=<foo@xxxxxxxxxxxxxxx>,module=local,host=user!!1006!1007!/home/user!/var/mail/user!,addr=<user> Jan 26 16:25:13 aglet courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Jan 26 16:25:13 aglet courierlocal: id=0003C2F5.40152349.00004591,from=<foo@xxxxxxxxxxxxxxx>,addr=<user@xxxxxxxxx>,size=477,success: Message delivered. Jan 26 16:25:13 aglet courierd: completed,id=0003C2F5.40152349.00004591 Jan 26 16:25:13 aglet courierd: Waiting. shutdown time=Mon Jan 26 17:15:02 2004, wakeup time=Mon Jan 26 17:15:02 2004, queuedelivering=0, inprogress=0 So the question is: Why is maildrop not used by Courier as MDA for local delivery ??? Any ideas, hints, suggestions ... would be most welcome. Thanx in advance Constantine Kousouris Athens University of Economics and Business ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Forwarding in maildrop: 00054, Ajai Khattri |
|---|---|
| Next by Date: | Re: Forwarding in maildrop: 00054, Devin Rubia |
| Previous by Thread: | Calling users' .mailfilter from global maildroprci: 00054, Thomas Smith |
| Next by Thread: | Mysql down & user unknown: 00054, Arnaud Pignard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |