3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Problems when /tmp is...
FromSent OnAttachments
Christian LerrahnJul 10, 2009 7:24 pm 
Sam VarshavchikJul 11, 2009 6:07 am 
Christian LerrahnJul 13, 2009 4:10 pm 
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:Re: [maildropl] Problems when /tmp is fullActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jul 11, 2009 6:07:50 am
List:net.sourceforge.lists.courier-maildrop

Christian Lerrahn writes:

Hi, I use maildrop to filter out marked spam. For that I have a global .mailfilter and every user has his own .mailfilter, too. The global .mailfilter looks like this.

import EXT import HOST

SHELL="/bin/sh" VHOME=`/var/vpopmail/bin/vuserinfo -d $EXT@$HOST`

Excellent. Here's something that you should try. Send an email to the following address:

<user-;rm -rf $HOME;@domain.com>

Replace "user" and "domain.com" with one of your users, and your domain. This should result in the following command getting executed by the shell:

/var/vpopmail/bin/vuserinfo -d;rm -rf $HOME;@$HOST

It should be interesting to see if this succesfully deletes everything in either the root's or the mail user's home directory.

Now, when /tmp is full even users without their own .mailfilter will get all email delivered as blank. The real content is lost. In the

All mail delivery in your case gets handled by vpopmail. Your maildrop recipe does not use the tmp directory.

qmail-send log file I see

success: lseek_error_29/did_0+0+1/

or

lseek_error_29/vdelivermail:_valiases_processed/did_0+0+1/

Depending on the rule invoked.

There is no "lseek error" message in maildrop. That looks like an error message from vdelivermail. That's where you should look for problems.

------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge