OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
(no subject)

From: William Taylor (williamtnapanet.net)
Date: Wed Feb 08 2006 - 13:03:10 CST


  I am having a problem with postfix not rejecting email addresses that do
not exist on our mail server.

  I know this is not a problem with postfix it self but with my setup.

  I will explain my setup below.

   

   customerdomain.com mx record = mail.companydomain.com

   companydomain.com mx record = externalspamfilter company

 

   domains and users are stored in mysql tables using the virtual_mailbox
stuff

   transport records are also stored in mysql

 

   When mail is sent to companydomain.com it uses the mx record that points
to our external spam filter company

   they process the mail and then send it to our other mail server called
mail2.companydomain.com which is a separate machine

   If the user doesn't exist on the mail server the mail server will reject
it just fine and never accept the message.

   This process works great.

  

   Now when mail is sent to customerdomain.com there is a transport table
lookup and mail is forwarded over to mail2.companydomain.com

   If the user doesn't exist on mail2.companydomain.com a bounce message is
generated by the mail server. Which causes problems with

   forged address etc..

 

   What I would like to happen is mail.companydomain.com the first
mailserver to verify that the email address is valid before it forwards it
over to mail2.companydomain.com and if not reject it so no bounce message is
generated. Is this possible?

 

I have a lot of domains setup like custoemrdomain.com and do not wish to
change mx records also mailserver mail2.companydomain.com is firewalled

From connections from the outside world except from the externalspamfilter
company and mail.companydomain.com

 

 

 I hope I have made my self clear enough.

Thanks,

 William