OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Is this a correct for relayhost exception when from=<> ?

From: Wietse Venema (wietseporcupine.org)
Date: Fri Jun 01 2007 - 14:42:23 CDT


Benjamin Donnachie:
> It would be easier if there was a postfix equivalent of the cyrus smmapd
> utility - it basically reports via tcp whether a mailbox exists and
> whether it is unavailable due to being over quota.

It already exists and is called called local_recipient_maps (and
relay_recipient_maps, virtual_alias_maps, virtual_mailbox_maps).

So depending on if the domain name is listed in mydestination
or elsewhere, you specify the recipients in local_recipient_maps
or elsewhere, and Postfix rejects mail before it is received.

        Wietse

> It's no drama - I'll eventually move over to LDAP and use a policy
> service for over quota conditions. But, at this stage, my site is
> definitely in the hobby category and I can't justify spending the time
> to set it up for negligible benefit.
>
> Take care,
>
> Ben
>
>