39 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Maildrop EX_TEMPFAIL
FromSent OnAttachments
ha...@newmail.tvnet.huJul 5, 2002 11:37 pm 
Derrick 'dman' HudsonJul 6, 2002 9:05 am 
ha...@newmail.tvnet.huJul 8, 2002 12:56 am 
ha...@newmail.tvnet.huJul 8, 2002 6:40 am 
Derrick 'dman' HudsonJul 8, 2002 7:07 am 
Ben RosengartJul 8, 2002 7:09 am 
Matthias AndreeJul 8, 2002 8:24 am 
Matthias AndreeJul 8, 2002 8:25 am 
Ben RosengartJul 8, 2002 8:35 am 
Matthias AndreeJul 8, 2002 8:51 am 
Sam VarshavchikJul 8, 2002 3:03 pm 
Ben RosengartJul 8, 2002 3:32 pm 
Sam VarshavchikJul 8, 2002 4:15 pm 
Matthias AndreeJul 8, 2002 5:10 pm 
Sam VarshavchikJul 8, 2002 6:09 pm 
Ben RosengartJul 8, 2002 6:20 pm 
Sam VarshavchikJul 8, 2002 6:28 pm 
Ben RosengartJul 8, 2002 6:44 pm 
Sam VarshavchikJul 8, 2002 6:51 pm 
ha...@newmail.tvnet.huJul 9, 2002 3:56 am 
Matthias AndreeJul 10, 2002 2:47 am 
Matthias AndreeJul 10, 2002 2:49 am 
Matthias AndreeJul 10, 2002 3:05 am 
Derrick 'dman' HudsonJul 10, 2002 7:40 am 
Matthias AndreeJul 11, 2002 2:51 am 
Derrick 'dman' HudsonJul 13, 2002 9:00 am 
Matthias AndreeJul 14, 2002 7:47 am 
Derrick 'dman' HudsonJul 15, 2002 8:19 pm 
Sam VarshavchikJul 15, 2002 9:19 pm 
Ben RosengartJul 16, 2002 6:52 am 
Sam VarshavchikJul 16, 2002 7:22 am 
Ben RosengartJul 16, 2002 8:09 am 
Ben RosengartJul 16, 2002 11:24 am 
Sam VarshavchikJul 17, 2002 9:59 am 
Ben RosengartJul 17, 2002 12:29 pm 
Matthias AndreeJul 17, 2002 3:27 pm 
Matthias AndreeJul 17, 2002 3:33 pm 
Matthias AndreeJul 17, 2002 3:34 pm 
Matthias AndreeJul 18, 2002 12:21 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] Re: Maildrop EX_TEMPFAILActions...
From:Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date:Jul 14, 2002 7:47:41 am
List:net.sourceforge.lists.courier-maildrop

Derrick 'dman' Hudson <dm@dman.ddts.net> writes:

The MTA *still* won't deliver to a non-existant recipient. Instead of attempting a delivery, it will bounce the mail with an "address unroutable" message.

Wrong. The MTA figures it needs to leave the delivery up to the MDA. The MDA then will say EX_TEMPFAIL when it means EX_NOUSER -> bug. "No such user" is a permanent condition and must not trigger a temporary error.

| Bounce proxy flooding cannot happen this way because the user could | just send direct mail instead.

I'm not sure what bounce proxy flooding is.

"delayed bounce". Send a *short* mail with a forged sender envelope address to a qmail site or some other site that runs a software that accepts mail for unknown users in the local domain, and wait. qmail (or some other software) accepts the mail, figures the sender is unknown, creates a bounce and sends it back to what it thinks is the originator -- but it isn't because the envelope sender address was forged. Now do that with multiple envelope recipients and see how many bounces that site creates and floods the other site with.

| With "mailbox_command=/usr/bin/maildrop plus options here", it's fine | with Postfix also, but that way, it won't work for virtual users (the | local(8) transport does not do this). With Postfix, you'd then have two | choices: use the virtual(8) transport, which is ultra-safe, but does not | support filtering or .forward, or use maildrop(8) as new transport, | which requires maildrop to return EX_NOUSER. (And yes, Postfix supports | rejecting mail for users outside virtual_mailbox_maps at the SMTP port, | but not at the sendmail port).

Ahh, I see your problem. It's not that maildrop isn't a correctly functioning MDA, but rather it isn't a correctly functioning _postfix transport_, which requires a different interface.

Nope. Maildrop violates /usr/include/sysexits.h by returning "temporary" condition when it's a permanent condition. That's clearly a bug.

| > It is simply a matter of configuring exim (or $MTA) properly, and then | > maildrop will never see messages it isn't supposed to be seeing. | | Depending in your needs, that simply won't work out.

exim has support for ldap, postgresql, mysql, dbm, cdb, "lsearch", and other databases. Choose your poison :-).

Postfix also has, but why bother to look that same thing up twice? cdb is cheap, SQL or LDAP is not.

| This is needed for virtual mailboxes delivered to virtual users. Virtual | users are not known to the Unix OS.

Every UNIX process is run as some UNIX user.

Yes, but you don't separate mail accounts by UNIX users (all virtual users use the same UNIX user), but by path name.

If maildrop is run as the user 'mail', and $HOME is set to, say /usr/local/mail/virtual/<domain>/<local_part>, then maildrop will look for /usr/local/mail/virtual/<domain>/<local_part>/.mailfilter as the filter file. maildrop would be happy, then, and not care that $local_part isn't a UNIX user. Alternatively, couldn't one just specify which filter file to use on the command line?

You don't have multiple home directories for the same UNIX user.