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 11, 2002 2:51:44 am
List:net.sourceforge.lists.courier-maildrop

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

On Wed, Jul 10, 2002 at 11:46:58AM +0200, Matthias Andree wrote: | Sam Varshavchik <mrs@courier-mta.com> writes:

| > It's the mail delivery agent's job to tell the mail server that the | > recipient account does not exist. | | Effectively, you just said that maildrop is not suitable as mail | delivery agent.

If you require it to do more than just delivery, then I guess not.

No, read closely: Sam says that a MDA's task is to tell the server that the account does not exist. However, maildrop cannot tell the server that without my patch. That means: Sam just said that maildrop is only suitable to be called FROM an MDA, not to replace one.

| What MTAs "sendmail" commands exit with EX_NOUSER when there is no | user?

Why does it need to?

Reworded: sendmail commands usually take mail in regardless of whether the user exists, so the MDA may have to deal with this condition even though SMTP rejects that mail. Bounce proxy flooding cannot happen this way because the user could just send direct mail instead.

It just depends if the MTA directly queues into maildrop, with maildrop replacing the original local delivery agent for efficiency, or if you configure a "global .forward" that tells the MTA's MDA (local(8) for Postfix) to use maildrop unless the user specifies otherwise.

| Hint: qmail's and Postfix's sendmail wrappers don't.

I just tested -- exim's doesn't either. However, *exim* creates a proper bounce message and delivers it to me. maildrop never sees that non-existant user.

With *virtual* users that are only known to maildrop, not to the system? Call yourself lucky.

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

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. Or can you tell exim to use Maildrop's userdb?

In fact, I don't really see why maildrop needs to have ldap/sql/whatever support in it at all. All maildrop needs is to be run as a valid (and the proper) UNIX user on the server, and have $HOME set so that it can find ~/.mailfilter and have the right base for relative paths.

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

The MTA can easily set that environment for maildrop to run in, and maildrop wouldn't even need to know anything about the "virtual" user database. That sort of setup prevents the need to duplicate user checking in maildrop, and puts it where it belongs in the MTA.

See above.