LoginLogin  Blog About
Search:

Support » Knowledge Base » Help Desk »

Filtering of mailer-daemon notifications

When an email message cannot be delivered at the specified address, most mail servers automatically respond to the sender with a notification of the delivery failure. Such notifications contain technical diagnostic information.

To avoid appearance of such messages in the request list, WebAsyst Help Desk ignores them as they are not sent by customers and never require response. Should you, however, desire to to receive and view the contents of such notifications, connect to the email box, which is set up WebAsyst Help Desk, using any email client through the IMAP protocol. This email delivery protocol allows viewing email messages stored on a mail server without interfering with normal operation of WebAsyst Help Desk.

You can also make all such notifications displayed in the request list together with ordinary customer requests. To do so, delete, comment out, or modify the following fragment of code in file published/ST/lib/actions/requests/STRequestsCheck.controller.php:

if (($address && $email == $params['email']) || preg_match('/mailer-daemon@/ui', $from)) {
  return -1;
}

Note: Modification of the source code is available only to owners of the open-source scripts of WebAsyst Help Desk.