From: Benton Roberts [mailto:[EMAIL PROTECTED]
> 
> I am trying to use Maildrop to filter incoming mail, but it appears that
> the ESMTP server is not using it to deliver mail at all. Here's the
> evidence...
> 
> When I send the text of a test email directly to Maildrop:
>     [EMAIL PROTECTED] ~]# cat test_email.txt | maildrop
>     maildrop: Unable to create a dot-lock.
> The spam filter gets invoked just fine, as seen in /var/log/maillog:

Ok, so maildrop works if you call it.

> However, when I send the same message through sendmail:
>     cat test_email.txt | /usr/lib/courier/bin/sendmail
> The maillog is completely different! It shows only messages from 
> courierd and courierlocal, nothing from Maildrop or spamd...
> =====================
> Jun  1 09:48:55 odin courierd: newmsg,id=0000FAEC.429DBCC7.00000FC0: 
> dns; localhost (localhost [127.0.0.1])
> Jun  1 09:48:55 odin courierd: 
> started,id=0000FAEC.429DBCC7.00000FC0,from=<[EMAIL PROTECTED]
> .com>,module=local,[EMAIL PROTECTED]/data/websites/
> bentonroberts.com/email/benton!/data/websit> es/bentonroberts.com/
> email/benton/Ma...,addr=<[EMAIL PROTECTED]>
> Jun  1 09:48:55 odin courierd: Waiting.  shutdown time=none, wakeup 
> time=none, queuedelivering=1, inprogress=1
> Jun  1 09:48:55 odin courierlocal: 
> id=0000FAEC.429DBCC7.00000FC0,from=<[EMAIL PROTECTED]>,
> addr=<[EMAIL PROTECTED]>,size=784,success: 
> Message delivered.
> Jun  1 09:48:56 odin courierd: completed,id=0000FAEC.429DBCC7.00000FC0
> Jun  1 09:48:56 odin courierd: Waiting.  shutdown time=Wed Jun  1 
> 09:58:43 2005, wakeup time=Wed Jun  1 09:58:43 2005, 
> queuedelivering=0, 
> inprogress=0
> =====================
> 
> The message never gets processed by the spam filter, and just gets dropped
> into the Inbox as usual.  :(
> I notice that the output there includes "module=local" -- shouldn't it say
> something about Maildrop instead? I need to make sure I've got everything
> set up to invoke Maildrop correctly...
> =====================
>     [EMAIL PROTECTED] ~]# grep DEFAULTDELIVERY /etc/courier/courierd
>     ##NAME: DEFAULTDELIVERY:0
>     DEFAULTDELIVERY="|/usr/lib/courier/bin/maildrop"
> 
>     [EMAIL PROTECTED] ~]# cat /etc/courier/maildrop
>     /usr/lib/courier/bin/maildrop
> =====================
> 
> As far as I can tell from the docs, this is all that's necessary to 
> enable Maildrop processing, but it's not happening for me. Any ideas?

module=local is fine.  This just indicates that the mail is being delivered
locally rather than being forwarded on somewhere else.

If defaultdelivery is set to maildrop, but maildrop is not running, then you
must be specifying delivery for the user rather than using the default.

Do you have a .courier file for this user?

Is there a Mailbox attribute set for the user?

If either of these is there, you will need to remove it for defaultdelivery
to be used.

Bowie


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to