postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Multi recipient mail and deferring messages

Re: Multi recipient mail and deferring messages

From: Noel Jones <njones_at_nospam>
Date: Fri Oct 29 2010 - 15:42:08 GMT
To: postfix-users@postfix.org

On 10/29/2010 10:01 AM, Rich Bishop wrote:
> The first check in our smtpd_recipient_restrictions defers mail for overquota
> users:
>
> smtpd_recipient_restrictions =
> check_recipient_access hash:/etc/postfix/overquota,
> check_recipient_access hash:/etc/postfix/legacy-domains,

Careful there; careless entries in access tables before
"reject_unauth_destination" can make you an open relay.
http://www.postfix.org/SMTPD_ACCESS_README.html#danger

> .
> .
> .
>
>
> The overquota map file just defers messages:
>
> xxx@domain.edu 460 Mailbox Overquota
> yyy@domain.edu 460 Mailbox Overquota
>
>
> This appears to be working fine, but I heard from a hotmail user today that a
> multi-recipient message to our domain is being deferred for all
> recipients. In the postfix logs I see hotmail connecting to us, attempting two
> addresses that are overquota and then hanging up. My impression was that it
> should send to all valid recipients and only defer for those that we return a
> 4xx.

The remote client should continue trying all recipients for
the message.

> Are we incorrectly configured here?

Did you adjust the value of smtpd_hard_error_limit? That will
cause postfix to disconnect early. If you lowered it (to 2
maybe?) you might need to bump it back up a bit.
http://www.postfix.org/postconf.5.html#smtpd_hard_error_limit

Even if postfix disconnects for too many errors, the client
should reconnect (eventually) to try additional recipients,
but they control when the retry happens.

Or it could just be a hotmail thing.

   -- Noel Jones