-
How should I configure an account as "no reply"? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 6 replies
-
Currently this is only possible by creating a Sieve script. |
Beta Was this translation helpful? Give feedback.
-
Do you have an example for this? And some steps on how I can configure it ? Thanks |
Beta Was this translation helpful? Give feedback.
-
I solved a similar task using a sieve script.
The script may be scheduled to be run in RCPT-TO stage (Settings-->SMTP->Incoming->RCPT Stage). PS: use at own risk, I'm still a beginner using sieve script |
Beta Was this translation helpful? Give feedback.
-
@infrequently in the UI console under /settings/smtp-in-rcpt/edit I can only see the "Run Script" which is accepting a sieve script, but it doesn't like the example you provided. It shows the error: Invalid variable or function name "require" |
Beta Was this translation helpful? Give feedback.
-
I've defined the sieve stript in the Sieve-> scripts page with id "noreply". Now how am is supposed to reference it from /settings/smtp-in-rcpt/edit? cause if I just add that script id in the "Run Script", it doesn't work. The page shows the error: Invalid variable or function name "noreply" |
Beta Was this translation helpful? Give feedback.
-
I've added the 'noreply' in the Run Script field of the Inbound -> RCPT TO Stage, run some tests, but I am still seeing the emails reaching the no-reply account: My sieve script: require ["envelope"];
I've also tried with a version created by chatgpt but still no luck... |
Beta Was this translation helpful? Give feedback.
-
The only sieve related logs I can see in the mail server logs are : could these be the reason why my no reply script is not working ? Or is something else? |
Beta Was this translation helpful? Give feedback.
-
@mdecimus do you have any idea what am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
-
@ghevge Take a look at this example, you need to use the |
Beta Was this translation helpful? Give feedback.
@ghevge Take a look at this example, you need to use the
reject
command instead.