I have the following setup in GLOBAL EMAIL FILTERS for an email that I have discontinued due to too much spam:
Filter name: WHATEVER
Rules: "TO" "contains" "[email protected]"
Actions: (i) Deliver to /mydomain/info/
(ii) Fail with message "SMTP error from remote server for RCPT TO command, host: mydomain.com reason: 550 No Such User Here"
Now I would expect that
1) the message gets stored in the INBOX of info (while I transition to a new address I still want to be able to check what arrives) and
2) the sender receives the above SMTP error message that I specified.
The email is indeed deposited into the info IBOX and a fail message is sent but it looks rather odd:
I have tried to define two separate filters, i.e., filter1 deposits the email in "subfolder" and does nothing else and sits at the top of the filter list, and then filter2 sits right below and executes the "fail with message", but the result is exactly the same, so instead of filter1 executing first (quietly without sending any message) and then filter2 executing sending the fail message, it seems that both execute at the same time and produce the double fail message. This clearly is a bug. So my question is how can I get the expected behaviour?
Thanks
P.S.: BTW this text window seems to be broken because when I click on the "code" icon </> a window pops up entitled "forum list".
Filter name: WHATEVER
Rules: "TO" "contains" "[email protected]"
Actions: (i) Deliver to /mydomain/info/
(ii) Fail with message "SMTP error from remote server for RCPT TO command, host: mydomain.com reason: 550 No Such User Here"
Now I would expect that
1) the message gets stored in the INBOX of info (while I transition to a new address I still want to be able to check what arrives) and
2) the sender receives the above SMTP error message that I specified.
The email is indeed deposited into the info IBOX and a fail message is sent but it looks rather odd:
So it seems that the fail message is included twice in the email, once when the email is stored in the info INBOX (note the "info"@mydomain" at the beginning of the first message, if I want the mail delivered it to "subfolder" instead of INBOX, this will change to "info+subfolder"@mydomain" ... how weird!), and a second time when the fail command executes. Obviously I only want 1 fail message to be included and ideally from the fail event and not from the "Deliver message to folder" event, even reveiling the folder name to the recipient (what a monumental security failure!).This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
"info"@mydomain.com
(generated from [email protected])
SMTP error from remote server for RCPT TO command, host:
mydomain.com reason: 550 No Such User Here
[email protected]
SMTP error from remote server for RCPT TO command, host:
mydomain.com reason: 550 No Such User Here
----
reporting-MTA: dns; mymailserver.com
Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0
Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0
I have tried to define two separate filters, i.e., filter1 deposits the email in "subfolder" and does nothing else and sits at the top of the filter list, and then filter2 sits right below and executes the "fail with message", but the result is exactly the same, so instead of filter1 executing first (quietly without sending any message) and then filter2 executing sending the fail message, it seems that both execute at the same time and produce the double fail message. This clearly is a bug. So my question is how can I get the expected behaviour?
Thanks
P.S.: BTW this text window seems to be broken because when I click on the "code" icon </> a window pops up entitled "forum list".
Last edited: