Well, what i did temporary, is for users that need .mailfilter to make
..courier:
|/usr/local/bin/maildrop

Also I noticed that in /etc/courier/maildirfilterconfig it's
MAILDIRFILTER=../.mailfilter

I'm not sure what it means, may be there's a problem...
But didn't play with it yet.


> if have exactly the same problem.
>
> i use also mysqlauth, and i changed the var
> DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
> in /usr/lib/courier/etc/courierd
>
> if checked that the var used only once, with the command
> /usr/lib/courier/etc # grep "DEFAULTDELIVERY" * -r
> courierd:#  DEFAULTDELIVERY="| /usr/lib/courier/bin/preline
> /usr/bin/procmail"
> courierd:DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
>
> ..and some other lines, but all comment out, execpt the maildrop line.
>
> # la
> drwxr-xr-x    5 503   502          4096 Nov  8 04:03 .
> drwxr-xr-x    3 503   502          4096 Jun 10  2002 ..
> -rw-r--r--    1 503   502           501 Nov  8 04:41 .mailfilter
> drwx------    2 503   502          4096 Nov  8 04:44 cur
> drwx------    2 503   502          4096 Nov  8 04:55 new
> drwx------    2 503   502          4096 Nov  8 04:55 tmp
> -rw-r--r--    1 503   502            17 Nov  8 04:03 vacation.msg
>
> ...mike.edv-support.ch/Maildir # cat .mailfilter
> cc $DEFAULT
> xfilter "reformail -r -t"
> /^To:.*/
> getaddr($MATCH) =~ /^.*/;
>
> MATCH=tolower($MATCH)
> flock "vacation.lock" {
>         `fgrep -iqx "$MATCH"
> /data/mail/hda/mike.edv-support.ch/Maildir/vacation.lst 2>/dev/null || {
> \
>                   echo "$MATCH" >>
> /data/mail/hda/mike.edv-support.ch/Maildir/vacation.lst ; \
>                   exit 1 ; \
>               } `
> }
> if ( $RETURNCODE == 0 )
>    exit
> to "| ( cat - ; echo ''; cat
> /data/mail/hda/mike.edv-support.ch/Maildir/vacation.msg) | $SENDMAIL"
>
>
> some ideas, how to solve ? best wishes, mike
>
>>
>>
>>>I guess that was the required line in courierd:
>>>DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
>>>
>>>restarted courier, but it still doesn't execute .mailfilter..
>>>
>>>
>>Check your authentication module.  Some authentication modules specify
>> a separate default mailbox parameter, which overrides DEFAULTDELIVERY.
>>
> I'm using authmysql - didn't find anything like that in authmysqlrc
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Two, two, TWO treats in one.
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> PC Mods, Computing goodies, cases & more
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to