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:Christian Lerrahn (lis@penpal4u.net)
Date:Jul 13, 2009 4:10:00 pm
List:net.sourceforge.lists.courier-maildrop

Hi Sam,

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.

It won't. An email to an address as you suggest above would never even make it this far. :)

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.

That's interesting. I only have this problem if vpopmail is wrapped in a maildrop recipe. There are mail domains running on the same server that do not use maildrop and they do not show this problem. In other words, if Qmail talks to vpopmail directly, everything goes right. So, I assume that the problem is vdelivermail failing but then maildrop not informing Qmail correctly about that. Is that because my vpopmail rule is in an exception block? Should I run it without?

Cheers, Christian

------------------------------------------------------------------------------ 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