Solved

Why mails turned to bad mails using smtp relay?

Posted on 2014-02-12
6
460 Views
Last Modified: 2014-02-26
This is using w2k8 r2 iis smtp relay to use office 365 mail server. There are few printers, 1 navisions server, and 1 application using bugzilla, all pointing to this smtp relay for sending mails.

On smtp relay, it was configured with smtp port 587 with tls, and using one admin account - administrator. I did a quick test :

   - telnet smtp_ip 25
  - helo
  - mail from: administrator@abc.com
  - rcpt to: user@otherdomain.com
  - data
  - this is a clear test
  .
  - quit

 Mail can sent out no problem. The problem is on this bugzilla appln, in which mail ended as bad mail. The error message is: 550 5.7.1 clint do not have permissions to send as its sender.

What is the problem?

Thsnks
0
Comment
Question by:MichaelBalack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39855057
Hi all,

On bugzilla appln, please see few settings on mailing:

  From: bugzilla@abc.com
  Smtp: smtp_ip

On iis smtp relay:

  Clear text authentication: administrator@abc.com
   Password: password
   Allow whole office network for connection and relay.

The office 365 account - administrator, has a primary mailbox named administrator@abc.com, plus bugzilla@abc.com as well.
0
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39855420
So bugzilla@abc.com and administrator@abc.com are two different mailboxes? If this is the case, have you granted the necessary Send As/Send on behalf permissions?
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39855538
Bugzilla@ and administrator@ are the same mailbox belong to administrator.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 39861044
You shouldn't need to run the email from Bugzilla through your relay -- because Bugzilla has the ability to send TLS by itself.

Jeff
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 500 total points
ID: 39861052
But... if you still want to, then you need to configure your RELAY server's permissions.  Just because Office365 knows that its okay for bugzilla@ to send mail on behalf of administrator@, your Relay Server doesn't know and it's getting confused.

See http://www.o365info.com/2013/01/smtp-relay-in-office-365-environment.html for details on this.
0
 
LVL 1

Author Closing Comment

by:MichaelBalack
ID: 39891172
It works
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question