On 19 Jan 2012, at 2:56, Simone Ruffilli wrote:

Is there a way to disable address checking (both local user existance and RFC compliance) before accepting an outgoing email?

No. The SMTP RFC's clearly state that a server should reject bogus local recipients in SMTP if possible, so doing something to prevent that can't be considered compliant with the RFC's.

You may be able to make Postfix behave that way by structuring your local domain as a degenerate virtual relay, putting a wildcard entry in relay_recipient_maps, and relying on your virtual_alias_maps to manage address legitimacy, but that would also require some mechanism to limit the misconfiguration to "outgoing" mail.

Whenever I try to send a mail that includes a non-existant local user in the recipient list the server immediatly complain a 5.1.1.

Yes, but it only does so for that recipient. Any reasonably good SMTP client will handle 5xx responses to individual RCPT commands as rejections of individual recipients rather than of the entire message. If your sending software stops when it gets a single recipient rejection, it is garbage.

Reply via email to