Hey there,
I did register an Mail-Handler (had a view discussions about that here https://talk.plesk.com/threads/extension-dev-handling-mails.338811/) and today morning I played with the "PASS" and "REJECT" output.
Quickly an question raises: How can I pass a custom Message for the reasen about REJECT the mail into the "Undelivered Mail Returned to Sender" Mail?
Currently there's just the standard header and the text "Message can't be delivered".
I tryed the "LOG" but that is just logging, the message dont appear in the mail.
	
	
	
		
Would be nice to add a message to "REJECT" like it is possible with LOG
	
	
	
		
Or am I missing the right way to do so?
				
			I did register an Mail-Handler (had a view discussions about that here https://talk.plesk.com/threads/extension-dev-handling-mails.338811/) and today morning I played with the "PASS" and "REJECT" output.
Quickly an question raises: How can I pass a custom Message for the reasen about REJECT the mail into the "Undelivered Mail Returned to Sender" Mail?
Currently there's just the standard header and the text "Message can't be delivered".
I tryed the "LOG" but that is just logging, the message dont appear in the mail.
		Code:
	
	echo "REJECT" >&2
echo "$originalmail"
exit 0
	Would be nice to add a message to "REJECT" like it is possible with LOG
		Code:
	
	# LOG reject reason
echo "LOG Your spamming to much messages within a timerange of 5 Minutes"
# Write REJECT and reason
echo "REJECT Your spamming to much messages within a timerange of 5 Minutes"
	Or am I missing the right way to do so?