Re: [exim] Matching An Incoming Mail Address

Top Page
Delete this message
Reply to this message
Author: Neil Youngman
Date:  
To: Brian Spraker, EXIM mailing list
Subject: Re: [exim] Matching An Incoming Mail Address
Apologies for the late reply, I've been away.

I haven't seen anyone else comment that the match seems to be comparing a local part against a complete address. I would never expect local_parts to match an expression containing @...

Neil

________________________________________
From: Brian Spraker [spraker@???]
Sent: 09 July 2014 16:12
To: EXIM mailing list
Subject: [exim] Matching An Incoming Mail Address

Hello all,

Quick question.

We need to match an incoming e-mail address. This e-mail address then has 'forwarder' rules so that if an e-mail comes into this e-mail address, it is distributed out to several others.

When one of those users has an out of office reply, it is getting sent back to the sender. We want to prevent this behavior.

Therefore, in our out of office reply section of the config, we put something like:

local_parts = !^incoming@.* : !^incoming@???

However, I just sent a test message to incoming@??? and the message is delivered to all of their inboxes (like it should) but the person that has the out of office reply still has it sent to the sender.

local_parts seems to be the way to do it - but because it is just forwarding to other e-mail accounts, it isn't working in this case. Is there another variable that is used to check the recipient address before any mail forwarding rules are applied?

Thank you!

Brian S.