1 message in net.sourceforge.lists.courier-users[courier-users] Maildrop hangs
FromSent OnAttachments
Rocco ScappaturaJul 23, 2007 6:52 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Maildrop hangsActions...
From:Rocco Scappatura (Rocc@sttspa.it)
Date:Jul 23, 2007 6:52:49 am
List:net.sourceforge.lists.courier-users

Hello.

I'm using Postfix+Courier IMAP

I would like to use Maildrop as LDA.

I ve installed it:

In master.cf file I have put:

maildrop unix - n n - - pipe flags=Ru user=vmail argv=/usr/local/bin/maildrop -w 1 -d ${user} ${nexthop} ${extension} ${recipient} ${user}

In /etc/maildroprc I ve put:

logfile "/var/log/maildroprc.log"

====================================================== ONE = "$1" TWO = "$2" THREE = "$3" FOUR = "$4" FIVE = "$5"

log "one is $ONE" log "two is $TWO" log "three is $THREE" log "four is $FOUR" log "five is $FIVE"

$HOME/$DEFAULT exception { TO "$HOME/$DEFAULT" } log "/usr/local/bin/maildirmake -q $MAILDIRQUOTA $HOME/$DEFAULT" `/usr/local/bin/maildirmake -q $MAILDIRQUOTA $HOME/$DEFAULT`

TO "$HOME/$DEFAULT" ======================================================

vmail has is the owner of the "Maildirs"

But when I send an email to an address whose Maildir stiil not exists, some process hangs and neither the maildir is created nor the mail is received.

Infact Ive got the processes:

vmail 29463 29462 0 15:14 ? 00:00:00 /usr/local/bin/maildrop -w 1 -d ciccio nomesito.it cic@nomesito.it ciccio vmail 29465 29463 0 15:14 ? 00:00:00 /usr/local/bin/maildirmake -q 1000000S /home/virtual/nomesito.it/ciccio/

hanged in memory.

Is It maybe a deadlock problem with the database?

How can verify this? After some minuted maidrop become defunct..

postfix 29462 17359 0 15:14 ? 00:00:00 pipe -n maildrop -t unix flags=Ru user=vmail argv=/usr/local/bin/maildrop -w 1 vmail 29463 29462 0 15:14 ? 00:00:00 [maildrop] <defunct> vmail 29465 1 0 15:14 ? 00:00:00 /usr/local/bin/maildirmake -q 1000000S /home/virtual/nomesito.it/ciccio/

BR,

rocsca