OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: "#" character as the first character of the email address in the map file

From: Ray Dzek (Ray.Dzekspecialized.com)
Date: Thu Apr 03 2008 - 17:30:58 CDT


The whole point of creating #list in Exchange is to prevent abuse of
lists from external smtp mail. If you really want to allow mail to
certain lists, then simply add an SMTP alias in the email addresses tab
for the list in Exchange without the # in the name and use that.

> -----Original Message-----
> From: owner-postfix-userspostfix.org
[mailto:owner-postfix-userspostfix.org] On
> Behalf Of Victor Duchovni
> Sent: Thursday, April 03, 2008 1:33 PM
> To: postfix-userspostfix.org
> Subject: Re: "#" character as the first character of the email address
in the map file
>
> On Thu, Apr 03, 2008 at 09:21:58PM +0200, Jevos, Peter wrote:
>
> > It looks interesting. So in my case would it be?
> >
> > #main.cf
> > relay_recipients = ldap:/etc/postfix/relay-recipients.cf
> >
> > And file relay_recipients would be:
> >
> > server_host = ldap.example.com
> > server_port = 3268
> > search_base = dc=domain dc=com
> > query_filter = proxyaddresses = smtp:%s
> > result_attribute = mail
> > scope = sub
> > bind_dn = username
> > bind_pw = pwd
>
> Yes provided, LDAP is really AD, or uses an AD compatible schema,
where
> email addresses of mailboxes are stored as:
>
> proxyAddresses = <protocol>:<address>
>
> and for SMTP specifically as (<> for <italics> not literally present):
>
> proxyAddresses = smtp:<address>
>
> otherwise adjust the query to meet your actual schema.
>
> --
> Viktor.
>
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the "Reply-To" header.
>
> To unsubscribe from the postfix-users list, visit
> http://www.postfix.org/lists.html or click the link below:
> <mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>
>
> If my response solves your problem, the best way to thank me is to not
> send an "it worked, thanks" follow-up. If you must respond, please put
> "It worked, thanks" in the "Subject" so I can delete these quickly.