OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: how to handle mail addressed to postfixdummymail.example.com

From: Wietse Venema (wietseporcupine.org)
Date: Wed Jun 06 2007 - 14:59:20 CDT


Larry Vaden:
> > > Delivery to the following recipient failed permanently:
> > >
> > > vadenmail.texoma.net
> > >
> > > Technical details of permanent failure:
> > > PERM_FAILURE: SMTP Error (state 13): 554 5.7.1
> > > <ug-out-1314.google.com[66.249.92.168]>: Client host rejected: Access
> > > denied
> >
> > The client is rejected by one of your check_client_access maps.
>
> Yes sir, it is rejected by
>
> smtpd_client_restrictions = permit_mynetworks, reject
>
> on the mail store (mail.example.com).
>
> What I'm trying to figure out (apologies if not clear in first email)
> is how to receive mail (too specifically addressed, e.g.,
> postfixdummymail.example.com) via the MX boxen so that normal spam
> filtering occurs and mail.example.com is able to avoid the load
> associated with spam specifically adressed to
> subscribersmail.example.com.

You want to redirect SMTP clients to the MX boxes. However, per-user
DNS records don't exist. You can, however, use MX records to direct
SMTP clients to the MX boxes.

> Do I need to do this at the DNS level (by declaring MX hosts for
> subdomain mail.example.com)?

Indeed. Also: on the MX hosts list usermail.example.com in
relay_recipient_maps, and list mail.example.com in and relay_domains.

        Wietse