Robin Chen | 1 Dec 2004 01:28

maildrop: signal 0x0B

I've been following the configuration guide on 
http://genco.gen.tc/postfix_virtual.php except I'm doing it in FreeBSD 
5.3R with the following port versions:
maildrop-1.6.3
mysql-server-4.1.7
postfix-2.1.5

added to Makefile for maildrop
WITH_MAILDIRQUOTA=yes
WITH_MYSQL=yes
WITH_TRASHQUOTA=yes
MAILDROP_SUID?=vmail
MAILDROP_SGID?=vmail

mysqldroprc:  (I've removed the filters to see if they were causing 
problems)
to "$HOME/$DEFAULT"

maildropmysql.config:
hostname 127.0.0.1
port 3306
daabase mail
dbuser vmailuser
dbpw
dbtable postfix_users
default_uidnumber 1003
default_gidnumber 1003
uid_field email
uidnumber_field uid
gidnumber_field gid
(Continue reading)

Sam Varshavchik | 1 Dec 2004 03:42
Gravatar

Courier build 20041129

Download: http://www.courier-mta.org/download.php

New builds of courier-authlib, maildrop, courier-imap, sqwebmail, and 
courier packages.

Changes:

courier-authlib: Use persistent connections for authenticated binds when 
using LDAPv3.  Use the LDAP_OPT_NETWORK_TIMEOUT setting, initialized from 
the configuration file, if provided (OpenLDAP). If using authenticated 
binds, a password change is done under the user's credentials, instead of 
the admin's.

maildrop: standalone maildrop build didn't read the default maildir location 
from Courier-authlib correctly, in some situations

imap: Startup script resets umask.  pop3: fix error message when chdir to 
account's maildir fails.

sqwebmail: text/html E-mail didn't get transcoded into the browser's 
character set.

Robin Chen | 1 Dec 2004 05:50

Re: maildrop: signal 0x0B

Replying to my own email....

Seems I had the maildropmysql.config file in the wrong directory.  Sorry 
for the confusion.

Regards,

Robin

Robin Chen wrote:

> I've been following the configuration guide on 
> http://genco.gen.tc/postfix_virtual.php except I'm doing it in FreeBSD 
> 5.3R with the following port versions:
> maildrop-1.6.3
> mysql-server-4.1.7
> postfix-2.1.5
>
> added to Makefile for maildrop
> WITH_MAILDIRQUOTA=yes
> WITH_MYSQL=yes
> WITH_TRASHQUOTA=yes
> MAILDROP_SUID?=vmail
> MAILDROP_SGID?=vmail
>
> mysqldroprc:  (I've removed the filters to see if they were causing 
> problems)
> to "$HOME/$DEFAULT"
>
> maildropmysql.config:
(Continue reading)

Casey Allen Shobe | 5 Dec 2004 09:32

username and domain case sensitivity problem

Hey all,

I'm using qmail --> vpopmail --> maildrop.

The way I'm making this work is by having the following /etc/maildroprc:

#importing variables from qmail
import EXT
import HOST
VHOME="/var/vpopmail/domains/$HOST/$EXT"
# Clever trickery here:
include $VHOME/.mailfilter
to "$VHOME/$DESTINATION"

In my individual mailfilter files, I set DESTINATION instead of setting
the to folder directly, which keeps me from having to type in the full
/var/... path in every rule.

The problem is that qmail sets EXT and HOST in the case that the mail was
addressed to, sometimes this is CSHOBE or OSSS.NET, and these folders
don't exist, so maildrop returns an error about not being able to open the
include file, and the mail gets stuck in the qmail queue:

29 Nov 2004 11:35:24 GMT  #193354  8214 
<owner-nolist-8001530_1*cshobe**OSSS*-NET <at> BOUNCE.YAYUNA.COM>
        local   osss.net-cshobe <at> OSSS.NET
30 Nov 2004 13:29:14 GMT  #28631  2299 
<1232928126.8909.3398 <at> neck.chipmunk-control.com>
        local   osss.net-CSHOBE <at> OSSS.NET

(Continue reading)

Robin Bowes | 6 Dec 2004 01:34
Favicon

Re: username and domain case sensitivity problem

Casey Allen Shobe wrote:
>
> 
> Is there a way I can set the case to lower case from maildroprc?

man maildropfilter
/tolower

R.
--

-- 
http://robinbowes.com

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Jan Banan | 7 Dec 2004 18:47
Picon

Run maildrop on already delivered mail

Hi,

I want to run maildrop again after mail has already been delivered. The 
reason is that I have updated my mail filter file with a lot of new 
rules and want to apply those on all emails in a certain folder. I know 
that I can do
    cat themail | maildrop -d theuser
    rm themail
on all mails in that folder but then also the filenames will be changed 
and the timestamp on the files.

So is there a way to just apply the filtering rules on a mail without 
having the mail filename change and the timestamp updated?

Thanks for any ideas!

Best regards,
Jan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Jan Banan | 8 Dec 2004 16:16
Picon

Want maildrop to just tell what it wants to do with an email

Hi,

Is it possible to have maildrop just tell what it wants to do with an 
email? If I give an email on standard input to maildrop can I just get 
an output like "Filter to ./Maildir/.thelist/new/" but nothing else is done?

I tried "maildrop -m" but then it told me
    maildrop: 'to' disabled in embedded mode.
    .mailfilter(14): Syntax error.

Thanks for any help!

Best regards,
Jan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Sam Varshavchik | 9 Dec 2004 00:36
Gravatar

Re: Want maildrop to just tell what it wants to do with an email

Jan Banan writes:

> Hi,
> 
> Is it possible to have maildrop just tell what it wants to do with an 
> email? If I give an email on standard input to maildrop can I just get 
> an output like "Filter to ./Maildir/.thelist/new/" but nothing else is done?

No.

Henk van Lingen | 9 Dec 2004 14:29
Picon

Filesystem quotas / TEMPFAIL


Hi all,

I'm buiding a Postfix, spamassassin, courier-imap, ClamAV, ClamSMTP, Maildrop, 
Squirrelmail mailserver which uses filesystem quotas.
I have maildrop as default MDA (mailbox_command = /usr/bin/maildrop (postfix))
because that way I can use spamassassin (spamc) at local delivery time by
the way of /etc/maildroprc so I can have spamassassin user preferences.

Now the problem is that when a user is over quotum, maildrop gives a
tempfail and mail stays in the queue. That's not what I want, I want a
bounce with an overquota message. Using postfixs building MDA one gets
this message:

maildir delivery failed: error writing message: Disk quota exceeded

Using procmail as MDA, also a bounce with (less informative):

can't create user output file

With maildrop however I can't find a solution to send a quota error back.

Any ideas?

Cheers,
--

-- 
Henk van Lingen, Systems & Network Administrator              (o-      -+
Dept. of Computer Science, Utrecht University.                /\        |
phone: +31-30-2535278                                        v_/_
http://henk.vanlingen.net/             http://www.tuxtown.net/netiquette/
(Continue reading)

Andre Fortin | 9 Dec 2004 14:38
Picon

RE: Filesystem quotas / TEMPFAIL

Instead of calling maildrop, call a wrapper to maildrop.  This is what I've
done:

I replaced the maildrop with a shell wrapper, and renamed the original
maildrop to maildrop.exe.  The 'maildrop' wrapper looks like this:

/usr/local/bin/maildrop.exe $1 $2 $3 $4 $5
if [ "$?" -eq 77 ]; then
 return 100;
fi

This is what I've done to make over-quota deliveries return permanent
errors.

Hope this helps,

Andre

> -----Original Message-----
> From: courier-maildrop-admin <at> lists.sourceforge.net
> [mailto:courier-maildrop-admin <at> lists.sourceforge.net]On Behalf Of Henk
> van Lingen
> Sent: Thursday, December 09, 2004 8:29 AM
> To: courier-maildrop <at> lists.sourceforge.net
> Subject: [maildropl] Filesystem quotas / TEMPFAIL
>
>
>
> Hi all,
>
(Continue reading)


Gmane