Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix relay w/ LDAP lookup, ClamAV & DSpam, where to start?

Status
Not open for further replies.

bjarrett

MIS
Oct 20, 2005
1
US
I was wondering if anyone knows of a writeup, or could possibly do one on how to set this up. We are currently running sendmail, spamassassin, mimedefang and McAfee AV on our e-mail gateway - but are looking to test the above configuration.

I have found documentation on how to set up postfix as a relay, but none that can check an internal server to see if the user really exists before relaying mail (Our sendmail configuation currently does this). I found some writeups for doing this with Exchange, however we are using CommuniGate Pro.

Once this is done, then ClamAV and DSpam will have to be installed. Can anyone point me to some good starting points for this?

Thanks in advance
 
bjarrett,

I'm not a Comminigate guy, but what you want to do should be fairly trivial as long as you have a means of exporting the directory. If you can produce a list of valid email addresses in the format

Code:
user1@example.com OK
user2@example.com OK
user3@example.com OK
etc

you can use the relay_recipient_maps directive to filter mail based on whether or not the user exists.

We use a procedure similar to for our postfix box which frontends and E2k3 box. The idea here is that you only hit the directory once every 60 minutes (to generate the list) instead of multiple times per second. Better performance that way. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top