Trouble Receiving Emails from Microsoft Exchange - email

When people try and send me emails from Microsoft Exchange, they get this error. I don't really deal with email servers and I have no idea where to start though. Is this problem our side or their side? Or how would I go about fixing this issue?
Delivery has failed to these recipients or groups:
'email#example.com' (email#example.com)
The server has tried to deliver this message, without success, and has stopped trying. Please try sending this message again. If the problem continues, contact your helpdesk.
Diagnostic information for administrators:
Generating server: company.com
email#example.com
Remote Server returned '550 4.4.7 QUEUE.Expired; message expired'
Original message headers:
Received: from company.com (10.0.0.9) by
company.com (10.0.0.9) with Microsoft SMTP Server (TLS) id
15.0.913.22; Mon, 16 Mar 2015 09:31:06 -0700
Received: from company.com ([fe80::795b:ac34:abcd:4825]) by
company.com ([fe80::795b:ac34:abcd:4825%12]) with mapi id
15.00.0913.011; Mon, 16 Mar 2015 09:31:06 -0700
From: John Doe
To: "'email#example.com'"
Subject: Any Random Subject
Thread-Topic: Any Random Subject
Thread-Index: AdBgBpfb1zC+ceABSy6pPCro6aJlsA==
Date: Mon, 16 Mar 2015 16:31:05 +0000
Message-ID:
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-vipre-scanned: 005461CE0096480054631B
x-originating-ip: [10.0.0.138]
Content-Type: multipart/mixed;
boundary="_004_d0873b00554f4a82a311cf02472b1080WCEX1wilcoxconstruction_"
MIME-Version: 1.0

Your key text is
"Remote Server returned '550 4.4.7 QUEUE.Expired; message expired'"
Try goggling on the "message expired" to help determine the exact cause.
https://social.technet.microsoft.com/Forums/exchange/en-US/00e9468e-84c8-43f9-9bfd-95a71320f15b/550-447-queueexpired-message-expired-?forum=exchangesvrgenerallegacy

Related

Mail delivery failed: returning message

We got a server with mails and several clients send us this issue can somebody help with this issue?
subject: Mail delivery failed: returning message to sender
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:
elise.dullers#spectrumstudent.be
SMTP error from remote mail server after end of data:
host ASPMX.L.GOOGLE.COM [2a00:1450:4013:c00::1b]:
550-5.7.1 [2a01:7c8:aaaa:3e7::1] Our system has detected that this message does
550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and
550-5.7.1 authentication. Please review
550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more information
550 5.7.1 . z13si75087edl.403 - gsmtp
------ This is a copy of the message, including all the headers. ------
Return-path: Received: from
109.131-67-87.adsl-dyn.isp.belgacom.be ([87.67.131.109] helo=[192.168.1.55]) by server.ireto.be with esmtpa (Exim 4.83)
(envelope-from ) id 1egDid-0005am-Ee for
elise.dullers#spectrumstudent.be; Mon, 29 Jan 2018 18:59:48 +0100
SavedFromEmail: info#beringsetaxi.be Date: Mon, 29 Jan 2018 18:59:44
+0100 Subject: Re: Kostprijs taxi In-Reply-To:
Importance: normal From: info To: Elise Dullers
MIME-Version: 1.0 Content-Type:
multipart/alternative;
boundary="--_com.samsung.android.email_2340489603438420"
----_com.samsung.android.email_2340489603438420 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64

Gmail alias does not receive email

I have read (https://support.google.com/mail/answer/12096?hl=en) that any Gmail account can receive emails for its plus alias.
So for account#gmail.com when I send email to alias+account#gmail.com
I receive following reply:
Delivery to the following recipient failed permanently:
alias+account#gmail.com
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain nabastu.cz by aspmx.l.google.com. [2607:f8b0:4001:c0e::1b].
The error that the other server returned was:
550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1 https://support.google.com/mail/answer/6596 u32si667450ioi.23 - gsmtp
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=rV2o3HVMVpR5MzzOppyyRucNhMlqT6oztVlsvvbztMY=;
b=g3Wl9gFGh0YR5IHnkD8E9o4PITh9PRE5TUyHPKt7/spToDsItGQKuKKLKn6iUgkyDG
rqEmGC/jGVIP2z2T1cbSjAvJS5nl2Ti5khtUhZs2C8LddJEtGrRxZDCuFYdObBK9dUWU
1o0oYHQNEhC4WROuUWp25NFNKv45Tz4XMgWl90T1ZBsWHRczZIAk0EGbwxz6kG20PhEv
1r/a7/dnYshjVJOfDUvwg5gSF8zd2mZ8/DspuqALbkeRJCVpMGSL+jp1XmH18U8cPFRd
bVJ4y7HDTOqsVfF1urWbk8OMDNhycR/94ZvickFQ39MMRgX4tNNZj7reQdbWOSzR38uV
0YLw==
MIME-Version: 1.0
X-Received: by 10.107.135.30 with SMTP id j30mr46117827iod.148.1448720587099;
Sat, 28 Nov 2015 06:23:07 -0800 (PST)
Received: by 10.79.67.134 with HTTP; Sat, 28 Nov 2015 06:23:07 -0800 (PST)
Date: Sat, 28 Nov 2015 15:23:07 +0100
Message-ID: <CABdkat6ymw=nv3WbPZOgnpdq2vC+FhF0Q7VXqLJ2GzcUdX43CQ#mail.gmail.com>
Subject: Alias
From: bankify bankify <my.account#gmail.com>
To: alias+account#gmail.com
Content-Type: multipart/alternative; boundary=001a113ec64af9129a05259a8b25
test
Do I need to enable something? Or this functionality is no longer available?
You need to put it the other way around, so instead of alias+account#gmail.com, use account+alias#gmail.com.

Postfix thinks the system email is local

I installed Postfix on an Ubuntu 14.04 server running Nginx. While I was installing it, I put the system email as 'info#mydomain.com' not realising that it would now think that this was a local mailbox. This email address is a gmail account and so the server needs to look at the MX records.
I'm guessing what is happening is that it sees that its a local address and just sends it locally. I sent a test with:
echo "This is the body of the email" | mail -s "This is the subject line" info#mydomain.com
And sure enough in /var/mail/root there was a message:
From MAILER-DAEMON Wed Sep 30 19:05:59 2015
Return-Path: <>
X-Original-To: root#mydomain.com
Delivered-To: root#mydomain.com
Received: by mydomain.com (Postfix)
id 5D29F1249E9; Wed, 30 Sep 2015 19:05:59 -0400 (EDT)
Date: Wed, 30 Sep 2015 19:05:59 -0400 (EDT)
From: MAILER-DAEMON#mydomain.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: root#mydomain.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="52BC21249E1.1443654359/mydomain.com"
Message-Id: <20150930230559.5D29F1249E9#mydomain.com>
This is a MIME-encapsulated message.
--52BC21249E1.1443654359/mydomain.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host mydomain.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
<info#mydomain.com>: unknown user: "info"
--52BC21249E1.1443654359/mydomain.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mydomain.com
X-Postfix-Queue-ID: 52BC21249E1
X-Postfix-Sender: rfc822; root#mydomain.com
Arrival-Date: Wed, 30 Sep 2015 19:05:59 -0400 (EDT)
Final-Recipient: rfc822; info#mydomain.com
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "info"
--52BC21249E1.1443654359/mydomain.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: <root#mydomain.com>
Received: by mydomain.com (Postfix, from userid 0)
id 52BC21249E1; Wed, 30 Sep 2015 19:05:59 -0400 (EDT)
Subject: This is the subject line
To: <info#mydomain.com>
X-Mailer: mail (GNU Mailutils 2.99.98)
Message-Id: <20150930230559.52BC21249E1#mydomain.com>
Date: Wed, 30 Sep 2015 19:05:59 -0400 (EDT)
From: root#mydomain.com (root)
This is the body of the email
--52BC21249E1.1443654359/mydomain.com--
I'm not sure how I can get the server to send the emails to the right place? Should I change the system email to something random?
I'm guessing that you've probably got the machine installed with mydomain.com as the hostname and so Postfix is configured to think it's answering email for mydomain.com. You probably want to edit your /etc/postfix/main.cf and remove your domain from the mydestination line there. (And then restart Postfix.)

Numerous emails saying "Failure Notice"

I've been frequently receiving emails with the subject line "failure notice" and I've included one example below.
Should I be concerned about this and what, if any actions do I have available, as it looks like my email address is being used as the return path.
Note I have changed the details sightly to "mydomain.co.uk", the email that is not mine to "removed_not_my_email#yahoo.com" and my email to "my_email#mydomain.co.uk"
Hi. This is the qmail-send program at mydomain.co.uk.
I tried to deliver a bounce message to this address, but the bounce bounced!
<removed_not_my_email#yahoo.com>:
98.136.217.202 failed after I sent the message.
Remote host said: 554 delivery error: dd This user doesn't have a yahoo.com account (removed_not_my_email#yahoo.com) [0] - mta1335.mail.gq1.yahoo.com
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 9093 invoked for bounce); 12 Mar 2014 11:08:39 +0100
Date: 12 Mar 2014 11:08:39 +0100
From: MAILER-DAEMON#mydomain.co.uk
To: removed_not_my_email#yahoo.com
Subject: failure notice
Hi. This is the qmail-send program at mydomain.co.uk.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<moggiex#gmail.com>:
173.194.68.26 failed after I sent the message.
Remote host said: 552-5.7.0 This message was blocked because its content presents a potential
552-5.7.0 security issue. Please visit http://support.google.com/mail/bin/answe
552-5.7.0 r.py?answer=6590 to review our message content and attachment content
552 5.7.0 guidelines. s4si12659992qan.75 - gsmtp
--- Below this line is a copy of the message.
Return-Path: <removed_not_my_email#yahoo.com>
Received: (qmail 9089 invoked by uid 110); 12 Mar 2014 11:08:37 +0100
Delivered-To: mydomain.co.uk-my_email#mydomain.co.uk
Received: (qmail 9083 invoked from network); 12 Mar 2014 11:08:37 +0100
Received: from triband-del-59.177.226.218.bol.net.in (59.177.226.218)
by mydomain.co.uk with SMTP; 12 Mar 2014 11:08:32 +0100
Received: from apache by sdsgtchsccutvijfsjftr. with local (Exim 4.63)
(envelope-from <removed_not_my_email#yahoo.com>)
id YMVXBT-G78HLB-XN
for <my_email#mydomain.co.uk>; Wed, 12 Mar 2014 15:38:31 +0530
To: <my_email#mydomain.co.uk>
Subject: Image has been sent my_email
Date: Wed, 12 Mar 2014 15:38:31 +0530
From: "Evernote service" <removed_not_my_email#yahoo.com>
Message-ID: <7CC92FB2B133AA0F3984DE6BA6E33439#sdsgtchsccutvijfsjftr.>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
etc...
There is no verification on the sender in SMTP. Anyone can send email from whatever emailadress they can think of.
Spam & malware is distributed using this fact. Circumventing certain spamfilters because the sender-address/return-path seems legitimate.
The notice that 'content presents a potential 552-5.7.0 security issue' could mean that an executable was attached. Maybe harmless, but probably a virus or malware.
Not nice, but also not much you can do about it.
To avoid your email address being used, in the future, as source of this practice, protect your email address.
Don't post it on webpages in clear.
Use a temporary emailaddress when subscribing to sites and or mailinglists.

How to get the SMTP response in CACHE

I want to retrive the SMTP response after sending the mail.
I need to fetch the response for the send mail (whether its send properly or not)
The response must be like this
Return-path:
Envelope-to: ap#smartsnipe.com
Delivery-date: Fri, 12 Dec 2008 23:54:57 -0500
Received: from pool-98-109-89-94.nwrknj.fios.verizon.net ([98.109.89.94] helo=Andy-PC)
by server.4wtech.com with esmtp (Exim 4.69)
(envelope-from )
id 1LBMWn-0005BH-7u
for ap#smartsnipe.com; Fri, 12 Dec 2008 23:54:57 -0500
Date: Sat, 13 Dec 2008 04:55:09 UT
From: itgigs#4wtech.com
Subject: Web Deverloper Internship (SoHo) (955259288 )
To: ap#smartsnipe.com
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
How can i retrieve the SMTP response? Please help me
This does not look like an SMTP response to me, as an SMTP response would be of the form "XXX some message". What you copied in your question is the log output that the mail server writes out when accepting and delivering the message.
If you are on a Unix system and have access to /var/log, you're likely to find a file in there called mail.log or maillog which contains the info you were looking for.