Goodday,
For a mailserver i have to read all bouncing mails that my mailserver sends. When a bounce occurs i recieve a response with sometimes a SMTP error response like 550 mailbox not found.
This is not always the case for bouncing emails sent by my own SMTP server, when for example the emailaddress is unroutable. I get a pretty non verbose response code and sometimes none at all.
Update
An example of a bouncing email:
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:
ronancndjsnc@hotmail.com
SMTP error from remote mail server after RCPT TO:<ronancndjsnc@hotmail.com>:
host mx4.hotmail.com [65.55.33.135]: 550 Requested action not taken:
mailbox unavailable
------ This is a copy of the message, including all the headers. ------
Another example:
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:
ronanvbounce@myowndomain.com
------ This is a copy of the message, including all the headers. ------
As you can see the mail sent by myowndomain.com has a blank response. They both bounce because there is no mailbox found.
My question is: Is it possible for my mailserver at myowndomain.com to be more verbose when it comes to generating the response code for a bounce mail? And if so how do I set this with Exim or Postfix or any other SMTP software?