Bluehost.com Web Hosting $6.95

How do I do local recipient checks on a relay host?

This is a discussion on How do I do local recipient checks on a relay host? within the mailing.postfix.users forums, part of the Mail Servers and Related category; I have two mail servers that are visble to the world and receive incoming mail. They relay incoming messages to ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2004
Rob Tanner
 
Posts: n/a
Default How do I do local recipient checks on a relay host?

I have two mail servers that are visble to the world and receive incoming
mail. They relay incoming messages to an internal delivery host. My
problem is that when mail is received addressed to screw-you-bob@linfield.edu
(or other varieties of messages designed to generate a bounce to a fake
return address), I want to be able to reject it at the gateway and not have
toi bounce it later. Since all of our mail destinations are defined on our
ldap server, I set up an ldap definition to use as a local recipient map.
The problem is, Postfix seems to ignore it completely (i.e., recipient names
not in the map are still rerlayed on).

Here's the pertinent pieces of the config:

relayhost = calvin.linfield.edu

localrecipient_server_host = ldap.linfield.edu
localrecipient_search_base = o=linfield.edu
localrecipient_query_filter = (&(|(mailLocalAddress=%s)(uid=%s))(mail=*))
localrecipient_result_attribute = uid
local_recipient_maps = ldap:localrecipient

What do I need to do?


Thanks,
Rob


Rob Tanner
UNIX Services Manager
Linfield College
McMinnville, Oregon

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0