Solved

Why mails turned to bad mails using smtp relay?

Posted on 2014-02-12
6
466 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 42

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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

627 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