Exim Filter to change recipient

خرید بک لینک

Lets say I have this filter for user1 who doesn't exist on our network, but has an exteal email we want to send the emails to:

if
 $header_to: matches "[email protected]"
then
 deliver "[email protected]"
endif

If someone then sends a mail to [email protected] it correctly gets delivered to [email protected]

However, if they send to [email protected], [email protected] then the email only gets delivered to [email protected]

[email protected] doesn't get sent the email.

I think this is because the deliver command is significant, so nothing further happens.

Normally, you would use unseen deliver to ensure the email is processed further - but then this would (I assume) result in the email being delivered to [email protected] locally (in addition to [email protected]), which isn't wanted.

What is the right way to set up this filter so that the emails will go to the exteal party and the inteal user if they are both in the To: field?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 215 تاريخ: چهارشنبه 22 ارديبهشت 1395 ساعت: 14:09

صفحه بندی