OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Assistance with a sender_dependent_relayhost_maps configuration

From: Tillotson, Jeff (Jeff.TillotsonKnowledgeStorm.com)
Date: Mon Oct 02 2006 - 10:04:32 CDT


Hello everyone. I have been working on a postfix setup for a couple
days now and have driven myself almost completely mad. This morning I
though I had it but, instead, all I got was more mail loops and more
hair loss. I am posting here with hopes that someone can give me some
assistance on what I am doing wrong or possibly suggest a better way to
handle this.

What I need to accomplish is certain sender addresses get processed
separately than regular mail. So that path I am on right now has a
sender_dependent_relayhost_maps file that looks something like this:
        mail1domain.com 127.0.0.1:10024
        mail2domain2.com 127.0.0.1:10024
        ...

127.0.0.1:10024 is our virus/spam checking tool. It is configured to
send mail back to postfix on port 10025. master.cf has that setup like
so:
        localhost:10025 inet n - n - - smtpd
          -o content_filter=
          -o sender_dependent_relayhost_maps=

I thought that if you empty the sender_dependent_relayhost_maps it will
process mail as normal. What I am getting is a mail loop. Mail from
mail1domain.com comes in and gets sent to 127.0.0.1:10024 which is what
I expect. Then the virus/spam tool sends it back. The mail then goes
BACK to the virus/spam tool. Around and around it goes until it is
caught as a mail loop.

Any suggestions?

Regards,
Jeff

****DISCLAIMER
The information contained in this e-mail and attachments, if any, is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not use, copy, distribute or disclose the e-mail and its attachment, or any part of its content or take any action in reliance of it. If you have received this e-mail in error, please e-mail the message back to the sender by replying and then deleting it. We cannot accept responsibility for loss or damage arising from the use of this e-mail or attachments, and recommend that you subject these to your virus checking procedures prior to use.