

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
1 message in net.sourceforge.lists.courier-maildrop[maildropl] Problem with Courier + ma...| From | Sent On | Attachments |
|---|---|---|
| Constantine Kousouris | Jan 26, 2004 7:17 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Problem with Courier + maildrop + ldap | Actions... |
|---|---|---|
| From: | Constantine Kousouris (kou...@moon.noc.aueb.gr) | |
| Date: | Jan 26, 2004 7:17:30 am | |
| List: | net.sourceforge.lists.courier-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 us...@domain.gr
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=us...@domain.gr)" 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=<fo...@host1.domain.gr>,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=<fo...@host1.domain.gr>,addr=<us...@domain.gr>,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







