Forum Discussion

sandipk's avatar
sandipk
Copper Contributor
May 16, 2020

Transport rule is not working as expected

Hello All,
 
we have set forwarding from VIM@domain.com to VIM@sapprd.domain.com . Now we have requirement that vim@sapprd.domain.com should receive only email with PDF attachments. 
So I have created transport rule , 
 
rcpt to:  VIM@domain.com 
Action: reject the message and include the explanation 'Allow only PDF attach email.' with the status code: '5.7.1'
Except if...
Has an attachment with a file extension that matches one of these values: 'pdf'
 
when I send email to VIM@domain.com  , i got the NDR with message "Allow only PDF attach email.' with the status code: '5.7.1'" 
But at the same time email also get forwarded VIM@sapprd.domain.com 
 
I also created new transport rule as below, 

rcpt to: VIM@sapprd.domain.com
Action: Delete the message without notifying the recipient or sender
Except if :
has an attachment with a file extension that matches one of these values: 'PDF'
 
still emails getting forwarded to VIM@sapprd.domain.com 
 
 
Any idea how to resolved 
 
 

11 Replies

  • sandipk 

     

    Hi, please can you explain where you are setting the attachment action?  When I check the available actions for attachments,  I see the following;

     

     

    Was it one of these options that you chose please?

      • sandipk 

         

        OK, I have reproduced the rule, and for me it works just fine. I noticed that your second transport rule is setup slightly different to the first.  What happens if you match the settings to be the same as the first transport rule?

         

        Also, what is the reason for the forwarding?  Are the messages kept in both mailboxes or old forwarded to the other one?

Resources