Hi consultant,
Vacation mail works fine till I added a spam server for filtering spam .Hence the setup is like this smtp is only opened to the outside world is through spam and all mails hit the spam server before it hits the mail server.The spam server acts as a email gateway.Now the problem is that I set out of office in mail server when I send a mail to the mail server it goes through the spam server and a mail delivery notification is thrown I have attached the error for you reference
his is the mail system at host test.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<assasin#example.com@vacation.invalid>: Host or domain name not found.
Name service error for name=vacation.invalid type=A: Host not found
Final-Recipient: rfc822; assasin#example.com@vacation.invalid
Original-Recipient: rfc822;assasin@example.com
Action: failed
Status: 5.4.4
Diagnostic-Code: X-premedia; Host or domain name not found. Name service error
for name=vacation.invalid type=A: Host not found
Spam server's host name is test.example.com
Please find the complete header information for your reference
Delivered-To: test@gmail.com
Received: by 10.229.231.201 with SMTP id jr9cs7386qcb;
Wed, 16 Jun 2010 01:32:32 -0700 (PDT)
Received: by 10.142.122.4 with SMTP id u4mr5908276wfc.202.1276677151498;
Wed, 16 Jun 2010 01:32:31 -0700 (PDT)
Return-Path: <>
Received: from test.example.com (mail.example.com [59.160.155.100])
by mx.google.com with ESMTP id s5si7268217wff.67.2010.06.16.01.32.28;
Wed, 16 Jun 2010 01:32:30 -0700 (PDT)
Received-SPF: pass (google.com: domain of test.example.com designates 59.160.155.100 as permitted sender) client-ip=59.160.155.81;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of test.example.com designates 59.160.155.81 as permitted sender) smtp.mail=
Received: by test.example.com (premedia)
id 1ACAB219A1E5; Wed, 16 Jun 2010 14:03:12 +0530 (IST)
Date: Wed, 16 Jun 2010 14:03:12 +0530 (IST)
From: MAILER-DAEMON@test.example.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: test@gmail.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="D3D00219A1DB.1276677192/test.example.com"
Content-Transfer-Encoding: 7bit
Message-Id: <20100616083312.1ACAB219A1E5@test.example.com>
This is a MIME-encapsulated message.
–D3D00219A1DB.1276677192/test.example.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host test.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<assasin#example.com@vacation.invalid>: Host or domain name not found.
Name service error for name=vacation.invalid type=A: Host not found
–D3D00219A1DB.1276677192/test.example.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; test.example.com
X-premedia-Queue-ID: D3D00219A1DB
X-premedia-Sender: rfc822; test@gmail.com
Arrival-Date: Wed, 16 Jun 2010 14:03:11 +0530 (IST)
Final-Recipient: rfc822; assasin#example.com@vacation.invalid
Original-Recipient: rfc822;assasin@example.com
Action: failed
Status: 5.4.4
Diagnostic-Code: X-premedia; Host or domain name not found. Name service error
for name=vacation.invalid type=A: Host not found
–D3D00219A1DB.1276677192/test.example.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from localhost (localhost.localdomain [127.0.0.1])
by test.example.com (premedia) with ESMTP id D3D00219A1DB;
Wed, 16 Jun 2010 14:03:11 +0530 (IST)
X-Virus-Scanned: amavisd-new at test.example.com
Received: from test.example.com ([127.0.0.1])
by localhost (test.example.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id LRSuGpMUu3y7; Wed, 16 Jun 2010 14:03:08 +0530 (IST)
Received: from mail-vw0-f53.google.com (unknown [209.85.212.53])
by test.example.com (premedia) with ESMTP id E1D04219A1A2
for <assasin@example.com>; Wed, 16 Jun 2010 14:02:10 +0530 (IST)
Received: by vws3 with SMTP id 3so1760827vws.26
for <assasin@example.com>; Wed, 16 Jun 2010 01:31:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.235.195 with SMTP id kh3mr3685311qcb.238.1276677083081;
Wed, 16 Jun 2010 01:31:23 -0700 (PDT)
Received: by 10.229.231.201 with HTTP; Wed, 16 Jun 2010 01:31:23 -0700 (PDT)
Date: Wed, 16 Jun 2010 14:01:23 +0530
Message-ID: <AANLkTilQr3dKkRR-OLqvJ1J0ReLukWKYA2fJyeimSmhp@mail.gmail.com>
Subject: test mail 2.01 from sunil.cc
From: Sunil Sankar <test@gmail.com>
To: assasin@example.com
Content-Type: multipart/alternative; boundary=001485f91b1207ad320489218c0e
–001485f91b1207ad320489218c0e
Content-Type: text/plain; charset=ISO-8859-1
–001485f91b1207ad320489218c0e
Content-Type: text/html; charset=ISO-8859-1
–001485f91b1207ad320489218c0e–
–D3D00219A1DB.1276677192/test.example.com–
But after a min I get the out of office reply from the mail server
Delivered-To: test@gmail.com
Received: by 10.229.231.201 with SMTP id jr9cs7422qcb;
Wed, 16 Jun 2010 01:33:24 -0700 (PDT)
Received: by 10.141.188.5 with SMTP id q5mr6800851rvp.82.1276677204136;
Wed, 16 Jun 2010 01:33:24 -0700 (PDT)
Return-Path: <assasin@example.com>
Received: from test.example.com (mail.example.com [59.160.155.100])
by mx.google.com with ESMTP id c16si14363128rvn.144.2010.06.16.01.33.21;
Wed, 16 Jun 2010 01:33:22 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of assasin@example.com designates 59.160.155.81 as permitted sender) client-ip=59.160.155.100;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of assasin@example.com designates 59.160.155.81 as permitted sender) smtp.mail=assasin@example.com; dkim=neutral (bad format) header.i=@example.com
Received: from localhost (localhost.localdomain [127.0.0.1])
by test.example.com (premedia) with ESMTP id 2226A219A1E5
for <test@gmail.com>; Wed, 16 Jun 2010 14:04:04 +0530 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=
example.com; h=message-id:from:from
:content-transfer-encoding:to:content-type:content-type
:precedence:mime-version:date:date:subject:subject; s=dkim; t=
1276677243; x=1277541243; bh=2h9Z3XPTj7l7uMghkJfiF/dTWGLhWLGF+/t
AbcYNkWE=; b=CNBxka/z5AKZhS2kZQiVzPpny8qm0XWkt0YQtgAkc+HKGJ6TnFl
k1dU3TbWSNevB1VH83J7tlr/dQq03Q44CT2Gs2aYMWrI+v7U83YS5CkQi17N98CD
LFaa94fcMcDslyQcSWK5a3JzGlMI2DwKAJFnkC6usWGN+OgnOzLAQmFA=
X-Virus-Scanned: amavisd-new at test.example.com
Received: from test.example.com ([127.0.0.1])
by localhost (test.example.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id RulI2vOMsLu1 for <test@gmail.com>;
Wed, 16 Jun 2010 14:04:03 +0530 (IST)
Received: from mail.example.com (unknown [172.16.1.55])
by test.example.com (premedia) with ESMTP id E3AA5219A1A2
for <test@gmail.com>; Wed, 16 Jun 2010 14:03:12 +0530 (IST)
Received: from mail.example.com (localhost.localdomain [127.0.0.1])
by mail.example.com (Postfix) with SMTP id 8D14DE480BE
for <test@gmail.com>; Wed, 16 Jun 2010 14:02:09 +0530 (IST)
Subject: I am out
Date: Wed, 16 Jun 2010 14:02:09 +0530
X-Loop: Postfix Admin Virtual Vacation
Mime-Version: 1.0
Precedence: junk
Content-Type: text/plain; charset=UTF-8
To: test@gmail.com
Content-Transfer-Encoding: base64
From: assasin@example.com
Message-Id: <20100616083209.8D14DE480BE@mail.example.com>
b3V0IG9mIG9mZmljZSB0ZXN0IHJlcGx5IDI6MDAgcG0NCg0KICAgICAgICAgICAg
Any entry needs to be added to the spam server.